1
0
Fork 0
Commit graph

1348 commits

Author SHA1 Message Date
James.Hester
005fd6886a Added cliff calculation:
1. Added tg_contour includes to cmake files
2. Added calculations based on cliff contours to array.cxx
2018-10-06 18:46:04 +10:00
Scott Giese
5e84fda144 GenApts850: Bug fix
#800 Genapts outputs duplicated data
2018-09-23 00:52:51 -05:00
James.Hester
8509dc1c33 Added processing of DTED files. 2018-09-15 19:39:02 +10:00
Scott Giese
d4d9b9ef0d Merge branch 'next' of ssh://git.code.sf.net/u/scttgs0/terragear into next 2018-08-01 12:58:19 -05:00
Scott Giese
0c57e06377 Benchmarking: Measure execution time 2018-07-16 12:31:46 -05:00
Scott Giese
e9dc4b9d8c Removed Boost foreach 2018-07-16 12:26:40 -05:00
Scott Giese
76de889c47 Ignore Visual Studio Code files 2018-07-16 12:19:28 -05:00
Scott Giese
815d0a8639 Modernize: Convert enums to scoped enums 2018-07-16 12:18:40 -05:00
Scott Giese
135ab745a5 Temporary: Remove obsolete ct (control tower) 2018-07-16 12:00:34 -05:00
Scott Giese
67d8596e8e Ignore Visual Studio Code files 2018-07-01 12:26:28 -05:00
Scott Giese
da1ade82cb tgconstruct: Windows 'copy' is intolerant of forward slashes.
replaced with native path format.
2018-06-24 09:59:27 -05:00
xDraconian
51f9c54076 hgt: Remove dependency on Boost
hgtchop: General code maintenance
2018-06-19 08:57:14 +01:00
xDraconian
acfecfbc4d GenAirport: Support apt.dat version 1100 parsing
GenAirport: Fix typos
2018-06-19 08:57:14 +01:00
xDraconian
c9dee9e9b5 MSVC_3RDPARTY_ROOT: Proper detection when not used
CGAL: Bug fix for CGAL forcing Boost_LIBRARIES to null

CMake: Upgrade to CMake 3.0 minimum
Policy CMP0054: Ensure quoted strings are compared properly
Policy CMP0042: Enable MACOSX_RPATH by default
Policy CMP0071: Allow AUTOMOC to process generated files

CMAKE_BUILD_TYPE: Remove illegal 'None' option
2018-06-19 08:57:14 +01:00
Geoff McLane
d8cb65be17 Install lib Array and header in include/tg 2018-06-13 13:35:01 +02:00
Geoff McLane
72683931aa add MSVC debug version... 2018-06-13 13:31:01 +02:00
Geoff McLane
9b7bd61af3 Add 'Shlwapi.lib' to CORE depends... 2018-06-13 13:26:12 +02:00
Florent Rougon
7454ed51b9 Add missing header <algorithm> in gdalchop.cxx
<algorithm> is required for std::min() and std::max(), thanks to Alan
Teeder for the report.

