1
0
Fork 0
Commit graph

7809 commits

Author SHA1 Message Date
curt
0530d520f0 Increased precision in showme when clicking with the middle mouse button
to display coordinates.
Build showme.
Removed -DREDUCED from compile flags
1999-03-27 05:33:02 +00:00
curt
0f6ec612cf Make 0 the default area type since this corresponds well with the conventions
used by the triangulator.
1999-03-27 05:31:24 +00:00
curt
09aa6ba330 Handle corner nodes separately from the rest of the fitted nodes.
Add fitted nodes in after corners and polygon nodes since the fitted nodes
  are less important.  Subsequent nodes will "snap" to previous nodes if
  they are "close enough."
Need to manually divide segments to prevent "T" intersetions which can
  confound the triangulator.  Hey, I got to use a recursive method!
Pass along correct triangle attributes to output file generator.
Do fine grained node snapping for corners and polygons, but course grain
  node snapping for fitted terrain nodes.
1999-03-27 05:30:12 +00:00
curt
444abe17be Fit with a value of 200 rather than 100.
Handle corner nodes separately from the rest of the fitted nodes.
Write scenery file to correct location.
First hack at generating scenery for multiple tiles in one invocation.
1999-03-27 05:25:02 +00:00
curt
903ac38cff Interpolate real z value of all nodes from dem data.
Write scenery file to correct location.
Pass along correct triangle attributes and write to output file.
1999-03-27 05:23:22 +00:00
curt
b77bfe20ac Pass along default area explicitely to triangulator. 1999-03-27 05:20:53 +00:00
curt
e887aef7e7 Handle corner nodes separately from the rest of the fitted nodes.
Fixed some "const" related warnings.
1999-03-27 05:20:13 +00:00
curt
68e5a695e8 Initial revision. 1999-03-25 19:13:35 +00:00
curt
8709db31ae Preparations for outputing scenery file to correct location.
Minor tweaks related to FGBucket usage.
1999-03-25 19:04:31 +00:00
curt
f33915fd13 Preparations for outputing scenery file to correct location. 1999-03-25 19:04:21 +00:00
curt
48e3734e8f Minor tweaks related to FGBucket usage. 1999-03-25 19:03:50 +00:00
curt
b722f8bb63 Converted to use new bucket routines. 1999-03-25 19:03:24 +00:00
curt
3ef9585ac0 Removed an unneeded include. 1999-03-25 19:02:53 +00:00
curt
88a016c516 Minor optimization tweaks. 1999-03-25 19:02:28 +00:00
curt
22d4058564 Jettisoned old bucketutils.[ch] for newbucket.[ch]xx 1999-03-25 19:01:47 +00:00
curt
e774a38dc7 Refinements in naming and organization. 1999-03-23 22:02:51 +00:00
curt
427762b074 Worked on creating data to output ... normals, bounding spheres, etc. 1999-03-23 22:02:03 +00:00
curt
1dce89b1aa Beginning work on generating output scenery. 1999-03-23 17:44:49 +00:00
curt
bd31ce9a20 Initial revision. 1999-03-22 23:58:57 +00:00
curt
da6ff21001 Initial revision. 1999-03-22 23:51:51 +00:00
curt
4525fcbd55 Moved AreaType get_shapefile_type(GDBFile *dbf, int rec) to where it
belongs in ShapeFile/
1999-03-22 23:49:29 +00:00
curt
4c1565c869 Modifications to facilitate conversion to output format. 1999-03-22 23:49:01 +00:00
curt
b8c705fb28 Added GenOutput/ 1999-03-22 23:48:20 +00:00
curt
2637c97e30 FOV set properly when panel activated. 1999-03-22 23:47:55 +00:00
curt
3979f03995 Added Tools/Construct/GenOutput/ 1999-03-22 23:47:35 +00:00
curt
50aabc3bc9 Initial revision. 1999-03-22 12:08:57 +00:00
curt
33726fc21b Changes contributed by Durk Talsma:
Here's a few changes I made to fg-0.58 this weekend. Included are the
following features:
- Sun and moon have a halo
- The moon has a light vector, moon_angle, etc. etc. so that we can have
  some moonlight during the night.
- Lot's of small changes tweakes, including some stuff Norman Vine sent
  me earlier.
1999-03-22 02:08:05 +00:00
curt
88dd015639 Removed Dem2node from the Tools fold.
Tweaked the triangulator options to add quality mesh refinement.
1999-03-21 15:48:00 +00:00
curt
158df3849d Removed Dem2node from the Tools fold.
Tweaked the triangulator options to add quality mesh refinement.
1999-03-21 15:47:59 +00:00
curt
dd5ed6d18b Removed Dem2node from the Tools fold.
Tweaked the triangulator options to add quality mesh refinement.
1999-03-21 15:47:58 +00:00
curt
0f1c53a5bc Updated to reflect current scenery progress. 1999-03-21 15:12:51 +00:00
curt
2f890285e0 Changed the way I handle #define ANSI_DECLARATORS 1999-03-21 14:09:04 +00:00
curt
6090cde756 Define -DANSI_DECLARATORS so that library get's built with ANSI function
prototyping.
1999-03-21 14:04:11 +00:00
curt
033af0d05c Added a mechanism to dump out the triangle structures for viewing.
Fixed a couple bugs in first pass at triangulation.
- needed to explicitely initialize the polygon accumulator in triangle.cxx
  before each polygon rather than depending on the default behavior.
- Fixed a problem with region attribute propagation where I wasn't generating
  the hole points correctly.
1999-03-21 14:02:05 +00:00
curt
b4a9bde0e9 First mostly successful tile triangulation works. There's plenty of tweaking
to do, but we are marching in the right direction.
1999-03-20 20:32:51 +00:00
curt
e07ae2989e Added trisegs.[ch]xx tripoly.[ch]xx. 1999-03-20 13:22:10 +00:00
curt
6708a15ff3 Initial revision. 1999-03-20 13:21:36 +00:00
curt
45da0562fb Continue shaping the code towards triangulation bliss. Added code to
calculate some point guaranteed to be inside a polygon.
1999-03-20 02:21:51 +00:00
curt
453a82a030 Working on preparationsn for triangulation. 1999-03-19 22:29:04 +00:00
curt
549c167962 Only add non-null polygons to output list. 1999-03-19 22:28:46 +00:00
curt
44550e6b70 Use long int for index instead of just int. 1999-03-19 00:27:30 +00:00
curt
7f2ab3559b Continued work on triangulation preparation. 1999-03-19 00:27:09 +00:00
curt
0eed0e0918 Minor tweaks ... 1999-03-19 00:26:51 +00:00
curt
d3f68ace94 Fixed a clipping bug (polygons specified in wrong order).
Touched up a few compiler warnings.
1999-03-19 00:26:18 +00:00
curt
62670d0514 Let's not pass copies of huge structures on the stack ... ye might see a
segfault ... :-)
1999-03-18 04:31:10 +00:00
curt
7e237e7572 Initial revision. 1999-03-17 23:51:59 +00:00
curt
24597f6854 Changed polygon index counter file. 1999-03-17 23:51:25 +00:00
curt
449092be5b Removed forced -g compiler flag. 1999-03-17 23:50:59 +00:00
curt
16cf4eae49 Started work on Triangulate/ section. 1999-03-17 23:49:51 +00:00
curt
53a09c553f minor renaming and a bit of rearranging. 1999-03-17 23:48:58 +00:00