Hi everybody,
I am looking for someone who has successfully made an extrusion bridge with BglComp. I studied the documentation and made the following testfile:
<?xml version="1.0"?>
<FSData version="9.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation="bglcomp.xsd" >
<ExtrusionBridge
instanceId="{aabbccdd-eeff-fefd-fcfb-f5f4f3f2f1f0}"
probability="0.5"
suppressPlatform = "FALSE"
imageComplexity = "NORMAL"
roadWidth = "5"
extrusionProfile="{FAE3ECC9-B3C0-4958-A27D-57342E3DE4E6}"
materialSet="{e84e1684-5fe3-4f0e-81ff-8ab67698edf8}">
<AltitudeSampleLocationList>
<AltitudeSampleLocation
lat = "N47.0"
lon = "W123.0"/>
<AltitudeSampleLocation
lat = "N47.1"
lon = "W123.1"/>
</AltitudeSampleLocationList>
<PolylinePointList>
<PolylinePoint
latitude = "N47.0"
longitude = "W123.0"
altitude = "3.0M"/>
<PolylinePoint
latitude = "N47.1"
longitude = "W123.1"
altitude = "3.0M"/>
<PolylinePoint
latitude = "N47.2"
longitude = "W123.2"
altitude = "3.0M"/>
</PolylinePointList>
<PolylineObjectPlacementList>
<PolylineObjectPlacement id = "{940CDD9F-BC3C-46d5-9058-ABDA37A91E7F}" />
</PolylineObjectPlacementList>
<BankShearList>
<BankShearEntry bank = "-15.0"/>
<BankShearEntry bank = "-15.0"/>
</BankShearList>
</ExtrusionBridge>
</FSData>
Bglcomp did not produce any errors - but it did not produce a bgl either. Any suggestions what I made wrong?
I just found out myself: you have to leave out the BankShearList, then you get a bgl file! Again something that should have been mentioned in the SDK documentation.
BTW, if you want to find out about the GUID's used for the extrusionProfile and the materialSet,
you can decompile the Extrusions.spb and Materials.spb in FSX Autogen folder - open it with the Autogen Configuration Editor from the SDK and save it as xml - there you have a complete list of the GUID's used and a "user friedly description" of them.
I am looking for someone who has successfully made an extrusion bridge with BglComp. I studied the documentation and made the following testfile:
<?xml version="1.0"?>
<FSData version="9.0"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation="bglcomp.xsd" >
<ExtrusionBridge
instanceId="{aabbccdd-eeff-fefd-fcfb-f5f4f3f2f1f0}"
probability="0.5"
suppressPlatform = "FALSE"
imageComplexity = "NORMAL"
roadWidth = "5"
extrusionProfile="{FAE3ECC9-B3C0-4958-A27D-57342E3DE4E6}"
materialSet="{e84e1684-5fe3-4f0e-81ff-8ab67698edf8}">
<AltitudeSampleLocationList>
<AltitudeSampleLocation
lat = "N47.0"
lon = "W123.0"/>
<AltitudeSampleLocation
lat = "N47.1"
lon = "W123.1"/>
</AltitudeSampleLocationList>
<PolylinePointList>
<PolylinePoint
latitude = "N47.0"
longitude = "W123.0"
altitude = "3.0M"/>
<PolylinePoint
latitude = "N47.1"
longitude = "W123.1"
altitude = "3.0M"/>
<PolylinePoint
latitude = "N47.2"
longitude = "W123.2"
altitude = "3.0M"/>
</PolylinePointList>
<PolylineObjectPlacementList>
<PolylineObjectPlacement id = "{940CDD9F-BC3C-46d5-9058-ABDA37A91E7F}" />
</PolylineObjectPlacementList>
<BankShearList>
<BankShearEntry bank = "-15.0"/>
<BankShearEntry bank = "-15.0"/>
</BankShearList>
</ExtrusionBridge>
</FSData>
Bglcomp did not produce any errors - but it did not produce a bgl either. Any suggestions what I made wrong?
I just found out myself: you have to leave out the BankShearList, then you get a bgl file! Again something that should have been mentioned in the SDK documentation.
BTW, if you want to find out about the GUID's used for the extrusionProfile and the materialSet,
you can decompile the Extrusions.spb and Materials.spb in FSX Autogen folder - open it with the Autogen Configuration Editor from the SDK and save it as xml - there you have a complete list of the GUID's used and a "user friedly description" of them.
Last edited: