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.

In the upcoming flighting, we've changed the behaviour of the content.xml file. If your addon uses this file, please read this article!

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


question

PILOTS_Development avatar image
PILOTS_Development asked rhumbaflappy answered

Invisible airport mesh causing aircraft to fall

All of the airports we have so far released have custom mesh. It's been a long journey trying to find different methods to integrate such custom mesh when running into issues that stem from the way the default mesh has a N to S integration, integrating a sheer drop seems impossible without the use of 3D fake terrain.

After running extensive tests, it seems that there is an inherent issue with default photogrammetry causing aprons, taxiways and runways to be bumpy, in some cases so much so, that it leads to the aircraft on top of the terrain layer crashing. Switching the photogrammetry off offers an instant fix, eliminating the photogrammetry via TIN exclusion polygons seems to have very little to no effect, I have no idea why this is so poorly implemented in the SDK toolset.

In the image below for instance there is an invisible terrain mesh layer that has contours that strongly deviate from the actual visible terrain profile:msfs-mesh-float-01.jpg

msfs-mesh-float-02.jpgWhen taxiing the aircraft just before this particular area at Alicante Airport, you can actually see the wheels disappear slightly into the ground, then they rise above the ground, as shown above, and shortly afterwards the aircraft falls, as if it had taxied onto a ramp that abruptly ends with much lower terrain. With photogrammetry set to OFF, there is no such issue and the custom terrain mesh is smooth in the apron, taxiway and runway areas, just as we designed and built it.

Could someone at Asobo kindly look into this and shed some light on why this invisible terrain is present, and ideally find a solution to eliminate this particular issue?

scenery
10 |10000

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

rhumbaflappy avatar image
rhumbaflappy answered

You may need to try a huge TIN exclusion.

10 |10000

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 @PILOTS_Development

I am afraid we don't have a solution for this at the moment.
The explanation is that terraforming is well suited when using regular grid terrain geometry.
But when switching to TIN, the topology is irregular as the name suggests and changes from one LOD to the next so terraforming have a different result on each LOD.
That's why you can have some holes between chunks of geometry and mismatch between what's visible and what's used for plane physics.

When creating an "exclude TIN" polygon, this just flattens the TIN but the geometry remains the same.
Eventually, we would like this exclude option to fall back to regular grid geometry, that would solve this terraforming problem. But this is not an easy thing to do.

In the meantime, I'm afraid your only option is to keep a flat geometry where the problem occurs.
You can try to adjust your terraforming empirically to see when it matches the TIN geometry the best but this will be time consuming without any guarantee of success.

Regards,
Sylvain

10 |10000

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

rhumbaflappy avatar image
rhumbaflappy answered

The default LEAL has some problems.

With photogrammetry:

leal-on.png

Without photogrammetry:

leal-off.png

There's no sinking of SimObjects (aircraft) without photogrammetry, but this large, grey, morphed object exists. I'm guessing it is caused by the default mesh.


leal-on.png (990.0 KiB)
leal-off.png (1002.0 KiB)
10 |10000

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