Re: [Flightgear-devel] svg2ac
here is a screenshot of another airport (CYYZ - Toronto):http://flamebunny.homelinux.net/pics/CYYZ-1.jpgCurt do you think that svg2ac can be a good addition to Terragear. Maybe having svg2ac would make some features in svg2ac more performant, and it might make more sense to have it in there. What do you think? Julien
Re: [Flightgear-devel] svg2ac
Ampere K. Hardraade wrote: Curt, must TerrorGear be used if we want to make use those accurate taxiways from the airport diagrams? You can do what ever you like, however you like. I was just offering this up as one suggestion since it is a solvable problem and TerraGear includes one possible approach. I'm sorry TerraGear seems so intimidating, but it's a complex set of code created to solve some really difficult problems. Curt. -- Curtis Olsonhttp://www.flightgear.org/~curt HumanFIRST Program http://www.humanfirst.umn.edu/ FlightGear Project http://www.flightgear.org Unique text:2f585eeea02e2c79d7b1d8c4963bae2d --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] svg2ac
On Monday 27 February 2006 18:53, Curtis L. Olson wrote: > In TerraGear we avoid the polygon rendering problems you are seeing by > doing a delauney triangulation ourselves and throwing away everything > outside the polygon boundary. It would likely be a lot of effort on > your part to do the same thing, but it is a technique that will work. > Sometimes you have to drag out the power tools to solve some of the > nastier problems. The good news is that it's only triangles ... :-) > > Curt. Curt, must TerrorGear be used if we want to make use those accurate taxiways from the airport diagrams? Ampere --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] svg2ac
Julien Pierru wrote: Tiago and I have been working on a svg to ac converter to create airports from pdf files. Most of it is done, however we still have 2 problems, the first is that the code can't at the moment produce the accurate location of the origin (lat/long) and the second is that most of the polygons making the buildings are non convex, thus the ugly result in the following screenshot. http://flamebunny.homelinux.net/pics/KSFO-4.jpg Also svg2ac automatically fetches the altitude of the buildings from a running FG via telnet. In TerraGear we avoid the polygon rendering problems you are seeing by doing a delauney triangulation ourselves and throwing away everything outside the polygon boundary. It would likely be a lot of effort on your part to do the same thing, but it is a technique that will work. Sometimes you have to drag out the power tools to solve some of the nastier problems. The good news is that it's only triangles ... :-) Curt. -- Curtis Olsonhttp://www.flightgear.org/~curt HumanFIRST Program http://www.humanfirst.umn.edu/ FlightGear Project http://www.flightgear.org Unique text:2f585eeea02e2c79d7b1d8c4963bae2d --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
Re: [Flightgear-devel] svg2ac
Well we have an SVG parser that reads the input svg file and extract the polygons for the keywords buildings, runways & taxiways. The vertices are then stored and duplicated to create the "roof". The side polygons are computed by duplicating again 2 consecutive nodes that form an edge. The altitude is fetched from a running session of FlightGear via telnet for the location of the center of each building. All the coordinates are then converted to meters using the 4 Lat/Long lines present in the SVG file and then the Lat/Long coordinates of the origin is obtained, this is needed in the .stg file. That's pretty much it. I recently tried a new airport (Toronto, CYYZ) given by Ampere, it looked pretty good besides the two problems presented in the previous email.
Re: [Flightgear-devel] svg2ac
On Friday 24 February 2006 01:59, Julien Pierru wrote: > Tiago and I have been working on a svg to ac converter to create airports > from pdf files. > Most of it is done, however we still have 2 problems, the first is that the > code can't at the moment produce the accurate location of the origin > (lat/long) and the second is that most of the polygons making the buildings > are non convex, thus the ugly result in the following screenshot. > > http://flamebunny.homelinux.net/pics/KSFO-4.jpg > > Also svg2ac automatically fetches the altitude of the buildings from a > running FG via telnet. > > Julien This is great news! :D Hopefully, you would find the solutions for your problems soon. How does it work, by the way? Ampere --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] svg2ac
Tiago and I have been working on a svg to ac converter to create airports from pdf files. Most of it is done, however we still have 2 problems, the first is that the code can't at the moment produce the accurate location of the origin (lat/long) and the second is that most of the polygons making the buildings are non convex, thus the ugly result in the following screenshot. http://flamebunny.homelinux.net/pics/KSFO-4.jpg Also svg2ac automatically fetches the altitude of the buildings from a running FG via telnet. Julien