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

XML extrusion bridge

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Hi all,

I have been experimenting a bit with XML extrusion bridges. One item I am missing for making viaducts is to have a grass slope on the bridge. Here in the Netherlands most bridges will have a grassy slope while the road is climbing. Does anybody know if such a type is available in FSX?
 

ollyau

Resource contributor
Messages
1,026
Country
us-california
Not to derail the thread, but I've never seen an extrusion bridge used like that before- quite creative! :p
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Hi Scott,

Yes, can be an overpass like that. But even if it is just a bridge over water, it will in many times have a grass slope in real life. For example this image:

640px-2007-04-23_10.40_Zwolle%2C_brug_over_de_IJssel_op_de_weg_naar_Hattem.JPG


As you can see at both ends there is grass. In FSX the extrusion bridges don't have this at all. I guess in the perfect world your terrain mesh would include these elements, but that is not always the case of course.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Hi,

I did some trials with SBuilderX using a sloped flatten and a XML bridge. This comes quite close to what I was looking for.
 

Attachments

  • Image2011-12-14 1914.19.240.jpg
    Image2011-12-14 1914.19.240.jpg
    48.1 KB · Views: 659
Messages
1,268
Country
us-hawaii
My general recipe is like this:

1 Measure alt at bridge crossing, and at ends of desired embankment.
2 Add 4.9m to crossing height for overpass elevation
3 Create 2 rectangular (or trapezoid as desired) flattens on each side for the embankment. The outer flatten is sloped from the "end" elevation to the "crossing + 4.9" elevation., then the inner flatten is level at "crossing + 4.9" elevation.
4 Create extrusion bridge with endpoints on the two (one on each end) "flat" flattens. For two-land bridge I use Width 16 and Altitude 1.75.
5 In my ini I use ExtraExtrusionAltitude=-10M

Results I guess are sensitive to FSX mesh settings, though I haven't tested in detail.

scott s.
.
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Hi Scott,

I did alter the elevation detail slider and even when it turned it down quite a bit it still looked OK. So I think the mesh setting does not influence it too much.
 
Messages
44
Country
ca-quebec
hi, i read some topic to try to create a extrusion bridge. But i don't understand how you do. My projet is to make a bridge ( he dosn't exist in reality) and a use a a bridge in bridge library in fsx, and than you can go land or drive on it.

i make my scenery on ADE


answer me quickly,

sorry for my bad englais, is not my prymairy language
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Hi,

I did not use ADE, so I don't know if it supports extrusion bridges. I used SBuilderX to make the bridge. Then it is just a matter of clicking the path of the bridge and selecting the right type.
 
Messages
44
Country
ca-quebec
oki i going to use your program, but i don't understand how do you do the extrution, bridge ton road ou land on them
 
Messages
44
Country
ca-quebec
SBuilderX doesn't work on my computer :(:(:( i don't understand why!!
 
Last edited:
Messages
44
Country
ca-quebec
so tried to code a xml code to a extrusion bridge, but i don't how if is good and how to compile them.

here is the code :

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<FSData
   version="9.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="bglcomp.xsd">

<ExtrusionBridge
   instanceId="{79b64a78-ceb3-41e1-820a-01a749b47503}"
   probability="0.14"
   suppressPlatform="TRUE"
   imageComplexity="Very_Sparse"
   roadWidth="12.0"
   extrusionProfile="{8aaabdf2-4496-483a-8df1-86ea13aa950d}"
   materialSet="{7ed5603a-d17a-4246-bc3d-baadea6909fa}"
   <AltitudeSampleLocationList>
      <AltitudeSampleLocation  lat="NN44 49.49" lon="E0 2.909"/>
      <AltitudeSampleLocation  lat="N44 49.426" lon="E0 2.908"/>
   </AltitudeSampleLocationList>
   <PolylinePointList>
      <PolylinePoint latitude="N44 49.547"   longitude="E0 2.903"     altitude="0.00"/>
      <PolylinePoint latitude="N44 49.49"    longitude="E0 2.909"   altitude="1.00"/>
      <PolylinePoint latitude="N44 49.47"    longitude="E0   2.91"    altitude="2.50"/>
      <PolylinePoint latitude="N44 49.426"   longitude="E0 2.908"     altitude="1.00"/>
      <PolylinePoint latitude="N44 49.376"   longitude="E0 2.908"     altitude="0.00"/>
   </PolylinePointList>
   <PolylineObjectPlacementList>
      <PolylineObjectPlacement id="{b2cbfca5-88f0-451a-b089-b1f551d13cc2}"/>
   </PolylineObjectPlacementList>
</ExtrusionBridge>

</FSData>

thank you for answer me quickly and help me :)
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Hi,

Two small mistakes in the code, here is a corrected version:

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<FSData
   version="9.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="bglcomp.xsd">

<ExtrusionBridge
   instanceId="{79b64a78-ceb3-41e1-820a-01a749b47503}"
   probability="0.14"
   suppressPlatform="TRUE"
   imageComplexity="VERY_SPARSE"
   roadWidth="12.0"
   extrusionProfile="{8aaabdf2-4496-483a-8df1-86ea13aa950d}"
   materialSet="{7ed5603a-d17a-4246-bc3d-baadea6909fa}" >
   <AltitudeSampleLocationList>
      <AltitudeSampleLocation  lat="NN44 49.49" lon="E0 2.909"/>
      <AltitudeSampleLocation  lat="N44 49.426" lon="E0 2.908"/>
   </AltitudeSampleLocationList>
   <PolylinePointList>
      <PolylinePoint latitude="N44 49.547"   longitude="E0 2.903"     altitude="0.00"/>
      <PolylinePoint latitude="N44 49.49"    longitude="E0 2.909"   altitude="1.00"/>
      <PolylinePoint latitude="N44 49.47"    longitude="E0   2.91"    altitude="2.50"/>
      <PolylinePoint latitude="N44 49.426"   longitude="E0 2.908"     altitude="1.00"/>
      <PolylinePoint latitude="N44 49.376"   longitude="E0 2.908"     altitude="0.00"/>
   </PolylinePointList>
   <PolylineObjectPlacementList>
      <PolylineObjectPlacement id="{b2cbfca5-88f0-451a-b089-b1f551d13cc2}"/>
   </PolylineObjectPlacementList>
</ExtrusionBridge>

</FSData>

This version compiles fine. You need to have BGLComp to compile it.
 
Messages
44
Country
ca-quebec
ok thank Armo, but can you explain me, what is my mistake, i'm sorry i'm curious, but i went to understand my mistake
 
Messages
44
Country
ca-quebec
The bridge is here but i have some irregularity.

2011122491733127.jpg


but i have a another problem. i doesn't have a platform to drive on hit on land on it so why?? i went it.
 
Messages
604
Country
ca-britishcolumbia
Your two errors were as follows:

Your line: imageComplexity="Very_Sparse"
Correct line: imageComplexity="VERY_SPARSE"

Your line: materialSet="{7ed5603a-d17a-4246-bc3d-baadea6909fa}"
Correct line: materialSet="{7ed5603a-d17a-4246-bc3d-baadea6909fa}" >
 
Messages
44
Country
ca-quebec
ok, yeah, on the photo, i'm not on the bridge, but went i tested, i go on the bridge and i fall on the water.
 

GHD

Messages
12,243
Country
england
You are correct, only road traffic will drive over extrusion bridges.
 
Top