Scott Giese
3e9e87cb8b
3 character patch for terragear cliff height interpolation
...
James Hester <jamesrhester@gmail.com>
2019-07-15 13:38:54 -05:00
Scott Giese
6807638af1
Omni to Unidirectional lights.
2019-06-14 20:19:19 -05:00
legoboyvdlp R
17bd9d49c6
Linear Features: exit cleanly when GenApts comes across unrecognized linear features (avoid high memory consumption)
2019-06-06 21:39:47 +01:00
Scott Giese
a9e26a6099
[tg-construct] Bug fix.
...
SGGeod only overloaded operator==.
Avoid usage of operator!=.
North & East edge belong to adjacent buckets.
Displace bounding box away from the bucket edges to
avoid a slope to elevation zero when the adjacent bucket
does not exist.
2019-04-24 00:13:37 -05:00
Scott Giese
0eabdba9c8
[tg-construct] source code formatting.
2019-04-23 18:53:50 -05:00
Scott Giese
861d3bff78
[ogr-decode] cliff texture is only applied to cliffs
...
Ensure the cliff texture is only applied to cliffs.
Technical Debt and code maintenance.
2019-04-23 12:37:18 -05:00
Scott Giese
3e0ecec965
[ogr-decode] source code format only.
2019-04-23 11:51:05 -05:00
Scott Giese
6a00e62e08
[terrafit] performance increased 2%
2019-04-22 20:29:29 -05:00
Scott Giese
93440e4acd
[terrafit] source code format only
2019-04-22 20:24:27 -05:00
Scott Giese
53cb8086b3
tgconstruct_landclass is obsolete. Removed.
2019-04-02 22:39:52 -05:00
Scott Giese
d591a24a40
USGS classes are obsolete. Removed.
2019-04-02 22:34:36 -05:00
Scott Giese
18f7e35c1d
[bucket_span] Align with SimGear implementation
2019-04-02 19:15:10 -05:00
Scott Giese
e90d8a0593
[tg_polygon] Restore support for Texture(void)
2019-04-02 00:27:08 -05:00
James.Hester
61ea3cd50a
Added new texturing method. Added sanity check for polygon file
...
reading.
New texturing method TG_TEX_HORIZ_REF requires that each polygon
has a reference texture coordinate specified for a specific point on the
polygon. The coordinate changes parallel to a direction (also
stored) and the other texture coordinate changes perpendicular
to this direction. The reference texture coordinates in polygons
of the same type can be chosen to match that of their neighbours
to produce a continous map onto a texture. This technique can
be used to texture rivers or cliffs as their direction
changes.
The sanity checks simply make sure that the number of contours
or polygons reported in a file are not too large. This could
happen if a polygon file was generated by a previous version
of terragear tools with an incompatible layout of polygon
information, or a non-polygon file is present in the input
directory and is opened as a polygon file.
2019-02-24 23:03:00 +11:00
James.Hester
b718d909a4
Merge remote-tracking branch 'origin/next' into next
2019-02-07 22:10:13 +11:00
Scott Giese
511a91b003
[chop.idx] Ensure binary r/w.
2019-02-01 14:53:24 -06:00
Scott Giese
8fe4a00eea
[chop.idx] Make maintenance of the index cross-platform and reliable.
2019-02-01 12:54:43 -06:00
Scott Giese
791314a909
Last set of technical debt items
2019-01-31 17:49:43 -06:00
Scott Giese
640c91b369
[grass scripts] minor clean up
2019-01-31 16:54:37 -06:00
Scott Giese
f88863e4c2
Reduce debt. Eliminate shadow variables.
2019-01-30 20:14:29 -06:00
Scott Giese
488b69c63f
[genapts] Eliminate variable shadowing.
...
Default initialization overrides.
2019-01-30 01:51:48 -06:00
Scott Giese
9a5eac3c59
Reduce technical debt
2019-01-29 23:07:35 -06:00
Scott Giese
ca98d2ef5d
[tg-construct] Reduce technical debt
2019-01-29 14:55:50 -06:00
Scott Giese
911f7f9d27
[Genapts] Reduce technical debt.
2019-01-29 14:02:18 -06:00
Scott Giese
279868b782
[Utils] Discontinue usage of deprecated GDAL methods.
2019-01-28 01:10:53 -06:00
Scott Giese
4fa0606498
[Lib, Prep, Utils] Reduce technical debt.
2019-01-28 00:11:44 -06:00
Scott Giese
fb50bb4681
[Genapts] Reduce technical debt. Migrate away from usage of <cstdio>.
2019-01-27 18:59:01 -06:00
Scott Giese
a8677d4f16
Minor improvements for resource management
2019-01-27 13:21:08 -06:00
Scott Giese
4d0a32044d
Remove features that were never implemented.
2019-01-27 13:18:39 -06:00
Scott Giese
0739823db6
raw2ascii, demchop, and SRTM-30 are obsolete.
2019-01-27 12:25:12 -06:00
Scott Giese
ba4d58675a
ogr-decode: Resolve memory leaks.
...
Reclaimed 529,410 bytes in 5,750 blocks.
ogr-decode memory stability : Good.
Remaining Leaks: 32 bytes in 1 block.
2019-01-26 23:59:54 -06:00
Scott Giese
c9d2959f3a
CMake: Fix build on Windows
2019-01-20 22:34:57 -06:00
Scott Giese
1716820c16
genapt: Resolve memory leaks.
...
Reclaimed 1,419,778 bytes in 6,419 blocks.
genapt memory stability : Good.
2019-01-20 18:02:41 -06:00
Scott Giese
3ec0a1eabb
Expand initial Heap size to 16K to reduce occurrences of resizing
2019-01-20 17:57:31 -06:00
Scott Giese
40e554e1cf
TerraGear now requires the C++14 Standard
2019-01-20 17:55:08 -06:00
Scott Giese
de43172716
Minor clean up
2019-01-20 17:52:56 -06:00
Scott Giese
e84b69efae
Clean up some compile warnings
2019-01-16 19:27:58 -06:00
xDraconian
810a88b754
Merge /u/jreh/flightgear/ branch cliff-updates into next
...
https://sourceforge.net/p/flightgear/terragear/merge-requests/15/
2019-01-14 05:09:55 +00:00
Scott Giese
1a3d4e386e
hgt: runtime optimization
2019-01-13 01:30:40 -06:00
James.Hester
fe958f4eb3
Merge branch 'cliff-updates' into next
2019-01-13 10:33:47 +11:00
James.Hester
3421ce2018
Numerous small fixes following code review:
...
(1) Whitespace use matched better to surrounding code
(2) While(1) in TGArray::rectify_heights replaced with do/while loop
(3) Incorrect interpolation for 2 points fixed in altitude_from_grid
(4) exit(1) replaced with return EXIT_FAILURE in cliff-decode.cxx
2019-01-13 09:59:00 +11:00
James.Hester
dfe81ce9fa
Changed exit(1) to EXIT_FAILURE; use delegation in constructors;
...
check for endianness only once per invocation.
2019-01-12 09:29:39 +11:00
James.Hester
958750f1ab
Fixed incorrect height calculation when interpolating between two non-diagnonal points.
2019-01-11 09:06:09 +11:00
Torsten Dreyer
661f840843
Fix some memory leaks
...
detangle some /interesting/ use of pointer/reference usage
2019-01-09 14:23:26 +01:00
Torsten Dreyer
79ea7c6819
Fix probably typo, don't cast col/row_step to int
2019-01-09 09:27:13 +01:00
James.Hester
eb4f8ac710
Merge branch 'gdal-fixes' into next
2019-01-04 20:10:13 +11:00
James.Hester
d62bbb2a74
Converted tg_shapefile to GDAL 2.0 API.
2019-01-04 00:07:17 +11:00
James.Hester
1e3343a2f6
Included cliff category as a landmass type.
2019-01-03 09:45:05 +11:00
James.Hester
5586be95f5
Add description of cliff generation; remove debugging printout.
2018-12-31 11:16:16 +11:00
James.Hester
e8b87fcf74
Fix includes for full terragear tool suite, allow arr.gz again for
...
terrafit.
2018-12-31 10:12:49 +11:00