1
0
Fork 0
Commit graph

11518 commits

Author SHA1 Message Date
curt
ad2835f3e3 Initial revision. 1999-03-29 13:19:44 +00:00
curt
d911dc88a2 Added Tools/Construct/GenFans/ 1999-03-29 13:14:17 +00:00
curt
fc6eee819b Shuffled stl type names a bit.
Began adding support for tri-fanning (or maybe other arrangments too.)
1999-03-29 13:11:00 +00:00
curt
d3b0d463d0 Initial revision. 1999-03-29 13:08:35 +00:00
curt
7307279d5b Tweaks to bounding sphere calculation routines.
Group like triangles together for output to be in a single display list,
even though they are individual, non-fanified, triangles.
1999-03-27 14:06:42 +00:00
curt
c6f97e5413 More sensible handling of the case where no dem file for this tile exists
(or has been generated).
1999-03-27 14:05:10 +00:00
curt
2c920ae1df Added is_open() so we can check if the open() succeeded. 1999-03-27 14:04:25 +00:00
curt
35e2cf2307 Alas, I have made non-backwardsly compatible changes to the scenery file
format.  Thus I have had to make the corresponding changes here in the
  file loader.
Things that do not correspond the the .obj format are placed in comments.
1999-03-27 05:36:03 +00:00
curt
bbde3b36bf Elimitated some const warnings from the compiler. 1999-03-27 05:34:05 +00:00
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