Resolve "Blur prop issue"
Improved reading of model definitions from modeldef.xml and makemdl.parts.xml file so that exporting to FS2004 is more robust with only FS2004 installed.
Closes #6851
Affected tools/features: ModelConverterX, Resolution::unable to duplicate, Severity::bug, reader
Resolve "KTX texture flipped"
Fixed issue that ModelConverterX did flip the texture mapping when importing KTX2 textures, because the texture image itself was being loaded flipped.
Closes #6852
Affected tools/features: ModelConverterX, Severity::bug, reader
Resolve "Sort select object list alphabetically"
Make sure the select object list during import of BGL files is sorted alphabetically.
Closes #6855
Affected tools/features: ModelConverterX, Severity::feature-request, editor
Resolve "OBJ light exported with comma"
Ensure all values in a X-Plane OBJ file are written with a dot, even when the decimal character on the computer is a comma.
Closes #6854
Affected tools/features: ModelConverterX, Severity::bug, writer
Resolve "FS2004 mouse rectangle issue"
Fixed issue that not all mouse rectangles were exported to a FS2004 MDL file.
The issue was partly caused by certain model parts being lost due to the FS2004 MakeMDL 4 mm weld limitation. To prevent this issue that FS2004 Unlimited Export tweak has been implemented (the tweaks for the 4 mm weld limit, those for the the 65k limit still have to be implemented).
Also fixed a bug that caused a long delay after the export finished due to adding the MakeMDL compilation log to the event log. Now this happens much quicker.
#6384
Closes #6850
Affected tools/features: ModelConverterX, Severity::bug, reader, writer
Resolve "KMZ in Convert and Place Wizard error"
Fixed crash during texture conversion in Convert and Place Wizard.
Closes #6853
Affected tools/features: ModelConverterX, Severity::crash, editor
Resolve "Only import selected objects from BGL"
Added option to select with objects to load from a BGL file. When this option is active you get an additional dialog where you can select which objects to load into ModelConverterX. For big library BGL files this reduces the load time and memory usage.
Closes #6849
Affected tools/features: ModelConverterX, Severity::feature-request, reader
Resolve "MSFS Asobo_Props.BGL slow to load"
Fix bug that optimizing objects with bones could get stuck in an endless loop. Also fixed issue that some objects from MSFS_Asobo_Props.bgl file could not be loaded since support for skin and bone animations has been added.
Closes #6847
Affected tools/features: ModelConverterX, Severity::bug, reader
Resolve "Add reverse animation button to animation editor"
Added button to the animation editor to reverse all currently selected animations.
Closes #6845
Affected tools/features: ModelConverterX, Severity::feature-request, editor
Resolve "Select by area"
Allow selecting multiple nodes in the selection mode by dragging an area with the mouse.
This also means that dragging and rotating the preview in selection mode is no longer supported, this can only be done in the navigation mode now.
Closes #6840
Affected tools/features: ModelConverterX, Severity::feature-request, visualisation
Crash preview select
Fixed crash when selecting a part in a model where no textures have been loaded.
Resolve "Filter which materials to apply template to"
Added filter options to the apply material template batch operator, so that it can be configured to which materials from the object the template should be applied. You can for example filter the materials based on the DisplayName and DiffuseTexture, checking if these attributes are equal to or contain a certain text.
Closes #6846
Affected tools/features: ModelConverterX, Severity::feature-request, editor
Resolve "Support model attachments in glTF"
Added support for MSFS attached models (as defined in the model XML file). They are shown in ModelConverterX as AttachedModels in the attached object editor and the preview can render them. ModelConverterX can read them from the model XML file and does also write them to the model XML file on export.
Closes #6828
Affected tools/features: ModelConverterX, Severity::feature-request, editor, reader, visualisation, writer
Fix preview control bug fixes
Applied some bug fixes to ModelConverterX that were reported by another developer using the preview control in his application.
Resolve "Issues reading 0 kB texture file"
Made texture loaders more robust so that a 0 kB texture file does not result in errors, instead the texture is reported as failed to read now.
Closes #6843
Affected tools/features: ModelConverterX, Severity::bug, reader
Resolve "Jetway exported incorrectly"
Fixed some issues exporting FSX/P3D jetway models
Closes #6370
Affected tools/features: ModelConverterX, Severity::bug, writer
Resolve "Use bone pose matrix when exporting to MDL"
When exporting to a MDL file, which does not store a bone pose matrix, ensure that the correct pose is part of the mesh geometry. This ensures that skin and bone animated objects imported from formats like glTF or FBX can also be exported correctly to MDL files.
Also added a material template to set the skinned mesh attribute of the material to true when the material is used on a part that has bone weights.
Closes #6818
Affected tools/features: ModelConverterX, Severity::bug, writer
Fixed mistake in deploy pipeline
Resolve "Build as self contained application"
Build and deploy ModelConverterX and scenProc as self contained applications, which means that the required .NET version is part of the application now and does not have to be installed by the users.
As part of this change LibraryCreatorXML and FXEditor have been integrated into ModelConverterX and scenProcBatchRunner and scenProcWorker have been integrated into scenProc.
Closes #6839
Affected tools/features: ModelConverterX, Severity::feature-request, scenProc
Add MOB difference tool
Added MobDiff tool to visually compare two MOB files. This tool is not part of the ModelConverterX release and is only used to help debugging while developing ModelConverterX.
Add ModelConverterX Object (MOB) format
Added new ModelConverterX Object (MOB) format that can be used to export the internal ModelConverterX representation of an object to file and also import it again. This can be useful if you want to store the state of your object without exporting to one of the flight simulator formats. If the embed texture option is selected the textures of the objects are also stored in the format.
Affected tools/features: ModelConverterX, Severity::feature-request, reader, writer
Resolved: "FBX export animations"
Added feature to export animations to the FBX format via Assimp. Both node animations and skin and bone animations are supported.
When the object has been loaded from a MDL or BGL file, animation export is only possible with the export animations license (similar to how glTF animation export works).
Affected tools/features: ModelConverterX, Severity::feature-request, writer
Resolve "Write skin and bones to glTF"
Added support to write skin and bone animations to glTF files.
The bones and skin weights are always exported. For exporting the bone animations the same restrictions apply as for exporting animations to glTF files.
Closes #5776
Affected tools/features: ModelConverterX, Severity::feature-request, writer
Resolve "Read skin and bones from glTF"
Added support to read skin and bone animations from glTF files. glTF files processed by the MSFS package tool do sometimes have parts that use skin and bone animations that are still displaced. This is because the package tool does add some optimization that I don't fully understand yet. This will hopefully be solved in the future.
Closes #5761
Closes #6834
Affected tools/features: ModelConverterX, Severity::feature-request, reader
Resolve "MDL parts with wrong scale"
Fixed issue that certain MDL parts got wrong scaling in scenegraph optimization.
Closes #6837
Affected tools/features: ModelConverterX, Severity::bug, reader
Resolve "Option to include alpha in unwrap texture"
Added extra checkbox to the unwrap texture creator form that determines if the alpha channel of the original texture is copied to the unwrap texture.
Closes #6833
Affected tools/features: ModelConverterX, Severity::feature-request, editor
Resolve "System.ComponentModel.Win32Exception while starting process with link or file
Fixed issue that opening external links and files from the tools did sometimes give an error because the existing code was not compliant with the latest .NET version.
Closes #6835
Affected tools/features: ModelConverterX, Severity::crash, scenProc
Resolve "Parts displaced after scenegraph optimization"
Fixed bug in object scenegraph optimization that could result in parts being displaced.
Closes #6832
Affected tools/features: ModelConverterX, Severity::bug
Resolve "redistributable error"
Added option to disable the redistributable check in ModelConverterX (at start up and before using compilers like XtoMDL) to be able to proceed (at own risk) when the check gives a false error.
Closes #6816
Affected tools/features: ModelConverterX, Severity::bug, writer
Resolve "Texture resize function is slow"
Performance improvements to the texture resize function. This function is e.g. used to generate mip maps when the input texture does not contain them. Therefore this optimisation will speed up loading a new model in the preview.
Closes #6831
Affected tools/features: ModelConverterX, Severity::bug
Resolve "Emissive color not shown in preview"
Update the shader of the ModelConverterX preview to use the emissive color of the object as well. For PBR materials the rendering mimics MSFS, for non-PBR materials it mimics FS2004. FSX and P3D do not store the emissive color in the MDL file, so this feature is less relevant for these simulator versions.
Closes #6820
Affected tools/features: ModelConverterX, Severity::bug, visualisation
Resolve "Remove close button from options form"
Remove the close button from the Options and Texture search path forms to force users to use the OK or Cancel button to close it. When pressing the close button (X) at the top, changes were not saved.
Closes #6815
Affected tools/features: ModelConverterX, Severity::feature-request, UI
Resolve "Animation editor text missing"
Made sure that the full text of all buttons in the animation editor is shown correctly.
Closes #6825
Affected tools/features: ModelConverterX, Severity::bug, UI, editor
Resolve "CTD loading model"
Fixed endless loop in logic to search for textures that occurred when texture.cfg files have a circular reference. This endless loop resulted in a CTD of ModelConverterX.
Closes #6830
Affected tools/features: ModelConverterX, Severity::crash, reader
Resolve "Long animation tweak bug"
Fixed issue that applying long animation tweak to a FS2004 MDL file without animations would result in an invalid MDL file that could not be loaded anymore.
Closes #6821
Affected tools/features: ModelConverterX, Severity::bug, writer
Resolve "redistributable error"
When checking for the C++ 2005 redistributable that the FSX XtoMDL needs, allow both the RTM and the SP1 version. This is a workaround for users where the RTM version can be installed, but the SP1 version gives an error.
Closes #6816
Affected tools/features: ModelConverterX, Severity::bug, writer
Resolve "Export texture with UV mapping"
Added an unwrap texture creator function that can generate an unwrap texture based on the loaded object. It can be opened via the special tools menu or via the texture tab context menu in the material editor.
Closes #1439
Affected tools/features: ModelConverterX, Severity::feature-request, editor
Removed code quality warnings
Added more checks for potential code quality issues to the build pipeline. And applied fixed for certain common issues.
Resolve "Model zoom/orientation not correct"
Fixed bug in scenegraph optimization that resulted in attached object being displaced (especially for FS2004 aircraft), which resulted in the initial zoom/orientation to be calculated wrong.
Closes #6819
Affected tools/features: ModelConverterX, Severity::bug, reader
Roslynator
Added Roslynator code quality checker to the build pipeline.
Resolve "Aircraft shown as transparent"
Fixed issue that entire model was shown transparent when loading certain FS2004 aircraft models. There was an issue in the way that ModelConverterX combined the diffuse colour alpha value with the texture.
Closes #6817
Affected tools/features: ModelConverterX, Severity::bug, reader
Resolve "Read skin and bones from FBX"
Added support to read skin and bone animations from the file formats that are read via the Assimp library (COLLADA, FBX, ...).
Closes #5753
Affected tools/features: ModelConverterX, Severity::feature-request, reader
Resolve: "Crash after loading empty model XML file"
Fixed a crash that would happen when a model XML file was loaded that contained no valid objects and therefore returned an empty scenery.
Affected tools/features: ModelConverterX, Severity::crash, reader
Resolve: "Crash loading incomplete glTF"
Fixed crash when loading a glTF model that only has the BIN file and is missing the glTF file.
Affected tools/features: ModelConverterX, Severity::crash, reader
Updates of NuGet packages
Updated various NuGet packages, including Assimp, GDAL and EmguCV, to their latest version.
Closes #6805
Affected tools/features: ModelConverterX, scenProc
Resolve "Normalize all model textures at once"
Allow items from the scenegraph node context menu in the hierarchy editor to be selected when multiple nodes are selected. This way operations like normalize texture coordinates, flip texture coordinates, smooth shade, etc. can also be performed on multiple nodes at once.
Also added an option so that the texture coordinates of the entire model can be normalized directly on import of a model.
Closes #6811
Affected tools/features: ModelConverterX, Severity::feature-request, editor
Resolve "Add rotate with wind tweak"
Added Rotate with wind tweak that can be selected when exporting a FS2004 scenery MDL like the other tweaks. It will automatically rotate the object in the wind direction.
Closes #6812
Affected tools/features: ModelConverterX, Severity::feature-request, writer