• 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.

MSFS Odd rotations with saved glTF

rhumbaflappy

Administrator
Staff member
Resource contributor
Messages
6,081
Country
us-wisconsin
I may have found another bug. With the linked example, the original glTF and textures load well. After saving, some parts are oddly translated and show this when the copy is loaded. (The uppermost railing and the 2 solar panel parts)
This is from the \asobo-airport-eg78-outskerries\scenery\outskerries\Out_Skerries.BGL
Out_Skerries_Lighthouse.zip
 
Hi Dick,

I'll have a look.
 
Hi Dick,

I can't fully reproduce the issue here yet. When I export the model myself to glTF it looks OK (the file size is also slightly different from the model you exported). Are you using the latest development release? And did you maybe change some settings from their default values?
 
This looks OK to me now. I wonder what I did to mess it up?
This started because I can extract the glTF and BIN from the modelLib bgl. But when I import that into Blender, it looses the Vertex Colors. If I import the same extracted model to MCX, the Vertex Colors are there. Somehow I got side-tracked by messing up the translation of a few parts. My fault, I'm sure.
I still can't figure out why Blender doesn't have the Vertex Color from the export... but I have to use the FlyByWire importer to get the extracted files into Blender, so the problem must be there.
 
Ok, glad to hear it's working for you as well now.
 
Here's what happened;
I had set Options|ObjectModelSettings|DisableOptimize = True (the default is False). I imported my extracted glTF with this set. After exporting with this setting, the odd translations occurred on the upper railing, and the solar panels.
 
Ok, I'll check that. Disabling all optimization is usually only for debugging, various exports expect an optimized model to start with.
 
Back
Top