plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

Please take a moment to read the platform’s guidelines before you get started!


For HUDs issues management, please read the article here !

question

virtuali avatar image
virtuali asked Thalixte edited

How to tweak LODs in realtime.

I wonder how's the best method to tweak LODs for an object in the editor.

It seems no matter what, every change to LODs will require a simulator restart to be completely effective, things I tried are:

- Changing the MinSize values for the object XML <LODs> section seems to trigger some kind of reload in the Console, but the LOD debug doesn't show any changes in the LOD switching values, they are still the original ones when the sim loaded first.

- Re-exporting all .GLFT, triggers a recompile in the Console, but no changes in LODs.

- Adding/Removing LOD levels seems to trigger a weird behavior, as if preference is given to lowest LODs.

- Using both the "Build" button or the "Rebuild" or "Rebuild All" options in the projects still don't update LOD settings

- Closing the Project and re-opening and loading the airport asset doesn't update LOD too.

- Going back to the Main Menu and reloading the Project doesn't seem to change, and in some cases result in a CTD with no errors.

The ONLY thing that seems to always reliably update LOD settings, is restarting the sim.


Is there a better way to tweak LOD settings ?

Ideally, just editing the object XML file with new values, should trigger an immediate reload of the object with new updated LODs. Since tweaking LOD is an highly visual and interactive process, having to restart the sim each time to be sure what you see is what you get, is really not feasible, and will only result in products using LOD not tuned as best they could, because it was too impractical to refine them better.

scenery
1 comment
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Yes. I second that. A more flexible way to play with Lods in addons would be of a great benefit.

What would also be helpful to me would be an option that tells the sim that the Lods parameters (the minSize parameter) is static, and are not inferred by the Lod settings that the user modify in the graphics option menu. The problem here is that i always test my LODs with an object LOD setting set to 100 (standard) in the graphics option menu. But if a user set it to 200, it can change the perfs and resource consumption (the amount of vertices, drawcalls, VRAM and RAM usage, CPU and GPU load...) due to the way Lods are displayed in the game.

Having an option to tell the sim: hey ! Please always display the Lods in my scenery the same whatever the settings of the user could be of a great utility.

0 Likes 0 ·

1 Answer

· Write an Answer
FlyingRaccoon avatar image
FlyingRaccoon answered

Hello.

This is also an issue internally and we already have a task for it.
No ETA though.

Regards,
Sylvain

10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.