1
0
Fork 0
Commit graph

1057 commits

Author SHA1 Message Date
Christian Schmitt
8896dbcba8 Implement omnidirectional REIL 2012-10-25 14:20:31 +02:00
Christian Schmitt
3155bbff0f Remove about 50% of the main light routine by using a loop 2012-10-25 13:42:14 +02:00
Christian Schmitt
cd436fcae9 Convert Calvert lights. This is the last part of the SGGeod/metric conversion.
Also remove now-unneeded includes and old functions
2012-10-24 15:40:00 +02:00
Christian Schmitt
2d9aa0bfa8 Convert gen_malsx to SGGeod 2012-10-24 15:40:00 +02:00
Christian Schmitt
368d290edc Convert gen_ssalx to SGGeod and metric system 2012-10-24 15:40:00 +02:00
Christian Schmitt
4dd1d5c2b1 Convert gen_alsf light function to SGGeod 2012-10-24 15:39:59 +02:00
Christian Schmitt
f86782119c Runway lights: correct the TDZ numbers and do some more cleanup 2012-10-24 15:32:13 +02:00
Christian Schmitt
1c8dbead04 Convert threshold lights to SGGeod and simplify the routine 2012-10-24 10:44:53 +02:00
Christian Schmitt
5e796d2dd5 Runway lights: convert ODALS to SGGeod 2012-10-24 10:40:32 +02:00
Peter Sadrozinski
9a78c73606 remove temporary simgear workaround 2012-10-22 17:56:44 -04:00
Peter Sadrozinski
7138b8509c some more very minor optimizations 2012-10-22 17:53:20 -04:00
Peter Sadrozinski
4f63c54d94 temporary workaround for read / write SGGeods to a gzip file.
- I'll revert this once I get my merge request in simgear
2012-10-21 15:54:29 -04:00
Peter Sadrozinski
fc304804ab Use the Accumulator in the Polygon Library, instead of passing one around.
The accumulator in the polygon library has the bounding box hit test, so it's faster
My test run decreased 16 seconds from 71 to 54.
2012-10-21 15:40:34 -04:00
Peter Sadrozinski
68640c4479 Convert OffsetPointBegin and OffsetPointEnd to SGGeod
Convert beznode locations to SGGeod
Optimize the distance calculations in linearfeature and closedpoly
2012-10-21 14:37:04 -04:00
Peter Sadrozinski
78a19db02d Convert OffsetPointMiddle to use GSGeod and SGVec3 in linear features 2012-10-20 14:51:50 -04:00
Peter Sadrozinski
ec750c6732 Start LinearFeature SGGeod conversion 2012-10-19 20:34:38 -04:00
Peter Sadrozinski
8698ab4e69 Use SGGeod as reference point in TGTexParams 2012-10-19 17:56:10 -04:00
Peter Sadrozinski
d629fa8215 remove unused texparams.hxx - it's in the Polygon Library, now 2012-10-19 17:56:10 -04:00
Christian Schmitt
7d7d4e41a6 Convert runway edge lights to SGGeod 2012-10-19 10:26:00 +02:00
Peter Sadrozinski
2dd32d2839 add --force option to hgtfit.
This option will ignore when loading, and replace when writing the
.fit.gz files.  Very useful when experimenting with different levels of detail.
2012-10-18 20:42:09 -04:00
Christian Schmitt
165f7e2481 Convert REIL lights function 2012-10-18 16:45:00 +02:00
Christian Schmitt
3b13084218 Convert runway touchdown zone lights to SGGeod 2012-10-18 16:45:00 +02:00
Christian Schmitt
365a89f20b Convert runway center line lights to SGGeod 2012-10-18 16:45:00 +02:00
Christian Schmitt
7d827457b9 Keep on constructing if node id is not found (segfaults if not caught) 2012-10-18 16:43:48 +02:00
Christian Schmitt
e4e7d8bffd Convert remaining runway functions to SGGeod 2012-10-18 14:53:01 +02:00
Christian Schmitt
8d4495d470 Use a SGGeod bounding box instead of SGVec3 for geodetic coordinates 2012-10-18 08:40:28 +02:00
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