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

Extrusion Bridges

fs1

Messages
302
Country
argentina
I have been looking at the BGL format on Extrusion Bridges in the wiki

When looking at the polylines points, the altitude values for the mid points show very high values > 3000.

After reading Arno's post on how to calculate the offset displacement, it does not make any sense these values that are so high (visually the bridge is 60 feet tall).

I am working with P3D and I am at Sea Level in this case.

Any hints or insights on this ?

Thanks !
 
Last edited:
I found the answer maybe here

Do I need to divide that value by 1000? Also to calculate the average height you need to exclude the end negative values?

Thanks
 
Yes, that document indicates the altitude is stored in 1/1000 meters as integer. So you need to divide by 1000.

Why you want to exclude the end points?
 
Well, maybe I misunderstood your article.
So you need to keep them to calculate the offset, correct?
 
The article is about creating bridges, when you read them from existing file you can just keep the values as they are.
 
Just one last question: what do the 3 DWORD for altitude sample location 1 and 2 mean? Thanks
 
For each bridge two positions are specified for which the altitude is sampled. The altitude specified is relative to the line between these points.
 
Thanks. So how do you calculate the height of the bridge ? Or the height of each part ? Thanks
 
I'm not sure I understand your question. What are you trying to achieve?
 
Hi,

It's hard to tell the agl height at any point of the bridge, as it depends on the terrain elevation.

But if you ignore the terrain elevation you could just use the elevation of the different points and subtract the average elevation to compensate for the weird offset that FS introduces.
 
But if you ignore the terrain elevation you could just use the elevation of the different points and subtract the average elevation to compensate for the weird offset that FS introduces.
Thanks Arno. So, just to understand: this is done with the BGL data as described in the wiki? Correct?
 
Yes, but if you have a bridge over a canyon or so the height agl for some parts will be different of course. Not sure if that's relevant for your application.
 
Back
Top