curt
20e014a16e
Reversing the order of points causes the area calculation to return a
...
negative number. Polygon holes are wound opposite of non-holes. I was
throwing out holes with area < epsilon (i.e. all holes) ... enough said.
1999-06-10 02:01:09 +00:00
curt
3b51535fc0
Updated for 0.6.0
1999-06-09 21:07:30 +00:00
curt
af35b3dd9c
Updates for version 0.6.0
1999-06-09 21:06:45 +00:00
curt
aa2fdd282d
Also add really small area polygons to sliver list, even if they pass
...
the min_angle test.
1999-06-08 11:20:24 +00:00
curt
f13b3855c1
Sliver detection and elimination:
...
After I clip a polygon against the more important stuff, I
check the area and minimum interior angle of each of it's contours.
If both (area and min interior angle) are below some threshhold I'm
calling it a sliver. Then I go and look for another polygon such that
result = polygon_union( poly, sliver ) yields a result that doesn't
have anymore contours than the original poly. This means the sliver
is adjacent to poly. So I replace poly with result (the union) and
keep going.
1999-06-07 03:40:33 +00:00
curt
f6ef882e9e
Updated the libgpc.a build instructions with an important note.
1999-06-07 03:39:17 +00:00
curt
ae0d64594e
Rewrote the polygon.[ch]xx class to save actual point data, rather than
...
indices to points.
Then with that in place I added wrapper functions for the libgpc calls so
I could ensure that I was always deallocating any allocated memory (which
was a concern before.)
This was all done in order to facilitate sliver detection and elimination
which is my next order of business.
These changes then were propogated through out the construction tools.
1999-06-06 02:31:34 +00:00
curt
687e883e0a
The next round of MacOS changes contributed by Darrell Walisser.
...
Starting work on fixing tringle slivers in scenery generation tools.
1999-06-05 12:45:40 +00:00
curt
d3908f531f
Fixed a bug that caused the hud fonts to disappear when ever the moon was
...
being drawn.
1999-06-04 21:38:31 +00:00
curt
dc729fae17
Packaging fixes.
1999-06-04 20:35:47 +00:00
curt
3bfd20a2b9
Mac portability changes contributed by "Darrell Walisser" <dwaliss1@purdue.edu>
1999-06-02 22:22:47 +00:00
curt
d8130925f1
Fixed some IRIX compile warnings and errors.
1999-06-01 21:17:36 +00:00
curt
70505137eb
GUI updates contributed by Norman Vine.
1999-06-01 21:17:10 +00:00
curt
84468dddea
Fixed an IRIX warning message where an inline function is referenced
...
before it is defined.
1999-06-01 21:16:33 +00:00
curt
4eb398a807
Removed old directories from configure script.
1999-06-01 21:15:46 +00:00
curt
5f000ddf80
Update README.plib with clearer wording.
...
Fixed the == compare in point3d.hxx.
1999-06-01 21:01:03 +00:00
curt
b25252a656
Use int instead of socklen_t.
1999-05-29 13:03:43 +00:00
curt
9d78e32da8
Fix bug with passing PUI keystrokes on to glut.
1999-05-29 13:03:26 +00:00
curt
d72a6a0bd4
Namespace tweak.
1999-05-29 13:03:03 +00:00
curt
2bc4367570
URL tweaks.
1999-05-29 13:01:35 +00:00
curt
7c6b95756a
Updated for version 0.6.0 release.
1999-05-27 01:03:20 +00:00
curt
cdbc9a9a5f
Use PLIB joystick routines for windows and linux.
1999-05-27 00:21:54 +00:00
curt
1663d1628f
Force use of PLIB joystick routines.
1999-05-27 00:21:37 +00:00
curt
bf56b15f7e
GUI changes contributed by Norman Vine.
1999-05-27 00:21:22 +00:00
curt
86cc2b162a
Exclude docs from base package.
...
Added Curt Olson to Thanks file.
Force use of plib joystick code.
1999-05-27 00:20:52 +00:00
curt
f508123cad
Early beginnings of sliver removal code.
1999-05-27 00:19:04 +00:00
curt
2ce6a72150
Added Robin Peel.
1999-05-27 00:18:39 +00:00
curt
875ea2c872
Whups, fixed a simple bug so you can now fly across the lon = +/-180
...
boundary without any problems.
1999-05-25 11:54:21 +00:00
curt
d87e7ef7d7
Initial revision.
1999-05-22 01:16:15 +00:00
curt
4108680ce0
Refinements to the parallelization tools
1999-05-22 01:15:32 +00:00
curt
6f72fa77ad
Working on problems with handling tiny slivers.
1999-05-21 02:10:28 +00:00
curt
56142b4c93
Fixed a bad bug which was showing itself with tiny triangles which caused
...
the region point to be calculated outside the region which caused things to
be colored improperly. Fixed by only evaluating the points of the current
contour (rather than the whole polygon) when generating the region points.
1999-05-20 04:27:20 +00:00
curt
ffe499047e
fiddled with debugging output.
1999-05-20 04:23:19 +00:00
curt
5d8d7bc687
Better error catching and recovery when our input sends the triangulator
...
into never, never land.
1999-05-19 20:01:53 +00:00
curt
447cc39f7b
Better error reporting when dying because of too many nodex, normals, or
...
texture coords.
1999-05-19 20:01:15 +00:00
curt
1cbe332e1c
Debugging various problems with prepairing input that triangle() can
...
handle.
1999-05-19 02:51:07 +00:00
curt
accb6a88ff
Debugging tweaks ...
1999-05-18 16:40:32 +00:00
curt
870d9e6e4b
More work on error catching/logging and communication between server/client.
1999-05-18 03:30:44 +00:00
curt
e2cd1af1eb
More development ...
1999-05-17 23:32:23 +00:00
curt
bc0450631f
Tweaks to parallel construction tools.
1999-05-17 17:43:52 +00:00
curt
5a7e54125b
Client/server relationship now seems to be working well.
1999-05-15 14:06:41 +00:00
curt
5def32901a
Added subdir Tools/Construct/Parallel/
1999-05-15 01:12:19 +00:00
curt
e49adc2626
Added subdir Parallel for tools to parallelize the scenery construction
...
process.
1999-05-15 01:09:26 +00:00
curt
e62c0275ff
Initial revision.
1999-05-15 01:08:00 +00:00
curt
cb6c0e8e45
Whups, stupid syntax error, should have compiled before committing.
1999-05-13 19:08:10 +00:00
curt
91c20a18fc
Fixed a problem with texture loading and mipmap building where the lower
...
mipmap levels were coming out hosed.
Adding a call to xglPixelStorei(GL_UNPACK_ALIGNMENT, 4); restores it to the
default setting which was getting set to something else in other parts of
the code.
1999-05-13 19:01:29 +00:00
curt
8407c3f47b
Process large shapes much more efficiently by subdividing them first.
1999-05-13 02:38:34 +00:00
curt
202d1bb6e6
Changed priorety of the Default area.
1999-05-13 02:37:56 +00:00
curt
9d9c1676c0
Working on adding true coast lines with all non-land areas now becoming
...
ocean.
1999-05-13 02:37:40 +00:00
curt
5e40c3dfb9
Working on generating standard size texture coordinates that can be scaled
...
at runtime per the actual texture size.
1999-05-13 02:37:06 +00:00