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
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
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
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
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
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
1abe94feba
Remove genapts850 point2d files
2012-10-11 10:07:13 +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
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
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
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
Christian Schmitt
28bc14e4cc
Use CGAL for tesselation in genapts850
2012-10-06 22:10:07 +02:00
Christian Schmitt
ca9a6dda13
Finally get rid of GPC
2012-10-06 22:10:07 +02:00
Christian Schmitt
37d07e6526
add GPC includes only where needed. also add newmat includes
2012-10-06 22:10:06 +02:00
Peter Sadrozinski
c1de74f4fa
Some fixes
...
- genapt850 : some airports (LSMM) have multiple airport boundaries.
This caused a lot of the airport to not get a smoothed base (so some landclass polys were not clipped against the airport). Changed boundary from a single ClosedPolygon to a list. Seems to work.
Some misc warnings cleanup in scheduler, and parser
- Clipper using accumulator results in a significant speed boots - enable clipper and the accumulator by default.
- ogr-decode - most of the crashes I'm getting are due to non-continuous roads. Within a line string, I create adjacent polys that snap correctly. On the ends, I generate 90 degree angles. Some linestrings should be consecutive. As a workaround, I am now extending every start and end poly of linestrings by 0.1 meters. It makes it better, but I need to do a better job of creating continuous roads. This will require some preprocessing of the entire shapefile. (Perhaps all line data shapefiles, to handle correct overpass / underpass logic)
2012-10-06 22:10:05 +02:00
Christian Schmitt
df4e685c84
Remove fans/strips routines. We don't create fans anymore
2012-10-06 22:10:04 +02:00
Peter Sadrozinski
22a8d28857
handle multiple tile construction in a single fgfs-construct run
2012-10-06 22:10:04 +02:00
Peter Sadrozinski
ffc9db1b82
Checkpoint 2
...
- fixed tile matching using add_intermediate_nodes
- source code rearrangement phase 1 - remove a lot of libraries that are not used by other apps
- move some of the Buildtiles libraries that are used by other apps (and libs) into terragear lib directory
- debug message overhal - to show some progress.
TODO - not implemented yet
- caculate face nodes and save in superpoly (where the faces are stored)
- calculate node normals, and store in tg_nodes (where the nodes are stored)
TODO - bugs
- find_intermediate_nodes isn't working for a lot of roads - still many t-juntions making visible gaps
- flatten ocean nosed is also creating gaps
- there's a grey poly on madeira - need to investigate
2012-10-06 22:10:03 +02:00
Christian Schmitt
fb6cee3bb0
Tweak PAPI/VASI object creation, add missing object types
2012-09-21 20:19:47 +02:00
Christian Schmitt
133c0ef91b
Improve buoys calculation for water runways
2012-09-19 10:53:28 +02:00
Christian Schmitt
42e4cefab3
Linear features: alternating green/amber lights were still missing.
...
Support for line light types is complete now.
2012-09-17 11:49:47 +02:00
Christian Schmitt
473992e684
Helipad shoulder support
2012-09-16 22:15:45 +02:00
Christian Schmitt
d81f2c36e1
Add an area around the helipad if the size is not square
2012-09-16 22:15:44 +02:00
Christian Schmitt
ccfde6914a
Linear features: Yellow hold lights are unidirectional to the right of the line direction.
...
Implement this by creating a directional normal for these types.
2012-09-14 12:41:16 +02:00