1
0
Fork 0
Commit graph

638 commits

Author SHA1 Message Date
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
david
4d3cbc5f55 Added more generated files. 2004-04-04 14:23:49 +00:00
ehofman
791b1bb4fc David Luff:
The patches deal with three separate issues, all rolled up into one
tarball:

Currently, arrayfit always appends .arr.gz onto the name passed on the
command line, meaning that only tile names can be passed.  The patch strips
off .arr or .arr.gz if present prior to it's appending, meaning that tile
names or filenames can be passed on the command line.

The interface to the OSGB36 conversion functions is cleaned up a lot.  I
can't believe I originally wrote it in such an ugly manner!

A lot of console output (> 5000 lines per tile) is removed from the final
construction process, meaning that the output left can actually be read.
2004-03-08 09:47:42 +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
d0c14eef21 Tweak error thresholds. 2004-01-08 21:36:18 +00:00
curt
da71823a3e Tweak to build with latest simgear cvs. 2004-01-08 21:35:56 +00:00
curt
8214fa2ccc Tweaks to build scripts. 2004-01-08 21:35:38 +00:00
curt
3fa11a9348 Fix to build with latest simgear cvs. 2004-01-08 21:35:23 +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
curt
b635ee443d (running tgvpf --chunk=e020n40 --work-dir=Lakes --material=Lake /home/romosan/scenery/vmaplv0 eurnasia hydro inwatera).
It looks like the program gets into an infinite loop while findind
edges for a contour (inserting the same edge over and over until the
program runs out of memory). i am not quite sure i understand the code
but the following patch solved the problem for me:
2003-12-18 17:38:05 +00:00
curt
a27a7d9367 Updated to track a minor file naming change. 2003-12-15 16:44:27 +00:00
curt
a4ae777cf2 Add an example usage: 2003-12-15 16:34:09 +00:00
curt
ee4451de4d Initial revision. 2003-12-15 16:30:04 +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
f2382f77a1 Various changes and updates. 2003-11-12 22:16:03 +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
467e70faa0 Updates. 2003-09-16 19:32:11 +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
9a7173d85e For smoothing things like rivers or roads we need to allow some slope.
Originally I through together a really cheap/ugly hack for estimating
distance between two points, but that really started to stink when throwing
a lot of new situations at it.  So now I calculate spherical distances between
two points in meters which is plenty accurate for these purposes.  This gives
us much better control over smoothing.  For instance we could establish a
maximum 10% grade for all roads if we wanted to.
2003-09-04 18:53:53 +00:00
curt
db7780d1c8 Add src/Airport/Utils 2003-09-04 02:54:09 +00:00
curt
4f2528e8f7 Initial revision. 2003-09-04 02:53:40 +00:00
curt
8f5bc3579a Debugging output tweak. 2003-09-03 22:46:04 +00:00
curt
2c45b3ce5d Do some flattening of intermittent streams as well as roads, railroads, and
freeways.
2003-09-03 22:45:50 +00:00
curt
400db7c3a9 Oops a previous change (thought to be harmless) turned out to be harmful.
This could cause tile edges to no longer match up becuase this routine would
adjust node elevations which it shouldn't have.  Hopefully this change fixes
the problem.
2003-09-03 22:12:45 +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
bd02f2548c Eliminate some debugging output.
Fix some warnings.
2003-08-29 20:32:41 +00:00
ehofman
cffdd093ea Prevent the GTS and GLIB compiler flags from getting included three times on the command line. 2003-08-29 19:22:15 +00:00
ehofman
52ef60a056 Reorginize the configure script to math the one from FLightGear more closely. Add checks for the presence of GLIB and GTS. 2003-08-29 18:32:28 +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
5717e1df5f Patch from Norman to fix a slight oversite in file date querying. 2003-08-28 14:54:32 +00:00
ehofman
3ffd52820c Check whether the creatin time of the output file is after the creation time of the input file. If so, skip to next file 2003-08-28 14:44:31 +00:00
ehofman
a9ec1ccdb6 Fix some mistakes 2003-08-28 14:09:05 +00:00
ehofman
703fc67636 Make reads() more robust and easier to follow 2003-08-28 12:36:31 +00:00
ehofman
0599f873dc Don't forget to terminate the string 2003-08-28 12:03:15 +00:00
ehofman
da7d172d37 Convert \r to \n while reading the file 2003-08-28 09:40:50 +00:00
ehofman
6aaec038f8 Solve a dependancy problem 2003-08-28 09:17:19 +00:00
ehofman
fc9f7069ca Allow for header files that are generated on machines with non UNIX like line endings 2003-08-28 09:01:31 +00:00