Resolve "Display scaling not working correctly"
Checked all forms to make sure they also work correctly when display scaling in Windows is not 100%.
Closes #6754
Affected tools/features: ModelConverterX, Severity::bug, UI, scenProc
Fixed deployment to NuGet feed
Deploy script issues
Fixed two issues in deploy script
Fixed typo in pipeline dependency for deploy
Build NuGet packages
Generate NuGet packages from the ASToFra libraries so that other developers can use them in their applications as well. For more information see this project with examples: https://gitlab.com/scenerydesign.org/astofra-developer-examples
Resolve "Translate tool snap to ground"
In the move dialog added a button that will calculate the Z value so that the bottom of the object is snapped to ground level.
Closes #6747
Affected tools/features: ModelConverterX, Severity::feature-request, editor
Resolve "System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')"
Made reading of conditions from SCASM and FS2004 MDL/BGL files more robust.
Closes #6752
Affected tools/features: ModelConverterX, Severity::bug, reader
Use optimized EmguCV package
Use the optimized EmguCV package to improve performance of image processing functions.
Affected tools/features: scenProc
Resolve "System.ArgumentException: Caract�res non conformes dans le chemin d'acc�s."
When reading textures from GLB files ensure that the name does not contain illegal characters on Windows.
Closes #6751
Affected tools/features: ModelConverterX, Severity::bug, reader
Resolve "Give objects in MSFS package more clear names"
When exporting a MSFS scenery package, the names of the object folders in the modelib folder are now derived from the object name, instead of using the package name with an index number. When the scenery contains multiple objects with the same name, they get a index number suffix to ensure the names are unique.
Closes #6750
Affected tools/features: ModelConverterX, Severity::feature-request, writer
Resolve "Scale transform show bounding box size"
In the scale dialog not only show the minimum and maximum bounding box values after scaling, but also show the bounding box size after scaling. This makes it easier to determine the right scale for a desired object size.
Closes #6748
Affected tools/features: ModelConverterX, Severity::feature-request, editor
Resolve "FS2004 style GUID in MSFS XML output"
Made sure the MSFS XML output uses the GUID style with curly brackets.
Closes #6749
Affected tools/features: ModelConverterX, Severity::bug, writer
Resolve "Support EXT_meshopt_compression"
Reading glTF objects that use the EXT_meshopt_compression extension is now supported by ModelConverterX. This extension is supported in standard and in MSFS2024 glTF files.
Closes #6731
Affected tools/features: ModelConverterX, Severity::feature-request, reader
Upgrade to .NET 8.0
Upgraded all tools to use .NET 8.0 instead of .NET Framework 4.8.
Closes #6744
Affected tools/features: ModelConverterX, scenProc
Fixed issues reading MSFS 2024 MDL files
Fixed a number of issues in reading MSFS 2024 MDL file.
Affected tools/features: ModelConverterX, Severity::bug, reader
Resolve "Read MSFS 2024 MDL file"
Made sure that MSFS 2024 MDL files, which contain compressed glTF binary data are also read correctly.
Closes #6708
Closes #6710
Affected tools/features: ModelConverterX, Severity::feature-request, reader
Resolve "Light simmetry vs symmetry"
Made sure that glTF files write the has_symmetry attribute correctly for lights. When reading the has_simmetry attribute is still supported for backwards compatibility.
Closes #6742
Affected tools/features: ModelConverterX, Severity::bug, reader, writer
Resolve "System.ArgumentException: Requested value 'Always' was not found."
Made X reader more robust for invalid enuneration values, when encountered the default value of that attribute is used instead.
Closes #6741
Affected tools/features: ModelConverterX, Severity::crash, reader
Quadratic error LOD Creator improvements
Improvements to the quadratic error LOD creator algotihm. Not only consider the average vertex for collapsing edges, but also the start, end and optimal vertex. The one with the smallest error is selected for the collapse.
Added additional weight factors for open edges and texture mapping discontinuities to take these aspects into account in the simplification as well.
Closes #416
Affected tools/features: ModelConverterX, editor
Scenery Object Editor merge action
Renamed "Add object" to "Merge scenery" in the Scenery Object Editor to make clear that this function can be used to merge two sceneries.
Affected tools/features: ModelConverterX, editor
Performance optimization reading X file
Improved performance while reading (large) X files by improving the vertex optimization of the mesh.
Affected tools/features: ModelConverterX, reader
Resolve "System.IndexOutOfRangeException: L'index se trouve en dehors des limites du tableau."
Made sure that glTF reader can read color information from both 3 and 4 component vectors.
Closes #6738
Affected tools/features: ModelConverterX, Severity::crash, reader
Resolve "System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.Parameter name: index"
Fixed crash when reading X-Plane OBJ file that only specifies one value for ATTR_LOD. In this case a near value of 0 is now assumed.
Closes #6737
Affected tools/features: ModelConverterX, Severity::crash, reader
Resolve "Add option to export glTF file without model XML file"
Changed option to specify if model XML file should be written so that 3 possible values can be configured now: Yes, No, WhenNotExists.
Closes #6735
Affected tools/features: ModelConverterX, Severity::feature-request, writer
Resolve "Add batch operator to change attached light parameters"
Added new batch operator "Emissivity multiplication" to allow batch multiplication of material emissive factor and attached light strength parameters. This is useful when converting models between MSFS 2020 and MSFS 2024.
Closes #6736
Affected tools/features: ModelConverterX, Severity::feature-request, editor
LOD Creator performance optimizations
Performance optimalizations to let the vertex clustering and quadratic based error LOD creators work much faster.
Closes #236
Affected tools/features: ModelConverterX, Severity::bug, editor
Resolve: "Colors in MSFS 2020 darker"
Fixed bug after recent MSFS 2024 changes that resulted in textures not showing correctly in MSFS anymore. The UV tiling options had a wrong default value.
Closes #6733
Affected tools/features: ModelConverterX, Severity::bug, writer
Resolve "MSFS light not shown in MCX"
Support MSFS 2024 ASOBO_street_light extenion while reading and writing glTF files.
Closes #6703
Affected tools/features: ModelConverterX, Severity::feature-request, reader
Code cleanup Utils
Code cleanup of Utils assembly.
Resolve "X file MeshVertexColors"
Made sure that the X reader can process both the P3D and the Standard MeshVertexColors template.
Closes #6732
Affected tools/features: ModelConverterX, Severity::crash, reader
Restructure test cases
Restructured test cases and added code coverage to more tests. Also show coverage results in Gitlab now.
Removed code smells
Removed code smells based on code quality analysis.
Code cleanup
Performed code cleanup to reduce dependencies and to remove old code that was no longer relevant. Also renamed some DLL files to have more consistent names.
Deployment script typo
Fixed another type in deployment script
Fixed deployment script
Fixed another type on the deployment script
Fixed mistake in deployment script
Fixed mistake in deployment script
Replace Ionic.Zip
Replaced 3rd party library used to handle ZIP files by build in .NET functionality
Affected tools/features: ModelConverterX, scenProc
Error reporting model.cfg
Include the model.cfg file in error reports that are uploaded when it exists. Some reported issues happen while parsing this file and can't be reproduced now.
Affected tools/features: ModelConverterX
Test dependencies
Modified the test cases so that they depend on less projects to speed up building and testing.
Affected tools/features: ModelConverterX, scenProc
Resolve "Write texture XML from material editor"
Added option to the material editor to write the MSFS 2024 texture XML files when saving textures.
Closes #6725
Affected tools/features: ModelConverterX, Severity::feature-request, editor
.NET SDK projects
Updated the projects to the .NET SDK format and get more 3rd party libraries using NuGet.
This change does not any new functionality, but it allows the usage of more recent .NET/C# code in the future.
Affected tools/features: ModelConverterX, scenProc