1
0
Fork 0
Commit graph

162 commits

Author SHA1 Message Date
curt
65ea77978f Make a couple function calls a bit more "name space friendly".
Expose a polygon function that will split up long edge lines to keep the
  max edge distance below some threshold.  This could be used for instance
  to reduce long lines in polygon area shapes so they can better follow
  the underlying terrain changes.
2004-04-08 19:20:19 +00:00
curt
f6a4951f36 Next attempt to get rid of grass. 2004-04-07 04:34:00 +00:00
curt
87cedc6fdb Oops, revert last change, displaced thresholds are included in overall
reported runway length.
2004-04-07 04:25:35 +00:00
curt
1a69225101 This patch *should* fix the "open grassy" areas at the centers of runways
with displaced thresholds.  (Not fully tested yet.)
2004-04-07 04:05:39 +00:00
curt
c8ded2eda1 Towards better airport surface simplification and smoothing. There were
several bugs in the previous try.  These changes should correct them.
2004-04-06 22:50:00 +00:00
curt
c75fa83c15 Airport lighting arrangement now factors in displaced thresholds. 2004-04-06 16:01:10 +00:00
ehofman
a71d62c859 David Luf:
The attached patches significantly quieten the output from genapts, which in it's current form resembles the universe flying by on a bad hair day   Remember chaps, console output on Windows is slooowwwwww...  Normal service may be resumed using --verbose or -v.  I've also added a short help, obtainable with --help or -h.  I've also added a couple of extra options, --airport=abcd for just generating a particular airport, and --tile=<[we]xxx[ns]xx> for generating a 1x1 degree tile.  We currently have --chunk=<[we]xxx[ns]xx> for generating a 10x10 degree chunk, and I'd like to eventually add --tile as an option to all tools that take --chunk.

This one adds the tile option to
tgvpf.

Erik Hofman:

Some small code changes for IRIX.
2004-02-26 15:33:32 +00:00
ehofman
0ec77c12c5 Make sure both TaxiDraw generated airport files and Robin Peels default database can be used without any problems. 2004-01-30 20:07:29 +00:00
curt
9eec038f19 Bevan Anderson:
Add support for generating Calvert-I/II approach lighting schemes.

Curt Olson: a couple tweaks to compile with latest simgear cvs.
2004-01-08 21:34:44 +00:00
david
30de6cb81a Get a little smarter about guessing what's an apron:
Before:

- if it's a concrete taxiway over 150 ft wide, assume it's an apron
  (confusingly called "tiedown")

After:

- if it's an asphalt or concrete taxiway over 150 ft wide, *or* if
  it has no blue taxiway lights, assume it's an apron
2003-11-30 22:03:06 +00:00
curt
e8bcdaa4d0 Updates to track recent changes in simgear. 2003-11-12 22:16:22 +00:00
curt
d64f5bdf87 Tweak to taxiway lighting names. 2003-09-23 23:08:26 +00:00
david
c4a3dbd26d Ignore generated files. 2003-09-20 11:06:14 +00:00
curt
56dfd0985d Fix a small bug in handling of x-plane data. 2003-09-05 21:03:27 +00:00
curt
53d6419b43 Give sea plane bases and heliports their proper identification. 2003-09-05 20:14:04 +00:00
curt
ff685ced13 - Add support for displaced thresholds on runways with nonprecision and visual
markings.
- Fix a couple very small alignment/sizing problems.
- Use a different texture (similar to rest) before aim points on nonprecision
  runways.  This will potentially make things easier if we want to add
  skid marks to the textures.
