david
9af342a033
Patch from Frederic Bouvier:
...
I had a segfault in case result.size() is 0 because result[i] is used
before knowing it exists. I inverted the test and it now goes well.
2002-11-01 10:49:49 +00:00
curt
276ad45d0e
Fix runway "0" problem.
...
Fix problem with skirt node not being found in node list.
Other various tweaks.
2002-11-01 04:44:26 +00:00
curt
9f6fdee612
Use wgs_84 math to layout runways. My original method was a little backwards,
...
it involved creating a 2d runway object of the right size, rotating it and then
trying to back solve for the actual lon/lat. This and a few other problems was
causing problems with subsequent texture coordinate calcs for the runway
surface textures. It also could have contributed to runways/lighting being
slightly misaligned with the ILS's. Then lots of minor cascading changes as a
result.
2002-10-31 19:59:37 +00:00
david
9d44a4ae64
Commented out unqualified cout statement.
2002-10-26 16:54:07 +00:00
david
2b660877a3
Don't generate a DEM tile when all elevations are zero. This should
...
save about 70% worldwide with the GTOPO30 (less with the USGS DEM-3).
2002-10-26 16:50:50 +00:00
curt
cb30b2d474
Oops, missed a needed change.
2002-10-26 01:22:44 +00:00
curt
51287d6785
Taxiways look a bit better if we insert them in sorted order from larger
...
to smaller.
2002-10-25 17:17:34 +00:00
curt
53a2f9c347
Simplify runway texture coordinate generation.
2002-10-25 16:52:01 +00:00
curt
8817ba7454
First pass at new runway layout.
2002-10-25 14:46:09 +00:00
curt
7368effd9e
First crack at generating taxiway lights (with a normal vector of up.)
2002-10-22 03:56:12 +00:00
curt
a20c93b301
Added support of SALS (being phased out, but there are still a few
...
installations around in the US and Europe.)
2002-10-22 01:57:12 +00:00
curt
37f5d14616
Caution, check point, alsf 1/2 airport generation may not work correctly at the moment.
2002-10-22 01:14:54 +00:00
david
a240a50954
Corrected a typo.
2002-10-19 15:46:12 +00:00
david
aaaa59235b
Added --chunk argument to simplify generating airports for a specific
...
chunk (like w130n30).
2002-10-19 15:42:50 +00:00
david
3a4ee63f3f
Fix cout and endl not in the std:: namespace.
2002-10-18 22:26:13 +00:00
david
98712eddc8
Take out /usr/local to avoid spurious warnings.
2002-10-18 22:25:45 +00:00
david
b659705c95
Update ignored files.
2002-10-18 19:27:09 +00:00
david
8f9fd4137d
Avoid shadowing parameter.
2002-10-18 19:26:38 +00:00
curt
b2ee8d6fa3
Add ALSF-1, MALS, MALSF, and MALSR.
2002-10-18 18:29:18 +00:00
curt
c2f620744a
Added support for generating SSALS, SSALF, and SSALR approach lighting schemes.
2002-10-18 02:55:41 +00:00
curt
e58523db01
Make ALSF-II lighting scheme.
2002-10-17 23:09:44 +00:00
curt
6ebfa5d3b7
Threshold lights.
2002-10-17 15:52:00 +00:00
curt
1e15eae599
Added touchdown zone lights and reil lights.
2002-10-17 02:46:47 +00:00
curt
49ba2555d9
The center line lights are packed closer together so they look brighter.
...
I'm going to make them less intense than the edge lighting.
2002-10-16 22:38:47 +00:00
curt
5e9e89596a
Update edge lighting so last 2000' are yellow.
...
Impliment center line lighting.
2002-10-16 22:23:34 +00:00
curt
c9584384d3
Better fix reciprical runway heading for vasi too.
2002-10-09 16:46:16 +00:00
curt
66bacda3ba
Added support for PAPI, and oh yeah, definitely smoking crack on the
...
reciprical runway heading calculation.
2002-10-09 16:40:12 +00:00
curt
21153db715
Various tweaks.
2002-10-09 03:39:20 +00:00
curt
69c741fd64
Added necessary infrastructure to manage runway light generation.
2002-10-09 03:37:35 +00:00
curt
4fb0ca1e2b
Beginning work on generating/placing VASI lights.
...
Ooops, I noticed my light infrastructure is insufficient, I need to add
support for creating multiple groups of lights with different types.
2002-10-08 22:25:01 +00:00
curt
9b63deeb03
Updated dem libs to support z units == 1 (feet).
...
This is not tested since I do not have data in feet to work with.
2002-10-08 15:28:53 +00:00
curt
fbb232280e
Frederic Bouvier:
...
Well, I found a bug in VpfTile that prevents the function getTileSubdir
to return the correct value.
In that case getTileSubdir was returning the content of a local
variable (subdir) that is destroyed before used outside. Usually,
it generates a segfault with MSVC but here, the returned string
was "". The patch returns the value of the string and tgpvf is
going well so far.
2002-10-07 15:36:26 +00:00
curt
43a271c396
Fixed a horrendous bug with generating runway lighting direction vectors.
2002-10-06 03:45:43 +00:00
david
374bca92c7
Replaced strtof with ANSI C strtod as suggested by Frederic Bouvier.
2002-08-31 17:40:00 +00:00
david
ee66876d21
Patch from Julian Foad to reduce debugging output.
2002-08-31 17:31:16 +00:00
curt
8c35817530
Clean up some old remnants of HAVE_ZLIB_H
2002-08-30 03:00:21 +00:00
curt
65d6f9c623
Tweaks to bring the automake/conf scripts into compliance.
2002-08-29 22:12:43 +00:00
curt
13895ab1dd
More fixes to the automake/conf scripts.
2002-08-28 14:13:51 +00:00
curt
6b024d7e33
Modernize the automake/autoconf scripts.
2002-08-27 21:52:50 +00:00
david
fe95a6aab4
Moved the Rectangle and Line classes and the geometry utility
...
functions into the "tg" namespace to avoid conflicts with Windows
headers.
2002-08-14 15:41:54 +00:00
david
232d51333c
Make min/max area work more reliably.
2002-08-03 14:10:35 +00:00
david
8ab0a45ad7
Renamed the --area option to --material.
...
Added --min-area and --max-area options to specify the minimum and
maximum area of a polygon's bounding rectangle in meters square. This
option will make it possible to use different textures for big lakes
and small ponds, or for large cities and smaller towns.
2002-08-03 14:01:48 +00:00
david
79d653b597
Added a makeBounds function to get a bounding rectangle for a polygon.
2002-08-03 14:00:26 +00:00
david
8b990aa02a
Changed exception to a warning when building skirt.
2002-08-03 12:45:23 +00:00
david
9d7b4e94b8
Modified to add the new cleared area around airports.
2002-08-02 20:52:21 +00:00
david
7e959be9e8
Modified to clip a runway clearing against water, so that extra land
...
isn't created.
2002-08-02 20:52:04 +00:00
david
3357337946
Modified to add a cleared area around every runway, 200ft to each side
...
and 500ft off each end.
2002-08-02 20:51:40 +00:00
david
3dff29e8cf
Added missing copy constructor that prevented tgvpf from working properly.
2002-07-31 20:36:22 +00:00
curt
73c71d24ce
Removed efence support. Valgrind is a much better memory checker.
2002-07-30 14:09:07 +00:00
david
f37bdfd43d
Corrected error in the sample.
2002-07-23 14:38:49 +00:00