1
0
Fork 0
Commit graph

1031 commits

Author SHA1 Message Date
Peter Sadrozinski
c336c134bf Use binary gzip files to store intermediate and shared edge files
Sort the nodelist to speedup node lookup after all nodes inserted
retrieve the node list just once in flatten elevation
2012-10-17 19:33:13 -04:00
Christian Schmitt
b6a4dacf33 Convert runway light vector calculation to SGVec3 and SGQuat 2012-10-17 14:24:47 +02:00
Christian Schmitt
306b125044 Use a SGGeod bounding box for the scheduler 2012-10-17 14:13:13 +02:00
Christian Schmitt
8a12f010f5 Convert apt_math functions and runway polygon creation to SGGeod/SGVec3 2012-10-17 14:12:17 +02:00
Christian Schmitt
bda3ee3a91 Convert helipad routine to Vec3 2012-10-17 13:25:06 +02:00
Christian Schmitt
4d3f1efd30 Convert Rectangle function to SGGeod 2012-10-17 12:55:35 +02:00
Christian Schmitt
f3f6cd50f1 Convert airport normal calculation to SGVec3 2012-10-17 12:38:12 +02:00
Christian Schmitt
3e80fdb649 Convert linearfeatures normal calculation to SGVec3 2012-10-17 12:37:56 +02:00
Christian Schmitt
b5c9eb5154 Convert airport objects to SGGeod and SGVec3 2012-10-17 12:35:03 +02:00
Christian Schmitt
440ef1cfbb Store SGGeod values in Point3d as deg, not rad 2012-10-17 11:10:00 +02:00
Christian Schmitt
a1a331db7c Remove old libs and tools that have better counterparts in GDAL/GRASS nowdays. genapts810 has to go as well 2012-10-17 11:07:48 +02:00
Christian Schmitt
8a092947da Time to remove old PAPI/VASI code from the runway lights routine 2012-10-17 09:41:23 +02:00
Christian Schmitt
bb79b9ccb4 Bump Simgear version dep. We need the SGGeod isValid() check now which got added recently 2012-10-16 10:33:59 +02:00
Christian Schmitt
aead9a1f9d USGS map file is only needed when --cover is enabled.
Also put the log output into the respective functions
2012-10-15 22:15:16 +02:00
Christian Schmitt
d6c3a67caf Convert construct to use a bounding box for setting lat/lon values
and thus make it consistent with genapts
2012-10-15 15:10:21 +02:00
Christian Schmitt
e8896f891c Remove another point2d occurence from Demchop 2012-10-13 13:06:31 +02:00
a7b49565b3 - adding bounding box clip optimization to tgconstruct
- revert some bad ogr-decode changes that caused too angular linear data
2012-10-13 00:18:15 -04:00
5917cb62d1 and fix the CMake file for the polygon library - didn't do a clean build before commit 2012-10-11 21:36:45 -04:00
71ef172b8f revert mistakenly committed tgconstruct with find_slivers enabled.
- I was using it to test the Point2d -> SGVec2d minimum angle calculations
2012-10-11 21:04:31 -04:00
59e2f22050 no more Point2d - use SGVec2d. 2012-10-11 20:57:53 -04:00
531ec93b29 fix for segmentation fault on ocean tiles
- don't save the intermediate data file when tile is ocean only
- don't do anything in later stages if intermediate file isn't found
2012-10-11 19:20:12 -04:00
Christian Schmitt
1abe94feba Remove genapts850 point2d files 2012-10-11 10:07:13 +02:00
Peter Sadrozinski
040cb87873 - clipper fix for hole issue
- some missed code cleanup
2012-10-09 22:07:22 -04:00
Peter Sadrozinski
f0d8d37671 - fix shape debug after rebase.
- improve the 32768 traingles per material workaround
2012-10-09 18:30:03 -04:00
Christian Schmitt
abfea1cd2d Remove Osgb36 (UKgrid) support. Such conversions should be done with the proper tools. 2012-10-09 12:26:52 +02:00
Christian Schmitt
c1d0a92ea8 Add cliptst to gitignore 2012-10-07 21:35:21 +02:00
Christian Schmitt
768338ddd1 remove the GDAL option as well 2012-10-07 00:35:01 +02:00
Christian Schmitt
15365a3acd CMake: the deps are no longer optional. It makes no sense to compile without GDAL 2012-10-07 00:24:18 +02:00
Christian Schmitt
e18c939f66 Speed up linear feature clipping. This makes the creation of airports much faster. 2012-10-06 22:10:10 +02:00
Christian Schmitt
edf8e8310f Convert get_bounding_box to SGVec3d 2012-10-06 22:10:10 +02:00
Christian Schmitt
eaec9905f7 Issue 888: Apply to newconstruct: Correctly calculate the bucket center and radius.
The previous routine lead to offsets in the verts and
thus to problems in the transition shaders.
2012-10-06 22:10:10 +02:00
Christian Schmitt
29e77c4c40 Fix cliptst install routine 2012-10-06 22:10:10 +02:00
Peter Sadrozinski
cc0d913712 - refactor construct.cxx into smaller files
- remove Match - tile matching now handled in tgconstruct_shared.cxx
2012-10-06 22:10:09 +02:00
Peter Sadrozinski
c39e3e0542 elevation averaging and neighbor tile faces included in point normal calculation 2012-10-06 22:10:09 +02:00
Peter Sadrozinski
6a3a57f198 tile matching phase 1
- 3 stage construct
- insert neighbor vertexes from all sides
2012-10-06 22:10:09 +02:00
Peter Sadrozinski
779db9566b multistage coming along - need TGNodes derialization 2012-10-06 22:10:09 +02:00
Peter Sadrozinski
f52e3fef75 fix clipper usage to fix accumulator contours. 2012-10-06 22:10:09 +02:00
Peter Sadrozinski
b44c6c00d0 - some clipperfixes for tgconstruct. bring in clipper 4.8.9
Hopefully, we can start another clc06 test with this fix
- add lots of debug, in case more clipper issues uncovered
  added --debug-areas= allows turning on debug for an area
  can dump the accumulator when using it.
