- Messages
- 25
- Country

(Cross posting from Airport Design forum)
Hi all,
I'm using BGL2XML to get specific airport details then render the taxiways and parking locations in a program I've written (VB6/OpenGL). The gates come out fine but the taxiway paths are a mess of spaghetti and looking at the data I think it's because the TaxiPath nodes have no 'breaks' in them. There are several for EGSS that wander all over the airport without a break and you can see the results in these screen grabs. There doesn't seem to be any info in the TaxiwayPoints or TaxiwayPaths to say "don't draw me" so I'm baffled as to how to supress the 'linkages' that make it all go wrong.
I think I'm using the TaxiwayPoints and TaxiwayPaths nodes correctly in as much as I'm rendering each discreet TaxiwayPath as a complete object before 'popping' the OpenGL matrix and starting afresh with a new one, but I just can't see how to chop up the lines in the data so that I don't get the spaghetti.
Does anyone have any idea what I'm doing wrong? Thanks! (there's a link to the corresponding XML file below the pictures).
Gates
Taxiways
(I'm only rendering TAXI and PATH nodes from the XML).
XML (link to XML file for EGSS)
Thanks for any input or advice!
Regards
Ian
Hi all,
I'm using BGL2XML to get specific airport details then render the taxiways and parking locations in a program I've written (VB6/OpenGL). The gates come out fine but the taxiway paths are a mess of spaghetti and looking at the data I think it's because the TaxiPath nodes have no 'breaks' in them. There are several for EGSS that wander all over the airport without a break and you can see the results in these screen grabs. There doesn't seem to be any info in the TaxiwayPoints or TaxiwayPaths to say "don't draw me" so I'm baffled as to how to supress the 'linkages' that make it all go wrong.
I think I'm using the TaxiwayPoints and TaxiwayPaths nodes correctly in as much as I'm rendering each discreet TaxiwayPath as a complete object before 'popping' the OpenGL matrix and starting afresh with a new one, but I just can't see how to chop up the lines in the data so that I don't get the spaghetti.
Does anyone have any idea what I'm doing wrong? Thanks! (there's a link to the corresponding XML file below the pictures).
Gates
Taxiways
(I'm only rendering TAXI and PATH nodes from the XML).
XML (link to XML file for EGSS)
Thanks for any input or advice!
Regards
Ian
