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
curt
0a4cc36775
Use <simgear/compiler.h> functionality to make STL includes more portable.
2003-08-27 14:02:29 +00:00
david
20dc0cf8a0
Ignore generated files.
2003-08-25 19:35:50 +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
david
ced60ae2e2
Remove IOSTREAMH macro -- it turned out to be something specific to
...
SGI headers, rather than a program-specific compilation macro. Always
assume that the iostream library is present.
2003-08-25 18:18:58 +00:00
ehofman
4516c4a9d6
Make it somewhat IRIX/MipsPro compliant again. We still need to resolve the IOSTREAMH declaration issue
2003-08-25 17:52:42 +00:00
david
631c9ab968
Fixed to compile and install using an ANSI C++ compiler like G++ 3.3.
...
Some conditionals may be required to build with other compilers.
2003-08-25 17:11:43 +00:00
ehofman
8c6c0c480c
Satisfy a dependency
2003-08-24 18:55:21 +00:00
ehofman
4e1da3cedf
Compiler fix
2003-08-24 18:48:18 +00:00
david
fafab4a3a0
Ignore another app.
2003-08-20 12:25:14 +00:00
curt
0b4b91c90f
Unraise the verbosity level.
2003-08-19 02:27:08 +00:00
curt
b2d808f214
Tweak an output message.
2003-08-19 02:26:43 +00:00
curt
d0f17a2cd7
Fix for properly handling SRTM voids ... terrafit.py rescales the data range
...
so that all the values are positive this make things a little trickier inside
terra.
2003-08-16 16:28:55 +00:00
curt
9ab16521f4
Minor tweaks for better debugging/monitoring
2003-08-16 15:39:59 +00:00
curt
ad75df026d
Ignore SRTM "void" values.
2003-08-16 14:53:00 +00:00
curt
a20d85ac0d
Picky, picky :-)
2003-08-16 02:09:06 +00:00
curt
eb04a8771d
Initial revision.
2003-08-16 01:59:37 +00:00
curt
bf32c9e447
Fix a compile error.
2003-08-16 01:58:15 +00:00
curt
df54cff836
The TerraGear version of Michael Garland's "Terra" program now supports
...
minnodes directly, so I have slightly tweaked the python wrapper script
in light of this.
2003-08-16 01:57:28 +00:00
curt
9e38f10dc6
Add src/Prep/Terra and src/Prep/TerraFit
2003-08-16 01:48:38 +00:00
curt
37d4e6f738
- Various tweaks to make the code build with gcc-2.95 under linux.
...
- added a -n <num> option to specify a minimum number of nodes to emit
irregardless of the error threshold.
2003-08-16 01:38:22 +00:00
curt
1a3c24506b
Original version of Michael Garlands terra program version 0.7 (public domain)
2003-08-16 01:35:54 +00:00
curt
d309a52bee
Intial revision.
2003-08-16 01:18:39 +00:00
curt
170783ea73
The terrafit stuff is getting a much deserved and belated promotion ...
2003-08-16 01:18:01 +00:00
curt
533db6e82d
Initial revision.
2003-06-12 20:05:01 +00:00
curt
c148689adc
Fixes to match changes in SimGear-0.3.3
2003-06-12 20:02:08 +00:00
curt
07d17d2536
Initial revision of a scipt that leverages the "terra" utility to
...
impliment essentially the same thing as "ArrayFit". Requires the terra
program, but the terrafit.py script should take care of the pre/post
processing.
2003-03-31 20:10:27 +00:00
david
51d5fe00ea
Install arrayfit along with the other utilities.
2003-03-20 14:50:54 +00:00
curt
0cbbe80488
Changes to track libArray api tweaks.
2003-03-19 22:52:04 +00:00
curt
bab9af52b3
Just ignore "void" data points when doing the surface fit. I think this
...
is probably better than guessing at a value and fitting to the guessed value.
For corner points (where we *need* a value to do the fit) use the elevation
of the "closest" euclidean-wise valid point.
2003-03-19 22:51:26 +00:00
curt
869f0412a3
Updates to match libArray api changes.
2003-03-19 22:49:13 +00:00
david
a0b4097f5d
Fix iterator assignment.
2003-03-19 00:30:42 +00:00
david
077f32fc60
Ignore generated files.
2003-03-19 00:28:49 +00:00
curt
119d46058b
I wrote arrayfit and it worked.
...
Then I needed to modify libArray code so that other portions of the code
could use the pre-computed fit data.
Today I discovered that arrayfit was messed up. That is now fixed.
2003-03-17 17:25:11 +00:00
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