1
0
Fork 0
Commit graph

495 commits

Author SHA1 Message Date
curt
238d87c2a2 Increase resource limits for the tile builder. 2005-09-28 16:40:32 +00:00
curt
25f1e2b22b Very slightly tweak clipping semantics to try to reduce artifacts and cracks
in the scenery.
2005-09-28 16:39:58 +00:00
curt
c131a2c572 Fix a small bug that left a missing triangle in airport skirts. 2005-09-28 16:38:50 +00:00
curt
d4ffe52562 Do all the numerical work for surface fitting around 0,0,0 to reduce problems
with floating point roundoff.
2005-09-09 20:47:04 +00:00
curt
3b879d29c2 Fix some bugs in my first attempt at a new airport surface fitting scheme.
The code is now workable but needs some fine tuning.
2005-09-09 20:16:10 +00:00
curt
b8948faf58 This is a first pass at removing the nurbs++ dependency from TerraGear (in
favor of newmat11 which is much simpler, and seems to compile well on modern
OS's.)  I need to do some further testing of genapts and until then, don't
assume the new mechanism is working perfectly.
2005-09-09 15:05:15 +00:00
curt
662bdd4ace Fix some warnings generated by recent versions of autotools. 2005-09-09 14:49:19 +00:00
curt
ade941fb6f Support Robin's new data field in the runway record that lists the glideslope
angle for each end of the runway (affects vasi/papi alignment.)
2005-04-20 18:20:15 +00:00
curt
e9eb9f2797 Make sure the nurbs++-3.0.11 with gcc-3.4.x patch is included in the tarball
distribution.
2005-04-20 15:44:57 +00:00
curt
5d259e5e46 Include a patch for gcc-3.4.x users so we can continue to use nurbs++.
For what it's worth, I'm open to using a simpler, more currently maintained
nurbs library, but at last check, I couldn't find one.
2005-04-20 15:44:08 +00:00
curt
a51e31d6c7 Remove a depricated option from the usage() display. 2005-01-31 21:54:44 +00:00
curt
0f3f0ef126 gcc-3.4 fix. 2005-01-22 12:55:45 +00:00
curt
168b41e4a2 Updates for 0.9.8 release. 2005-01-11 21:11:27 +00:00
curt
71c793f9b1 Handle Robin Peel's apt database with dos or unix line endings. 2004-12-10 17:58:18 +00:00
curt
fd8f816ee1 Fix a bug that could put the same airport object in the final .stg file twice,
doesn't affect rendering, but could affect render performance.
2004-12-06 22:25:56 +00:00
curt
650bbd7e51 Update my mailing address. 2004-11-19 22:25:49 +00:00
curt
cac8c6bda0 Various miscellaneous script and code tweaks. 2004-11-11 15:08:03 +00:00
curt
06978b3cc4 Fix a logical bug in the routine which strips out holes from a multi-contour
polygon.
2004-11-11 15:07:14 +00:00
curt
fb71b5876c - Chased down a bug that caused threshold lighting to be omitted in some
situations

- Made the code a bit more robust and able to handle the handful of rare
  occasions when the least squares nurbs interpolator fails.

- Add airport surface bases for towers, windsocks, beacons, and vasi/papi
  lighting so they never are buried and never float.  (I'm considering the
  idea of doing this for the approach lighting too ...)
2004-11-11 15:05:13 +00:00
curt
696fa632b4 A few tweaks to better handle newest airport data. 2004-11-09 15:17:52 +00:00
curt
2df4726f33 Do a least squares nurbs approximation to coarse grid when deriving airport
surface.  I think I have this working robustly.

A few miscellaneous tweaks to handle latest X-Plane data (with a few new
runway surface codes we hadn't seen before.)
2004-11-08 21:59:04 +00:00
curt
e711b18d20 Make sure taxiways get generated. 2004-10-15 20:38:56 +00:00
curt
27cfc32e4e First stab at code changes to support the X-Plane data format directly. 2004-10-15 20:14:38 +00:00
curt
86d985a131 Script tweaks. 2004-08-03 13:25:17 +00:00
curt
f69c072f3a Most recent changes. 2004-07-30 20:02:20 +00:00
curt
10a818e0ae Debugging ... 2004-05-19 18:47:25 +00:00
curt
d5689be4e7 Fix an "unfortunate" bug in the binary polygon partitioning scheme that
caused missing output (and thus missing scenery features.)  This could
also lead to cracks in the scenery because of the nature of the underlying
edge matching system.
2004-05-19 18:47:00 +00:00
curt
08f9a12765 Various changes to match changes in supporting Lib API(s). 2004-05-17 20:43:31 +00:00
curt
7de22d8ef2 tgChopPolygon() called a really simplistic polygon partitioner for large
polygons.  This was to bail us out of the overwhelming memory requirments
when using the default polygon clipping routines on really large polygons.
However, the simplistic polygon partitioner did not handle holes.
Unfortunately, several TG utilities were calling this function with polygons
that did contain holes with potentially mixed results.

I renamed this function tgChopBigSimplePolygon() and created a new
tgChopNormalPolygon() which should be used by most utilities unless you
really know what you are doing.

This has some performance implications, but achieves more correct results.
2004-05-17 20:42:42 +00:00
curt
7358eb3f09 Don't use a parameter with a default value, calling code is clearer when the
value is specified explicitely.
2004-05-17 20:39:29 +00:00
curt
d723504e94 Curt's script for processing VMAP0 data. 2004-05-17 20:12:19 +00:00
curt
cd7ee31c7e Frequently our beloved polygon clipper will generate polygons with a wierd
branch.  Kind of an out and back.  node[n] == node[n+2] where there is some unique point in between.  Our triangulator is usually robust to this, but not in
100% of all cases.  So I had some code to catch and eliminate this weirdness.
However, a key piece of code was commented out (?!?) rendering it a no-op.
I fixed this and tile building is more robust now.
2004-05-13 21:34:25 +00:00
curt
341079f103 Fiddle with some debugging output temporarily.
Remove some #ifdef'd out code.
Reduce verbosity.
2004-05-13 21:29:17 +00:00
curt
a25776b4a6 Update for new scenery version. 2004-05-13 21:28:34 +00:00
curt
80a1b1ef23 A couple small tweaks to the airport generator to try to eliminate
surface artifacts.
2004-05-12 20:08:55 +00:00
curt
ae939e2e44 Fix a small (but potentially confusing) spelling error. 2004-04-26 16:22:21 +00:00
curt
de27ab5bf7 Change corresponding to a change in simgear. 2004-04-26 16:17:45 +00:00
curt
fd0a6e29fc Ok, this change seems to help a lot.
There are quite a few difficult cases where an airport is located on top
of a hill, or in a bowl, or has a significant elevation change near by.
I take the average elevation of the area and clamp the outlyers.  However
these difficult cases "bias" the average elevation because the airport
surface may include much of the surrounding area.

This change to the code computes the airport elevation *only* based on the
actual airport geometry node and ignores all the surrounding nonsense that
might exist.  This doesn't make things perfect, but is a *big* step forward
for airports in areas with significant elevation change nearby.
2004-04-21 17:03:59 +00:00
curt
ac461bda55 - Switch to using doubles for the nurbs library. We were running out of
precision with floats.

- Restructure how the airport surface is sampled just a bit.

- Solving for X,Y given U,V on a nurbs surface is a little bit tricker than
  I first thought.  If you change one demension of U or V, you can change
  both X and Y.  We need to solve for each X, Y axis independently, and
  then iterate in case moving in the other axis has taken us away from the
  solution in the first axis.

- Add a slope constraint on airport surfaces.
2004-04-20 01:14:15 +00:00
curt
29c57d3ff5 Yet another round of airport surface debugging and shuffling. Anyone want
to take bets on whether or not I got it right this time? :-)
2004-04-19 18:45:06 +00:00
curt
f3db2e778c Skip short towers or we end up with way too many. 2004-04-18 17:28:41 +00:00
curt
d77acbd863 Doh! 2004-04-14 20:57:34 +00:00
curt
668aed0e1e Add some information about radio towers. 2004-04-14 18:38:58 +00:00
curt
2e93d6c7a6 Add a script to preprocess a USA radio tower database into something we
can use.
2004-04-14 18:16:25 +00:00
curt
1b769f02b9 Update some of my scenery building notes. 2004-04-14 14:35:51 +00:00
curt
eea57f81b8 Add some end time estimation code to keep myself entertained while I wait
for the program to finish.
2004-04-14 14:35:09 +00:00
curt
9c43f4785e Add a routine to place a "shared" object into the Work tree so the tile
builder can pick it up later in the final assembly process.
2004-04-14 14:34:13 +00:00
curt
35f324ddaa Some of the prep tools can define objects to go into the final .stg files.
Enhance the build tiles utility to handle a larger variety of cases.
2004-04-14 14:33:22 +00:00
curt
66cf156a77 Pass along beacon, control tower, and windsock data. 2004-04-14 14:32:22 +00:00
curt
b5894d473f Track and position beacons, windsocks, and towers. 2004-04-14 14:31:44 +00:00