curt
93b23973c7
FreeBSD tweak.
1999-06-29 15:28:03 +00:00
curt
1e606bc183
Tweaked the polygon type prioritization scheme just a bit.
...
Fixed a bug (dumb test idea) that was throwing away ocean areas.
1999-06-12 14:13:01 +00:00
curt
c79bc6756a
ping a client to make sure it is alive before launching a process on it.
1999-06-11 00:25:03 +00:00
curt
3b3e09d992
Added urban area type.
1999-06-11 00:24:23 +00:00
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
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
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
b25252a656
Use int instead of socklen_t.
1999-05-29 13:03:43 +00:00
curt
f508123cad
Early beginnings of sliver removal code.
1999-05-27 00:19:04 +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
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
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
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
curt
114a8dd157
Ignore OceanArea from hydro data.
...
Left over, unclaimed area is now ocean.
1999-05-13 02:36:16 +00:00
curt
c062fe49c4
Start of support for precalculating texture coordinates.
...
Try to avoid a situation where you cycle between too many nodes and two few
nodes with just a single increment of error level.
1999-05-12 02:09:02 +00:00
curt
bc91f0ce1c
Borland portability fixes contributed by Charlie Hotchkiss.
1999-05-08 02:33:13 +00:00
curt
9488efde97
master.cxx (outer shell for doing mass scenery generation) now working.
1999-05-06 11:45:55 +00:00
curt
f5bb467c57
Added master.cxx, prepairing main.cxx to be called by other programs.
1999-05-06 02:19:39 +00:00
curt
c5b835c97b
Initial revision.
1999-05-06 02:19:11 +00:00
curt
8782eeec9f
Commented out several debugging output messages.
1999-05-04 21:01:25 +00:00
curt
39c2919f5a
Basic tile edge matching now seems to be working.
1999-05-04 20:53:08 +00:00
curt
dd516b37d9
More work on tile add matching. Added second triangulation. Now need to
...
debug to see why none of it works! :-)
1999-05-04 12:40:18 +00:00
curt
bab8b9cadf
More changes to split up tiles, munge in the previously existing shared
...
pieces, and reassemble, so we are ready to retriangulate.
1999-05-04 04:12:07 +00:00
curt
869e47fca4
Continued work ...
1999-05-03 23:12:08 +00:00
curt
9b5912914d
Starting work on section that will read in existing neighbor data.
1999-05-03 11:43:41 +00:00
curt
65a220fb25
Added construct.cxx
1999-05-03 11:29:36 +00:00
curt
1e6be4b238
More tweaks ...
1999-05-03 11:28:14 +00:00
curt
99e83c21a4
Further restructuring to facilitate the tile edge matching process.
1999-05-02 22:11:30 +00:00
curt
5308916996
Added construct.[ch]xx as a data repository class to hold all the data that
...
needs to be passed back and forth during the scenery assembly.
1999-05-02 22:10:51 +00:00
curt
73e1f46466
Initial revisions.
1999-05-02 22:07:55 +00:00
curt
f2fb1eb99a
Restructuring code and data to facilitate the tile edge matching process.
1999-05-02 18:41:24 +00:00
curt
134d7cf480
Renamed constuct.cxx to main.cxx
1999-05-02 15:22:21 +00:00
curt
7e5aa9c98c
Fixing slight bugs with calculating point inside multi-contoured polygons.
1999-04-29 21:39:27 +00:00
curt
026b9301c5
Fixed several problems with "hole" support, but it appears that things
...
are working much better. Crater lake now has an island which is always
a good thing. :-)
1999-04-29 04:30:24 +00:00
curt
cf3d9c5572
Renamed tripoly.* to polygon.*
...
First stab at multi-contour polygon support.
1999-04-28 22:18:19 +00:00
curt
20228603ed
Changes to support new gpc api with hole tracking support.
1999-04-16 00:00:42 +00:00