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

[SOLVED] LODs - trying to set the minSize but it always using default values

Messages
84
Country
france
Hello :)

I'm working on the Lods (level of details).
I successfully exported the LOD00 / LOD01 and LOD02 , bin and gltf (by using the tips as blenderToMsfs is broken for the lods)
It works in game when I go near and far with the dev camera.

However, the LOD02 load at when we are like 20metters of the building.

- I tried to change the default value by using this:

<LOD ModelFile="bas-fun-modernhouse01_LOD00.gltf" minSize="25"/>
<LOD ModelFile="bas-fun-modernhouse01_LOD01.gltf" minSize="15"/>
<LOD ModelFile="bas-fun-modernhouse01_LOD02.gltf"/>

I even tried with lower / higher values

But it seems that MSFS2020 uses default values instead of reading mines !?


I cleaned then rebuilt the package , I restarted msfs2020, I tried to use "replace model" but it still doesn't works ( I mean it works but It wont take my custom minSize settings)

Anyone can help?

Thanks
 
Hi,

To increase the drawing distance of your current LOD, you need to reduce the MinSize of the previous LOD of which you wish to increase the drawing distance. As in this case, the requirement is to delay the rendering of LOD02, so the minSize of LOD01 needs to be decreased so it can stay on screen for longer. E.g your code will become something like this.

XML:
<LOD ModelFile="bas-fun-modernhouse01_LOD00.gltf" minSize="25"/>
<LOD ModelFile="bas-fun-modernhouse01_LOD01.gltf" minSize="5"/>
<LOD ModelFile="bas-fun-modernhouse01_LOD02.gltf" minSize="0"/>

Reduced the minSize from 15 to 5 in this case. This can be decreased further if the distance is still not far enough. Also added a minSize=0 for the last LOD just in case. Hope this helps.
 
Hi SimArc, thank you but I struggle to have an optimal loading distance for the lod01

As you can see on this short video, the lod01 load too close. I wanted to load it at 100m or more
I tried to play with minSize but it alway doesn't want to take the settings :/
 
Hi,

I can't see the video, but how big is your object? Its size will have an effect on the LOD distance. There is a tool in Developer mode inside MSFS named something like LOD debug(or similar I'm writing from memory). Turn it on and it will display a specific value on top of your model. That value determines which LOD is loaded at that time. If your model is quite small then the value will also be very less and maybe the cause of the problem
 
woooow ! Thanks to you
I was abble to view the debug about lods and it helped so so so much !

Thanks again!

I finally set my lod to 7, 2, and 0 and it works well now :)
 
Make sure you have applied any node transforms in Blender before exporting. (basically make sure there is no 'scale' entries in the gltf json).
 
Thanks for this thread, I had text on gable markers I needed to keep displayed from 1 pixel.

I set my LOD's to 1, 0.1, 0 and it works perfectly for small objects.
 
Last edited:
Back
Top