- fixed the swirlies round 2 workaround on tile output, rather than
  stopping the load of polygons at arbitrary threshold.
  (hopefully, we'll have a fix for this in simgear soon)
- modified ogr-decode (when using --texture-lines) to insert triangles
  instead of self-intersecting trapezoids when the turn angle between
  segments is too steep (hit this issue when experimenting with cgal-clipping)
  we were adding a lot of self intersecting polys on line data
- needed to add gdal library to all executables that link against Polygon
  TODO - combne Geometry and Polygon libs - they are completely joined, now.
2012-10-06 22:10:09 +02:00
Peter Sadrozinski
55bfcd80e7 fix for ogr-decode --line-width-column option.
When combined with the --line-width option, if the field is present, but has
no value, gdal returns 0.  Use the value from --line-width in this case.
2012-10-06 22:10:09 +02:00
Christian Schmitt
cd0ee283c0 Adapt helipad shoulder to newconstruct changes 2012-10-06 22:10:09 +02:00
Christian Schmitt
e367395813 Remove runway type check that always returns true 2012-10-06 22:10:09 +02:00
Christian Schmitt
723ce3b7d5 CMake: require at least CGAL 4.0 2012-10-06 22:10:09 +02:00
Christian Schmitt
eccb6d1388 Fix for a genapts810 segfault in conjunction with clipper use 2012-10-06 22:10:08 +02:00
Christian Schmitt
36c8cbbb15 genapts scheduler: improve info message 2012-10-06 22:10:08 +02:00
Christian Schmitt
c016041337 Remove TriangleJRS. All tesselation is now done by CGAL. 2012-10-06 22:10:08 +02:00
Christian Schmitt
65bcb00dee Switch old genapts to CGAL for tesselation 2012-10-06 22:10:08 +02:00
Christian Schmitt
e8936f773c genapts (old): removal of GPC introduced wrong runway polys in some cases. Add snap to fix this.
Fix airport skirts as well
2012-10-06 22:10:08 +02:00
Peter Sadrozinski
87df5b805e add help text for --share-dir 2012-10-06 22:10:08 +02:00
Peter Sadrozinski
3b2dfba225 - add --shared-dir option to get ready for new tile matching
and make it easier to share work and data dirs on a server
2012-10-06 22:10:08 +02:00
Christian Schmitt
916544f4fe Fix the wrong normals on the airport skirt, introduced by the GPC removal.
Simply changing the order of upper and lower points does the trick.
Also fix indentation
2012-10-06 22:10:08 +02:00