FSDeveloper Community

Go Back   FSDeveloper Community > Microsoft Flight Simulator development > Scenery Design - Airport Design > BGLComp XML, AFCAD, SceneGenX

BGLComp XML, AFCAD, SceneGenX Use this forum to discuss issues related to airport design with BGLComp XML code or design tools supporting this format (for example SceneGenX, AFCAD)

Reply
 
Thread Tools Display Modes
  #1  
Old 12 Dec 2011, 13:15
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,790
Send a message via Skype™ to arno
XML extrusion bridge

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?
__________________
Arno
If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper Administrator | Former Microsoft FS MVP
Quick links: My tools | Wiki | Download center | Blog
Reply With Quote
  #2  
Old 12 Dec 2011, 20:44
scott967 scott967 is offline
  us-hawaii
Location: PHHI-Hawaii
Join Date: Feb 2005
Posts: 1,265
Arno --

do you mean the bridge is an overpass?





scott s.
.
Reply With Quote
  #3  
Old 12 Dec 2011, 21:54
ollyau ollyau is offline
  us-california
Join Date: Jan 2008
Posts: 450
Not to derail the thread, but I've never seen an extrusion bridge used like that before- quite creative!
Reply With Quote
  #4  
Old 13 Dec 2011, 15:15
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,790
Send a message via Skype™ to arno
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:



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
If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper Administrator | Former Microsoft FS MVP
Quick links: My tools | Wiki | Download center | Blog
Reply With Quote
  #5  
Old 15 Dec 2011, 13:09
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,790
Send a message via Skype™ to arno
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.
Attached Thumbnails
Click image for larger version

Name:	Image2011-12-14 1914.19.240.jpg
Views:	124
Size:	48.1 KB
ID:	11177  
__________________
Arno
If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper Administrator | Former Microsoft FS MVP
Quick links: My tools | Wiki | Download center | Blog
Reply With Quote
  #6  
Old 15 Dec 2011, 18:21
scott967 scott967 is offline
  us-hawaii
Location: PHHI-Hawaii
Join Date: Feb 2005
Posts: 1,265
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.
.
Reply With Quote
  #7  
Old 16 Dec 2011, 14:38
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,790
Send a message via Skype™ to arno
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.
__________________
Arno
If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper Administrator | Former Microsoft FS MVP
Quick links: My tools | Wiki | Download center | Blog
Reply With Quote
  #8  
Old 21 Dec 2011, 18:51
ge0fy5's Avatar
ge0fy5 ge0fy5 is offline
  ca-quebec
Location: CYJN
Join Date: May 2011
Posts: 44
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
__________________
Franki, Your french-Canadian friend
Reply With Quote
  #9  
Old 22 Dec 2011, 13:04
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,790
Send a message via Skype™ to arno
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.
__________________
Arno
If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper Administrator | Former Microsoft FS MVP
Quick links: My tools | Wiki | Download center | Blog
Reply With Quote
  #10  
Old 22 Dec 2011, 13:30
ge0fy5's Avatar
ge0fy5 ge0fy5 is offline
  ca-quebec
Location: CYJN
Join Date: May 2011
Posts: 44
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
__________________
Franki, Your french-Canadian friend
Reply With Quote
  #11  
Old 22 Dec 2011, 13:35
ge0fy5's Avatar
ge0fy5 ge0fy5 is offline
  ca-quebec
Location: CYJN
Join Date: May 2011
Posts: 44
SBuilderX doesn't work on my computer i don't understand why!!
__________________
Franki, Your french-Canadian friend

Last edited by ge0fy5; 22 Dec 2011 at 13:41.
Reply With Quote
  #12  
Old 22 Dec 2011, 20:11
ge0fy5's Avatar
ge0fy5 ge0fy5 is offline
  ca-quebec
Location: CYJN
Join Date: May 2011
Posts: 44
this work, so i going to try a litle bit
__________________
Franki, Your french-Canadian friend
Reply With Quote
  #13  
Old 23 Dec 2011, 20:18
ge0fy5's Avatar
ge0fy5 ge0fy5 is offline
  ca-quebec
Location: CYJN
Join Date: May 2011
Posts: 44
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
__________________
Franki, Your french-Canadian friend
Reply With Quote
  #14  
Old 24 Dec 2011, 03:11
arno's Avatar
arno arno is offline
  netherlands
Location: Amsterdam
Join Date: May 2004
Posts: 18,790
Send a message via Skype™ to arno
Hi,

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

Code:




   
      
      
   
   
      
      
      
      
      
   
   
      
   


This version compiles fine. You need to have BGLComp to compile it.
__________________
Arno
If the world should blow itself up, the last audible voice would be that of an expert saying it can't be done.

FSDeveloper Administrator | Former Microsoft FS MVP
Quick links: My tools | Wiki | Download center | Blog
Reply With Quote
  #15  
Old 24 Dec 2011, 09:03
ge0fy5's Avatar
ge0fy5 ge0fy5 is offline
  ca-quebec
Location: CYJN
Join Date: May 2011
Posts: 44
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
__________________
Franki, Your french-Canadian friend
Reply With Quote
  #16  
Old 24 Dec 2011, 09:24
ge0fy5's Avatar
ge0fy5 ge0fy5 is offline
  ca-quebec
Location: CYJN
Join Date: May 2011
Posts: 44
The bridge is here but i have some irregularity.



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.
__________________
Franki, Your french-Canadian friend
Reply With Quote
  #17  
Old 24 Dec 2011, 09:33
Golf-HotelDelta Golf-HotelDelta is online now
  unitedkingdom
Location: Harton Village
Join Date: Dec 2004
Posts: 7,928
You are not on the bridge, you are about 20 metres to the right.
__________________
George
Reply With Quote
  #18  
Old 24 Dec 2011, 09:40
mmann mmann is offline
  ca-britishcolumbia
Join Date: Apr 2010
Posts: 414
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}" >
__________________
Mike Mann
Reply With Quote
  #19  
Old 24 Dec 2011, 10:07
ge0fy5's Avatar
ge0fy5 ge0fy5 is offline
  ca-quebec
Location: CYJN
Join Date: May 2011
Posts: 44
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.
__________________
Franki, Your french-Canadian friend
Reply With Quote
  #20  
Old 24 Dec 2011, 12:37
Golf-HotelDelta Golf-HotelDelta is online now
  unitedkingdom
Location: Harton Village
Join Date: Dec 2004
Posts: 7,928
You are correct, only road traffic will drive over extrusion bridges.
__________________
George
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with extrusion bridge pierrot1951 Ground2k4, SBuilder, SBuilderX 5 04 Aug 2010 17:13
Exclude extrusion bridge EssieP FSX KML 0 01 Jul 2009 13:20
Extrusion Bridge point limit? scott967 BGLComp XML, AFCAD, SceneGenX 10 01 Dec 2008 14:51
Extrusion bridge error airmonkey FSX KML 3 23 Oct 2007 10:48
Extrusion Bridge Mac FSX KML 1 02 Jul 2007 19:46


All times are GMT -4. The time now is 19:59.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.