Re: RFC: Taxiway/Apron heuristics
"Curtis L. Olson" <[email protected]>
| Newsgroups | gmane.games.flightgear.terragear.devel |
|---|---|
| Message-ID | <[email protected]> |
Jon Stockill wrote:
>If it grows then the hole polygon generated with the new airport will take
>account of this - so there should be no overlap when the scenery is
>generated. What will cause a problem is where there's an area which was
>covered by the original airport (and hole), but not the new one (either
>because the airport has shrunk, or because something's moved).
>
>
Perhaps I'm not following you here. You should remove anything in
Work/AirportAreas and Work/AirportObj related to any airport you
regenerate. Then you should never have a problem with matching up with
the surrounding terrain when it is generated. I typically do large
chunks at a time so it's easy to blow everything away in
Airport{Area,Obj} before rerunning the genapt util. And of course you
need to rebuild the scenery *after* generating the airports. And watch
out for the shared data. You probably want to toast all of that before
rebuilding an area, otherwise you could possibly run into problems at
the tile boundaries depending on which tiles own the shared data and
which order you rebuild the tiles.
Curt.
--
Curtis Olson Intelligent Vehicles Lab FlightGear Project
Twin Cities [email protected] [email protected]
Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org