curt
06985ebabd
Changes corresponding to API changes in libArray.a
2003-03-17 04:50:40 +00:00
curt
b019a7d44a
Initial revision of utility to fit a much reduced size terrain surface
...
to a higher res data set, attempting to preserve the most important
features in the original data set. The user can specify a min and max
number of output nodes as well as a maximum error tolerance that should
not be exceeded (between the original and simplified surfaces.)
2003-03-17 04:48:50 +00:00
curt
cde416c9f3
Initial revision of a tool that uses Michael Garland's algorithm to fit
...
a simpler TIN surface to a regular array of height values. The algorithm
is described here:
http://graphics.cs.uiuc.edu/~garland/software/terra.html
2003-03-16 21:52:10 +00:00
curt
ba3114a8b5
Fixed a compile warning.
2003-03-13 20:23:15 +00:00
curt
c5ab6678f2
Added support for including height information in the intermediate polygon
...
format. The big trick was that the polygon clipper is completely 2d. So
I needed to add code to preserve the elevations in the clipped output and
fill in plausible elevations for any new points created as a result of the
clipping.
2003-03-12 21:25:35 +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
af89a8a205
Add a utility to reassemble all the array files for a 1x1 degree area and
...
write them out in a dumb ascii array format.
2003-03-11 20:22:16 +00:00
curt
e7d08d90d1
A couple minor changes to this helper script.
2003-03-08 01:44:28 +00:00
curt
d11e7c7b3f
First crack at a Prep utility to process SRTM "hgt" data into TerraGear's
...
intermediate format.
2003-02-26 21:39:27 +00:00
curt
bd1b254506
Rename: FGPolygon to TGPolygon
2003-02-26 20:59:34 +00:00
curt
61445e9af6
Renaming:
...
- FGContourNode -> TGContourNode
- FGTriNodes -> TGTriNodes
- FGTriSeg -> TGTriSeg
- FGTriSegments -> TGTriSegments
2003-02-26 20:25:29 +00:00
curt
d2206e9214
Rename: FGDem -> TGDem
2003-02-26 20:04:12 +00:00
curt
0a1108e494
Rename: FGArray -> TGArray
2003-02-26 19:59:25 +00:00
curt
f56af62248
Various pre-0.0.5 release tweaks.
2003-02-25 17:58:40 +00:00
curt
927540c8b1
One more Irix tweak.
2003-01-08 16:29:04 +00:00
curt
8b269dc000
Erik Hofman:
...
A big honkin' set of minor tweaks to bring TerraGear into Irix compliance.
2003-01-07 22:46:51 +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
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
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
881fc4ad73
Removed duplicate code and use the new classes and functions in
...
Lib/Geometry instead.
2002-07-23 01:33:10 +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
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
645abd08c1
Minor tweaks from last round of photo inserting.
2002-02-27 18:52:40 +00:00
david
90fe08a7c0
Cygwin patches from Dave Luff.
2002-01-30 14:10:00 +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
david
d3515ccc03
Bug fixes and improvements.
2001-12-30 02:22:11 +00:00
david
a4e1215761
Ignore files for autogenerated files.
2001-12-30 02:16:03 +00:00
curt
c69d333d32
- added new program, tgvpf, to generate polygons from Vector Product
...
Format databases.
2001-09-18 21:24:14 +00:00
curt
7a4bac978e
Various Irix fixes. Thanks Erik!
2001-07-31 20:14:54 +00:00
curt
fd2fc30ef5
- added support for points coverages -- can generate rectangular area
...
from points (i.e. villages)
2001-07-30 19:58:46 +00:00
curt
19d9392863
Renamed libgpc to libgenpolyclip to avoid a conflict with the gnu pascal
...
compiler.
2001-07-11 00:43:55 +00:00
curt
502b396259
Initial revision.
2001-06-23 02:14:37 +00:00
curt
9c9feac1e8
Tweaks to work with the .stg / .btg naming convention.
2001-06-22 19:29:59 +00:00
curt
2272a29287
Minor tweaks to track changes in simgear.
2001-05-16 12:27:48 +00:00
curt
edd192597b
Initial revision.
2001-05-15 02:03:19 +00:00
curt
abf4e0ad08
Tweaks for Photo inserter util.
2001-05-15 02:03:00 +00:00
curt
472ac57338
More work on photo inserter.
2001-05-03 22:20:38 +00:00
curt
b452149e06
Working on a utility for inserting some simple photo-real scenery into
...
terragear scenery.
2001-05-03 02:00:50 +00:00
curt
483708977a
Various reshufflings of directory layout.
2001-04-25 18:55:19 +00:00
curt
56745955f3
FG_ to SG_ changees.
2001-03-25 12:07:07 +00:00
curt
9acc48acce
SG-ified logstream.
2001-03-24 05:06:35 +00:00
curt
7ad217b1f1
FG_ to SG_ namespace changes.
2001-03-23 23:18:18 +00:00
curt
0b31b493d3
FG_ to SG_ namespace changes.
2001-03-23 21:59:33 +00:00