• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Build error after adding a new scenery model to my project.

Messages
1,840
Country
australia
[modified after 'experimenting']

After creating a new scenery model and adding the folder containing the .gltf, .bin and .xml files (created by the Asobo exporter in Blender) to my modellib folder and the associated texture files to the texture folder, when I load the project in SDK project editor and do a build I get an error.
When I remove the new scenery model from the modellib folder I don't get the error.
The build complains that it can't find the .gltf in the _PackageInt/_tempfiles folder (see image below).

It now appears that all the errors are the result of the error "... has an invalid triangle mode, only triangle lists are supported"

I found that 'invalid triangle' can be corrected by using MESH CLEANUP > DELETE LOOSE and MESH CLEANUP > DECIMATE DISSOLVE.

HOWEVER I have a really WEIRD situation. My (complex) scenery object was created with 2 separate Blender files (to keep things separate and for my piece of mind). I found that the invalid triangle error was related to just ONE of those 2 separate 'parts'. I then corrected this blender file and was able to build it (the single part) without error.

If I export each of the separate blender files into 2 separate 'objects' (.gltf, .bin, '.xml etc) and place them into the modellib folder and build there are NO ERRORS.

HOWEVER if I append the 2 separate blender files into 1 blender file and export when I use the single scenery in my modellib and build I get the error!

I prefer to have a single scenery object as having my scenery object in 2 separate objects means I have to place 2 separate 'models' to the correct position instead of only one. Very annoying.

Any ideas how I can create a single scenery object from the three blender files and not get the "invalid triangle mode" error?


BUILD_ERROR.jpg
 
Last edited:
Back
Top