1
0
Fork 0
Commit graph

277 commits

Author SHA1 Message Date
curt
f8f6dbcfde Debugging output tweaks. 1999-03-31 23:46:48 +00:00
curt
af55795d49 Debuggin output tweaks. 1999-03-31 23:46:38 +00:00
curt
d3e3985f4b Added scenery_version.hxx to source distribution. 1999-03-31 23:46:20 +00:00
curt
14273c1760 Debugging output tweeaks. 1999-03-31 13:26:39 +00:00
curt
8a691a975f Fixed bug in genfans (deleting the wrong triangles from the available pool.) 1999-03-31 05:35:04 +00:00
curt
6a7b127577 fiddling ... 1999-03-30 23:51:14 +00:00
curt
21b1516131 Modifications to fanify by attribute. 1999-03-30 23:50:43 +00:00
curt
0b74b1bbf2 Fannifier is clearly bugging ... working on debugging it. I suspect there
is a problem related to deleting triangles from the triangle pool as they
are combined into fans.
1999-03-30 23:50:15 +00:00
curt
bec6a05d33 Added some debugging output. 1999-03-30 23:49:22 +00:00
curt
3f3afe1614 Working towards better handling of multi-contoured polygons. 1999-03-30 13:41:38 +00:00
curt
ad2835f3e3 Initial revision. 1999-03-29 13:19:44 +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
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
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
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
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