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

SOLVED - BGL2XML - Taxipath Spaghetti?

Messages
25
Country
england
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

1533747067525.jpeg


Taxiways
(I'm only rendering TAXI and PATH nodes from the XML).

1533747092124.jpeg


XML (link to XML file for EGSS)

Thanks for any input or advice!

Regards

Ian
 
Last edited:
Mystery solved.

For anyone else who stumbles into this, it was entirely my fault. I was using BGL2XML correctly to generate the XML for an airport but I was mis-interpretting the the "Start" and "End" attributes in the TaxiwayPath nodes. I was taking them to be a range of TaxiwayPoints (eg 19 to 90), however I now realise that each TaxiwayPath is a single line between just two TaxiwayPoints. In this example it would join point 19 to point 90, not yield a list of line segments joining 19 to 20, 20 to 21... all the way to 89 to 90.

Regards

Ian
 
Thanks for posting your update Ian. I am pleased it is working now
 
Back
Top