1
0
Fork 0
Commit graph

1133 commits

Author SHA1 Message Date
Christian Schmitt
75515f14ba fix MSVC build 2012-11-15 10:32:06 +01:00
Peter Sadrozinski
9df1e2a81b add a tgPolygon::Diff for diff againt another polygon
(unused for now, but was used in experiments)
2012-11-15 08:26:00 +01:00
Peter Sadrozinski
d2bc41428c fix the other FindIntermediateNodes error. This seems to have fixed
the hole in the runway at LIMA as well - I think it's ok for master
2012-11-15 08:25:48 +01:00
Peter Sadrozinski
79c9b17595 - fix taxiway texturing
- fix tgPolygon::FindIntermediateNodes
  we were messing up on east west segment nodes, so we had bad t-junctions
2012-11-14 09:21:55 +01:00
Peter Sadrozinski
f6a08f3095 handle closed poly case where clip results in no contours
when dumping accumylator, dump each stage in its own layer
2012-11-11 23:21:18 +01:00
Peter Sadrozinski
76ee23a294 Adding new construct style debug to genapt850.
format is
--debug-runways=icao:rwy#,rw#...
--debug-pavements=icao:rwy#,rw#...
--debug-features=icao:feat#,feat#...

I think it may be time to stop running each airport in its own process and run in seperate threads.
The passing of parameters is geting confusing, and the reason for it seams to have disapeared with the
removal of triangleJRS
2012-11-11 23:21:18 +01:00
Christian Schmitt
620f941609 Port apt_surface and elevation to SGGeod 2012-11-11 23:21:17 +01:00
Peter Sadrozinski
780e836e8b Fix for helipad texturing
Fix for helipad base and clearing when we have borders
Remove extra debug statements
2012-11-11 23:21:17 +01:00
Christian Schmitt
fae73f38b5 apt_math: Rename the length variable to make its purpose clearer 2012-11-11 23:21:17 +01:00
Christian Schmitt
e9c3f3065c Change runway object routine. Do elevation calculation and model write out in one loop 2012-11-11 23:21:17 +01:00
Christian Schmitt
707e939337 More cleanup on the runway and helipad side. Remove point3d occurences from helipad light code. 2012-11-11 23:21:17 +01:00
Peter Sadrozinski
608057596b genapts port complete - time to debug 2012-11-11 23:21:17 +01:00
Christian Schmitt
820c9a6b5d Try to fix build with CGAL under MSVC 2012-11-11 19:09:30 +01:00
Christian Schmitt
858191ead9 Remove some warnings that MSVC complained about 2012-11-11 11:38:31 +01:00
Frederic Bouvier
9db8ec74f0 MSVC 10 compile fix 2012-11-10 19:44:43 +01:00
Frederic Bouvier
83f41ae4bc MSVC 10 compile fix 2012-11-10 19:41:58 +01:00
Frederic Bouvier
35ce3f8a49 MSVC 10 compile fix 2012-11-10 19:29:44 +01:00
Frederic Bouvier
9fa7f645d9 MSVC 10 compile fix 2012-11-10 18:41:07 +01:00
Christian Schmitt
92cb090ead gdalchop: some cleanup of the "using" directive 2012-11-08 19:46:11 +01:00
Christian Schmitt
da8003b1e3 Get rid of a system calls to gzip in demchop and gdalchop 2012-11-08 13:30:35 +01:00
Peter Sadrozinski
619bc7f1f7 a better fix for the boundary box fix 2012-11-07 21:55:58 -05:00
Peter Sadrozinski
c6d60ecd5b fix for the til matching issue created when converting from SGVec3d to SGGeod for bounding box 2012-11-06 19:32:17 -05:00
Christian Schmitt
bf7d86732d Remove the newmat dependency and bring in TNT templates as a substitute 2012-11-05 12:14:15 +01:00
Christian Schmitt
e77e5d43d5 Fix a bug in the water runway calculation: The area was made twice as long as needed. 2012-11-01 11:02:24 +01:00
Christian Schmitt
a5d1035717 Runway objects: do not add empty light objects that lead to a SG warning 2012-10-28 12:59:28 +01:00
Christian Schmitt
9587d6d292 Implement RAIL approach light system 2012-10-25 14:25:40 +02:00
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