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!


question

pyreegue avatar image
pyreegue asked Boris_ commented

LightRow Mesh LOD Limit?

It appears that objects placed as LightRows have limited LOD distances no matter the size of the object or value set in XML. As you can see here the street lights don't show up beyond the red line, but as I'm moving the camera they appear one by one, which looks particularly weird during a standard approach. lightrow-lod.pnglightrow-lod-2.png

scenery
lightrow-lod.png (2.5 MiB)
lightrow-lod-2.png (2.5 MiB)
3 comments
10 |10000

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

Boris_ avatar image Boris_ ♦♦ commented ·

Hello @pyreegue ,


Can you share with us your light preset and your gltf/bin/xml? See 3) Provide Private Content


As you can see in this screenshot, I'm pretty far from the airport and the lights are still visible even though the custom 3D asset is no longer there.

Maybe it's just the intensity setting that's too low.

1677070200560.png

Regards,
Boris

0 Likes 0 ·
1677070200560.png (1.6 MiB)
pyreegue avatar image pyreegue Boris_ ♦♦ commented ·

Hi @Boris_, thanks for a swift response. It's not the light itself, but the mesh that is attached to a Light Row preset that has limited visibility. I placed that street light as a scenery object and it was visible from much farther away than the ones placed as light rows. I even added a massive invisible cube to increase the viewing distance but that did not help either. prg_street_light_single.zipdebug.png

0 Likes 0 ·
debug.png (2.3 MiB)
Boris_ avatar image Boris_ ♦♦ pyreegue commented ·

Hi @pyreegue ,

So we checked the code and it appears that the visibility of a light row mesh is hard-coded, regardless of what we can define in the lod section of the XML as you said above and the reason for this was to manage the memory usage of the Xbox.

Since we agree that this limitation should not be hard-coded but rather depend of the platform settings, I added this item to our backlog.

Thank you for pointing this out (and for the sample) :)

Regards,
Boris

5 Likes 5 ·

0 Answers

·

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 19.1 MiB each and 23.8 MiB total.