Commit Graph

380 Commits

Author SHA1 Message Date
Erik Broberg
cdc3daedca Clear up some code in TileDataset 2016-06-28 18:35:35 -04:00
Erik Broberg
dd8bdc69b7 Move tile datatype related stuff to separate file 2016-06-28 11:59:19 -04:00
Erik Broberg
81676ed98f Move TileIOResult to separate file 2016-06-28 11:18:57 -04:00
Erik Broberg
ddf7342563 Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-28 11:03:41 -04:00
Kalle Bladin
fcaee68424 Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-27 20:18:02 -04:00
Erik Broberg
a9f7cf5444 DataCollector: Collect current time in millis and use long longs for integers 2016-06-27 19:18:54 -04:00
Kalle Bladin
ce72f57183 Minimum camera height above surface is now configurable. 2016-06-27 18:46:35 -04:00
Erik Broberg
21c67e3199 Enable real time monitoring of StatsCollector data 2016-06-27 18:08:26 -04:00
Kalle Bladin
9d8932218f Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-27 16:17:22 -04:00
Kalle Bladin
627f00faba Generalize tile fetching to consider datasets without overviews. 2016-06-27 16:17:10 -04:00
Erik Broberg
6843b37a3d Add D3 javascript visualization of chunk statistics generated by StatsCollector 2016-06-24 16:35:35 -04:00
Erik Broberg
b9f3b03af3 Fix bug causing StatsCollector to crash during dump to file if a StatsCollection is empty 2016-06-24 14:51:25 -04:00
Erik Broberg
b5c85184da Restructure StatsCollectors to keep track of both integers and doubles 2016-06-24 13:52:30 -04:00
Erik Broberg
064c9a5722 Add templated stats collector to store structured data in tables 2016-06-24 11:45:36 -04:00
Erik Broberg
0c935e5b59 Use current - instead of maximum - chunk level height tiles in ground collision test 2016-06-23 20:23:08 -04:00
Erik Broberg
e59dd7a391 Enable finding a ChunkNode in ChunkNode tree based on a Geodetic2 point 2016-06-23 20:16:47 -04:00
Erik Broberg
a6baa5107a Add test if GeodeticPatch contains a Geodetic2 2016-06-23 20:02:24 -04:00
Erik Broberg
533453a943 Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-22 21:08:05 -04:00
Erik Broberg
516e6b36ba Use std::make_shared instead of new 2016-06-22 21:07:47 -04:00
Kalle Bladin
ad79831014 Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-22 21:07:10 -04:00
Kalle Bladin
a23c38e5b3 Improve chunk bounds. 2016-06-22 21:06:56 -04:00
Erik Broberg
6d11ba2946 Move blending bools from ChunkLodGlobe to TileProviderManager and init them to true 2016-06-22 20:51:28 -04:00
Erik Broberg
87c1fdc4de Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-22 20:25:50 -04:00
Erik Broberg
3ed227df11 Rename HashKey to ChunkHashKey and define it as uint64_t 2016-06-22 20:25:39 -04:00
Kalle Bladin
38e774882a Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-22 19:19:05 -04:00
Kalle Bladin
b573c6104a Use anisotropic filtering for tiles. 2016-06-22 19:18:58 -04:00
Erik Broberg
d7c45fcf60 Change prerender() to update() in TileProvider and related classes 2016-06-22 19:11:14 -04:00
Kalle Bladin
fa4bb15489 Solve merge conflict. 2016-06-22 18:05:08 -04:00
Kalle Bladin
e8fc2250d5 Clean up in interaction mode abd push camera to the surface of the heightmap. 2016-06-22 17:48:59 -04:00
Kalle Bladin
cb4b6dbdf3 Clean up in code that clamps camera position to height map. 2016-06-22 13:55:02 -04:00
Kalle Bladin
7ff909c1fa Solve bug that caused wrong sampling of tile data on CPU. 2016-06-21 23:37:25 -04:00
Erik Broberg
40afc93f7e Make sure blending is initialized to true 2016-06-21 23:28:26 -04:00
Kalle Bladin
4d57c7d8e4 Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-21 23:20:28 -04:00
Erik Broberg
623cc8ccc0 Quick fix of bug causing height tiles with missing data to be ignored and rendered as usual 2016-06-21 23:15:13 -04:00
Kalle Bladin
9e80baa792 Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-21 22:57:38 -04:00
Kalle Bladin
5e8018b715 Limit camera to not go below the ground in globebrowsing interaction mode. 2016-06-21 22:57:12 -04:00
Erik Broberg
0163f02511 Add regular BFS to ChunkNodes 2016-06-21 21:42:08 -04:00
Erik Broberg
ed92baefbd Move debug rendering of chunk to separate function 2016-06-21 21:27:11 -04:00
Erik Broberg
911cf7a77d Move rendering function calls from Chunk and ChunkNode to ChunkedLodGlobe 2016-06-21 21:09:19 -04:00
Erik Broberg
658e2d51a8 Add ReverseBreadthFirst iteration order to ChunkNode 2016-06-21 19:57:15 -04:00
Erik Broberg
953d8554dc Move commonly used GUI debug options to separate struct 2016-06-21 19:24:25 -04:00
Erik Broberg
14ea82d929 Remove unused GUI properties 2016-06-21 18:28:29 -04:00
Erik Broberg
751a157f86 Use smart pointers and std::make_shared in TileProviders 2016-06-21 18:25:50 -04:00
Erik Broberg
c7ff3a4730 Remove unused GUI property chunkHeight 2016-06-21 17:21:37 -04:00
Erik Broberg
427cc0cc2b Reduce local chunk rendering code by use of loops 2016-06-21 17:21:00 -04:00
Erik Broberg
badb4e8a73 Iterate over layer categories by loops istead od hard coded indices 2016-06-21 16:50:58 -04:00
Erik Broberg
9df878e237 Use smart pointers in ChunkLodGlobe and RenderableGlobe 2016-06-21 16:26:38 -04:00
Erik Broberg
c24b768397 Clean up GUI code managing layer categories 2016-06-21 16:01:18 -04:00
Erik Broberg
974d5fdaec Solve merge conflict 2016-06-21 14:04:33 -04:00
Erik Broberg
57700da843 Add ReferencedBoolSelection to abstract away a lot of boilare plate code in GUI bool properties 2016-06-21 14:01:29 -04:00