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
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
7cb4539e86
Prevent a nasty bug in IRIX 6.5.17 from happening
2003-08-24 19:38:58 +00:00
ehofman
694bb7a4cc
Satisfy a dependency
2003-08-24 19:02:29 +00:00
ehofman
bcb7d5f77f
Fix a mistake
2003-08-24 18:59:33 +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
ehofman
e0bc55edd2
Add the simgear debug library because of dependency issues
2003-08-24 18:37:13 +00:00
ehofman
ac2646a365
Also look for getline() in the std namespace
2003-08-24 18:29:08 +00:00
ehofman
23f08fd725
MSVC/MipsPro fix
2003-08-24 17:29:10 +00:00
ehofman
d8fcc7232a
Don't bail out when not finding libnurbs++ but just don't create genairport and end with a warning
2003-08-24 17:27:25 +00:00
curt
47771c9bb4
Several changes related to [trying to] make more effective use of the global
...
land cover/land use raster data, but there seem to be some very significant
issues no matter how you cut it ....
2003-08-22 19:46:28 +00:00
curt
460d6349b0
Add a check for additional degeneracy.
2003-08-22 19:15:48 +00:00
curt
7a4f52e98b
Fixes corresponding to slightly different terrafit output.
2003-08-22 19:13:02 +00:00
curt
38bb74f339
Add a routine to catch/remove some addition degeneracy our polygon clipper
...
can produce.
2003-08-22 17:34:56 +00:00
curt
0dc39b1911
Try to be just a bit smarter about how to assign an area type to a triangle.
2003-08-20 17:18:50 +00:00
curt
83ebd1eba7
Use the correct number of parameters when calling the gen_runway_area()
...
functions.
2003-08-20 16:52:43 +00:00
curt
5937926a0b
Ok, big oops here. I was passing 3 parameters to a 4 parameter function,
...
but because of the use of default arguments, the compiler wasn't flagging
this as an error. This caused a) much stupidity and b) additional stupidity.
I also found a case where I passed in a length and width extention parameters
but, used the length parameter twice ignoring the width parameter. This
yields much more sensible and expected results when building the grass buffer
zone around a runway.
2003-08-20 16:52:04 +00:00
curt
9e9a13bbdf
Do some additional processing on the airport surface grid to try to clip
...
out spikes and other wierdness and generally keep a reasonable bounds
on how much the surface can vary.
2003-08-20 16:49:12 +00:00
david
fafab4a3a0
Ignore another app.
2003-08-20 12:25:14 +00:00
curt
5943155bad
Try an idea that is hopefully slightly more intelligent about what land
...
cover area to assign a "default cover" triangle to.
2003-08-19 02:51:08 +00:00
curt
4ff5acb28c
Still support a minimum angle threshold for quality refinement in the
...
trangulator wrapper, but this isn't used by the calling layer any more.
2003-08-19 02:38:08 +00:00
curt
fe6ff15206
Remove --min-angle option.
2003-08-19 02:36:10 +00:00
curt
730c454320
- Test a different approach for assigning land cover attributes to "default'
...
cover" areas. Rather than artificially cut in polygon areas, just lookup
a land cover type for unassigned triangles. I think this has potential, but
it needs more work to eliminate some odd artifacts.
- Revove --min-angle= option.
- Don't re-fit() triangle array to try to achieve a particular range of
node quantities ... this is all pre-computed with a much smarter, much
more efficient algorithm.
2003-08-19 02:35:35 +00:00
curt
f5f961b8c0
Remove support for a "minimum triangle angle" quality constraint when
...
triangulating a tile. A better strategy is to have better input that doesn't
need to hide behind this trick.
2003-08-19 02:32:11 +00:00
curt
eb3a3a4fa2
Update examples.
2003-08-19 02:30:05 +00:00
curt
efbe6af104
calc_tex_coords() -> sgCalcTexCoords()
2003-08-19 02:29:44 +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
39222a737e
Handle .zip'd SRTM data files directly.
2003-08-19 02:25:48 +00:00
curt
aec29df1c8
Working towards completely depricating the previous insanely stupid array fit
...
algorithm.
2003-08-19 02:24:38 +00:00
curt
af6dc9bb0d
Various parameter tweaks.
2003-08-19 02:23:25 +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