- Fix a couple bugs (el stupido) in precision marking generation.
2003-09-05 20:13:29 +00:00
curt
2538ac773f Added support for generating displaced thresholds (finally) :-) 2003-09-05 01:37:04 +00:00
curt
4f2528e8f7 Initial revision. 2003-09-04 02:53:40 +00:00
curt
b3e0d4b5f3 Slightly tweak size of grass area surrounding airports. 2003-09-03 22:10:51 +00:00
curt
d33d445cce Add the Utils directory to the build tree. 2003-09-03 22:10:06 +00:00
curt
028c9af689 Fix a bug that could lead to improperly positioned airports in some cases. 2003-09-03 17:09:05 +00:00
curt
5a84f39f83 Allow additional or non-standard terrain source directories to be specified
on the command line with the --terrain= option.  You can specify as many as you like.  Directories specified on the command line will take precidence over
the default directories and the directories will be searched in the order
specified.
2003-09-03 16:38:50 +00:00
curt
473c4d9b94 - Added support for generating green taxiway center lighting (when called for
in Robin's data.)
- Code adjusted to work with slightly modified input data format (part of
  our move away from metakit.)
- Eliminate some debugging output.
2003-08-29 20:34:46 +00:00
curt
812ab94975 Initial revision of runway.dat generator (tweaks to basic.dat generator) 2003-08-29 13:27:20 +00:00
curt
b8a4a97785 Initial revision of script to generate simple.apt from x-plane's latest
airport database.
2003-08-28 21:14:07 +00:00
curt
e93197d1b5 David Luff:
Attached are patches to Terragear to enable it to compile out of the box on
Cygwin (once all the relavent libraries have been compiled).  Specifically
they fix a conflict with another version of min/max somewhere on the
system.
2003-08-25 19:12:20 +00:00
ehofman
bcb7d5f77f Fix a mistake 2003-08-24 18:59:33 +00:00
ehofman
d8fcc7232a Don't bail out when not finding libnurbs++ but just don't create genairport and end with a warning 2003-08-24 17:27:25 +00:00
curt
83ebd1eba7 Use the correct number of parameters when calling the gen_runway_area()
functions.
2003-08-20 16:52:43 +00:00
curt
5937926a0b Ok, big oops here. I was passing 3 parameters to a 4 parameter function,
but because of the use of default arguments, the compiler wasn't flagging
this as an error.  This caused a) much stupidity and b) additional stupidity.

I also found a case where I passed in a length and width extention parameters
but, used the length parameter twice ignoring the width parameter.  This
yields much more sensible and expected results when building the grass buffer
zone around a runway.
2003-08-20 16:52:04 +00:00
curt
9e9a13bbdf Do some additional processing on the airport surface grid to try to clip
out spikes and other wierdness and generally keep a reasonable bounds
on how much the surface can vary.
2003-08-20 16:49:12 +00:00
curt
af6dc9bb0d Various parameter tweaks. 2003-08-19 02:23:25 +00:00
curt
0cbbe80488 Changes to track libArray api tweaks. 2003-03-19 22:52:04 +00:00
david
077f32fc60 Ignore generated files. 2003-03-19 00:28:49 +00:00
curt
06985ebabd Changes corresponding to API changes in libArray.a 2003-03-17 04:50:40 +00:00
curt
aa37052182 Check point ... 2003-03-14 01:51:18 +00:00
curt
9c85f16b5f Working towards the ability to specify elevations for a polygon in it's
intermediate mode.  The goal then is that these elevations would be
preserved throughout the tile construction process and the surrounding
geometry would fill in without gaps.  This has potential applications for
airports and runways of course as well as roads, rivers, streams, railroads,
or any other object where we might want to control the final elevation in
advance.
2003-03-12 18:23:31 +00:00
curt
ea58728f5c With the latest version of the libnurbs++, the include file extension has
changed from .hh -> .h
Generate a complete enclosing area around the airport including taxiways,
  not just runways.
2003-03-11 20:17:57 +00:00
curt
6c26352508 Avoid telling the nurbs library to do something it can't do (resulting
in a segfault.)
2003-03-10 15:01:08 +00:00
curt
bf96033516 Tweaking parameters. 2003-03-10 03:00:59 +00:00
curt
c986802faa The resulting airport surfaces still had too much undulation from the noise
in the DEM data.  Coarsen the nurbs grid and average some surrounding data
to hide the noise.
2003-03-09 19:19:19 +00:00
curt
846473a424 Make each representative grid point the average of a larger set of points. 2003-03-09 18:51:00 +00:00
curt
c170e77854 Switch to calculating node elevations based on the nurbs surface rather
than raw dem data.
2003-03-09 18:13:53 +00:00
curt
abd30e0352 Initial revsion of testnurbs.cxx which exercises some basic capabilities of
the nurbs++ library.
2003-03-09 18:12:25 +00:00
curt
15ae058d4a First stab at code to build a nurbs surface that approximates the surface
of an airport.
2003-03-09 18:11:29 +00:00
curt
e55881e063 More informative output. 2003-03-09 17:21:47 +00:00
curt
887297d8d0 A slightly more flexible way to find the best elevation data. 2003-03-08 03:25:05 +00:00
curt
e483bf0a34 Switch to using .arr as the intermediate height elevation array file extension. 2003-02-27 21:13:17 +00:00
curt
61764b286d Renamed FGTexParms -> TGTexParams. 2003-02-26 21:20:43 +00:00
curt
0e4f17ad51 Rename FGRunway -> TGRunway. 2003-02-26 21:16:43 +00:00