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

RefluentBlock74 avatar image
RefluentBlock74 asked FlyingRaccoon commented

SimObjects LOD size discrepancy (Started after SU V)

Hi,

We are having problems with the LOD's and how the object size calculation (As shown in LOD debug) changes under certain conditions. We have a set of vehicles that are added into the sim as a SimObject(Using LW). If we use just a single LOD, all our objects load fine in the sim. But as soon as I try to add another LOD, all my vehicles disappear from the sim. This was working perfectly fine before the SU V, and we had LOD changes at our wanted distances. But it is no more the case.

Upon looking at the LOD debug from the dev menu, I was able to spot a very peculiar change in the "Size" parameter inside the LOD debug as I add or remove the LOD. Please see the pictures.


This first picture represents the object with just a single LOD. As you can see, my object displays fine and the LOD debug menu shows me a Size of the object at 141, which seems appropriate as compared with other objects.

screenshot-13.jpg


However, as soon as I add another LOD, this size suddenly changes to an extremely small value (2 as in the picture) and my object is no longer visible in the sim. I had to enable Force active LOD to see my object. The other LOD is just a triangle located at the center of the scene with no materials/animations or anything. It is supposed to be displayed when the user is far away from the object.screenshot-12.jpg


This is how my XML looks like.screenshot-14.jpg

Is there any thought on what is wrong and how we can achieve a good LOD system in SU V. I originally posted this issue here when SU V beta started, thinking of it as a jetways bug, but it turned out to be different than that. Any help is appreciated!

https://devsupport.flightsimulator.com/questions/1069/jetways-disappeared-in-performance-plus-beta.html


buganimation
screenshot-13.jpg (812.4 KiB)
screenshot-12.jpg (761.5 KiB)
screenshot-14.jpg (24.7 KiB)
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.

Richie81 avatar image
Richie81 answered

ASOBO any help on this subject please?

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.

FlyingRaccoon avatar image
FlyingRaccoon answered

Hello.

I don't see anything wrong in your xml and we don't have this issue on our SimObjects.
Can you provide me with your package so I can see what's happening?

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.

RefluentBlock74 avatar image
RefluentBlock74 answered FlyingRaccoon commented

Hi, Thanks for your reply, test object is attached along with some details as a private comment. Looking forward to hearing your observations regarding this. Thank you!


Regards,

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.

Hi @RefluentBlock74

I wasn't able to see your object at LFPG but I spawned it in one my scenery and was able to see your LOD1.

1630491382544.png

I'm not sure to understand what the issue is here...
You added a LOD1 which basically is on purpose a small triangle at ground level so it makes sense you struggle to see it (especially as it z-fights with ground) and having a small debug size value makes sense as it's a small triangle.

Maybe I'm missing something here but the behaviour I observe is the one I expect.

Regards,
Sylvain

0 Likes 0 ·
1630491382544.png (33.7 KiB)

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.