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
david
7f957c2269
Added tguserdef, a utility for adding user-defined points, lines, and
...
polygons to scenery. It uses the regular XML property format, which
users can create easily in a text editor. See
src/Prep/UserDef/sample.xml for examples.
2002-07-23 14:33:53 +00:00
david
0349ab6241
Removed more duplicate code.
2002-07-23 14:32:52 +00:00
david
598500edb0
Added a parseChunk function for parsing chunk strings like w080n40.
2002-07-23 14:32:34 +00:00
david
14488cda6a
Added toPoly method (this should probably be a makePolygon in utils).
2002-07-23 14:32:01 +00:00
david
881fc4ad73
Removed duplicate code and use the new classes and functions in
...
Lib/Geometry instead.
2002-07-23 01:33:10 +00:00
david
4d37243a5b
Added a convenience constructor, non-const accessors, and an
...
isOverlapping method to test for overlap with another rectangle.
2002-07-23 01:32:40 +00:00
david
1f2d16fe6c
Added a getBounds() method to get the bounding rectangle for the line.
2002-07-23 01:31:58 +00:00
david
f30ffc0d1f
Added new independent classes for a bounding rectangle and a
...
multi-segment line, then pulled some local code out of tgvpf into
util.[ch]xx so that it can be used by other modules.
2002-07-22 22:01:39 +00:00
curt
6bd8a08f8b
Additional tweaks to runway lighting (these have been sitting around
...
for a couple weeks ... I must have forgotten to commit.)
2002-06-15 13:39:45 +00:00
curt
3ace596df0
Cameron Moore:
...
polygon.cxx.diff
- Fixed an incorrect delete[] call that could fail on a non-Linux
platform during genapts
split-bin.cxx.diff
- Fixed uninitialized z() values that were being printed during tgvpf
2002-06-15 13:31:51 +00:00
david
6e5f833cc3
ANSI C++ fixes; use SimGear logging instead of iostream.
2002-05-21 17:05:10 +00:00
curt
14a58f9bdf
Changes to track updates in simgear.
2002-05-13 15:12:51 +00:00
david
58634b2dfc
- use SG_LOG throughout instead of cout/cerr
...
- in main.cxx, make the default log level SG_INFO rather than SG_DEBUG
(developers can easily change it back during testing)
- replace all instances of exit() with an exception throw, caught in
main.cxx, so that the program can go on processing the rest of the
airports; to restore the old behaviour, just add an exit() to the
catch clause
(Unfortunately, this still does not guarantee a full processing run,
because triangle.c in the library can invoke exit() when it gets
hopelessly confused.)
2002-03-22 15:05:54 +00:00
david
f42cdc4578
Added --min-lat, --max-lat, --min-lon, and --max-lon arguments to
...
build airports for a limited area.
2002-03-20 22:52:26 +00:00
curt
82f409ba67
Oops, fixed some 'typo' type bugs I missed in the first go around.
2002-03-13 05:08:21 +00:00
curt
a22b83516b
More incremental work towards automatically generating runway lights.
2002-03-13 03:51:39 +00:00
david
5c19f61da1
Fixed namespace bugs that kept G++ 3.0 from compiling (mostly improper
...
use of namespaces with cout/cerr/endl).
2002-02-28 15:34:12 +00:00
curt
750437b242
Extremely *alpha* start at generating sample runway lights.
2002-02-27 23:08:15 +00:00
curt
8f07f918ae
Roughing in some initial structure to facilitate runway lighting.
2002-02-27 18:58:06 +00:00
curt
5cbacb4a7a
Misc tweaks.
2002-02-27 18:53:10 +00:00
curt
645abd08c1
Minor tweaks from last round of photo inserting.
2002-02-27 18:52:40 +00:00
curt
c5f9e48267
Add a skirt around airport as a first line defense against pixel
...
wide border gaps.
2002-02-25 15:22:32 +00:00
curt
2a068e31e8
Removed auto generated file.
2002-02-25 15:19:47 +00:00
curt
0c7c478ce2
Split 'close_enough() function into 2d and 3d versions.
2002-02-25 15:18:57 +00:00
curt
4346b42897
Add hole flag to output
2002-02-25 15:18:06 +00:00
curt
af24dc6d24
Did a bit of code restructuring. Hopefully to open things up to add
...
runway lighting.
2002-02-25 05:11:55 +00:00
david
90fe08a7c0
Cygwin patches from Dave Luff.
2002-01-30 14:10:00 +00:00
david
fb472072cd
Cygwin patches from Dave Luff. Reformatted (line wrap).
2002-01-30 14:09:44 +00:00
david
d2b2afc33d
Cleaned up errors and warnings, mostly namespace problems with cout
...
and cerr, but also some SimGear linking problems.
2002-01-30 13:52:37 +00:00