(cherry picked from commit 6434a5ad2d3b0d88b1337d9126acad8b40365b0e)
2018-03-18 22:05:51 +01:00
Torsten Dreyer
dac1324c94 try to get some useful progress output from tg_chopper 2018-02-13 11:19:16 +01:00
Torsten Dreyer
c5dafbc409 allow setting of debug-level in genapts 2018-02-12 22:49:17 +01:00
Torsten Dreyer
e6f652ab91 Sync clipper library with latest code from SF
Picked from here:
https://sourceforge.net/p/polyclipping/code/HEAD/tree/trunk/cpp/
2018-02-12 22:32:52 +01:00
Torsten Dreyer
9d25a4c4b1 allow setting of debug-level for ogr-decode 2018-02-12 22:27:47 +01:00
Torsten Dreyer
4c857e252f Get rid of a nasty/useless warning 2018-02-12 22:22:00 +01:00
Torsten Dreyer
807f26dfdf Fix some tiny memory leaks 2018-02-08 16:12:29 +01:00
Slawek Mikula
5b5e5fc0cc CMake: explicitly require C++11 support
Explicitly require C++11 support to be able to compile terragear on
older systems.
2017-10-07 08:58:20 +02:00
Torsten Dreyer
95a34ae32a Compile again with latest SimGear
this patch implements the move of sgstream.hxx to simgear/io/iostreams
introduced with simgear commit 79f869a7f32910197be72b21f6489fbbba02c836
2017-06-25 10:47:32 +02:00
Alessandro Menti
cf5fcfc6c0 Replace native paths with UTF-8 paths in tg-construct 2016-12-04 16:22:31 +01:00
Torsten Dreyer
1e32e9bccb Fix missing std:: namespace, bug #1891
see https://sourceforge.net/p/flightgear/codetickets/1891/
Thanks to James Hester for the patch
2016-12-03 09:45:56 +01:00
Alessandro Menti
4c8455c0ee CMake: explicitly link Boost libraries
Explicitly link Boost libraries for programs that need it to prevent
"undefined reference to `boost::system::get_system_category()'" error
messages from appearing.
2016-12-03 09:44:24 +01:00
Alessandro Menti
73dff25ca1 Add SelectLibraryConfigurations.cmake from the FlightGear repository
This fixes the inability of CMake to find SimGear in the case where
only the debug version of the library is installed (the path to the
"optimized" one is rightly set to NOTFOUND, and CMake complains
about that even if we don't need it).
2016-12-03 09:35:32 +01:00
Christian Schmitt
15c9d83a46 Fix ogr-decode file opening error 2015-10-23 13:32:29 +02:00
Martin Spott
8f48b13f09 Update to what we're actually using. 2015-10-07 11:31:59 -07:00
Martin Spott
ac460f9225 Make more comprehensible (hopefully). 2015-10-05 06:58:35 -07:00
Martin Spott
0bb5df8d4d Simple rename. 2015-10-05 06:42:03 -07:00
Christian Schmitt
227cdeab42 Bump minimum GDAL version to 2.0.0. Adapt code to API changes for now.
Porting of OGR to GDAL classes can happen later.
2015-08-08 21:09:36 +02:00
Peter Sadrozinski
082ee9b82f workaround for some missing polygons in ogrdecode
- we clip by row first, then tile.  when a polygon is clipped for a row,
  I can see all resulting polys, but subsequent tile intersection, the
  poly disappears.  I am assuming that the colinear horizontal line causes
  clipper some difficulty.
- workaround is to clip the row slightly larger, so when clipping each
  bucket, there won't be such perfect colinear lines.

I ran a test rectangle around lowi (3x3 degrees, and saw no issue.
2015-07-31 07:44:44 -04:00
Peter Sadrozinski
4f59886aaa genapts fixes
- remove splinter remaval / merging
- remove snap after adding colinear nodes
- added zfighting detector - intersects all generated triangles against one another
- this fixes ELLX, and to a large extent all 'large' airport self z-fighting.
- very small z-fighting still exists at 72 airports.  This is down from over 100 before the fix.
2015-07-24 08:57:24 -04:00
Peter Sadrozinski
968089d322 fixes for Martin's tiles that don't clip correctly
- ogrdecode can create degenerate polys.  clean them before clipping
- when tesselating with extra points, add constrain pointes and segments
  before non contrained points.
2015-06-10 07:11:09 -04:00
Peter Sadrozinski
87fe67d5fc temporary workaround for accumulator diff failure.
- will log the failures to a file in current directory.
2015-05-27 09:53:45 -04:00
Peter Sadrozinski
c5faeae357 some fixes for interpolating added points to the airport holes. fixes most gaps when allowing roads on airport landclass
add zero area triangle check when triangulating without extra points.
2015-04-05 16:52:19 -04:00
Peter Sadrozinski
314671886e genapt fix for transparent pavement - don't substitute with Grass - just ignore the poly 2015-02-07 07:57:04 -05:00
Christian Schmitt
803c618b21 Make sure we can still use CGAL<4.5 as well 2015-01-25 12:20:23 +01:00
Christian Schmitt
95830a9a98 genapts850: Add support for bidirectional lights that were created as omnis until now 2015-01-25 10:57:20 +01:00
Peter Sadrozinski
28edfb0fb8 update tg_nodes for usage with CGAL 4.5 2015-01-24 15:10:44 -05:00
Christian Schmitt
d8d6f1ace1 Genapts: move all elevation-related functions into tg_surface, where they belong. 2014-11-16 21:18:52 +01:00
wlbragg
8aabdbf2ad fix gray triangle effect with urban shader on high 2014-08-29 11:35:17 -05:00
Peter Sadrozinski
47db776404 tgconstruct edge matching with existing terrain 2014-04-18 22:21:07 -04:00
Peter Sadrozinski
c7c8c0be82 align tgconstruct and genapt to new sgbinobj api 2014-04-12 19:02:50 +02:00
j.mas
25294ee911 Incorrect double centerline in taxiways 2014-04-07 17:46:20 +02:00
Martin Spott
c9d7fbbfcd Allow roads on top of airport skirts. 2014-04-02 22:24:22 +02:00