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 Olson http://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