Commit Graph

2789 Commits

Author SHA1 Message Date
Kalle Bladin 7ff909c1fa Solve bug that caused wrong sampling of tile data on CPU. 2016-06-21 23:37:25 -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
Kalle Bladin 69aef205af Interaction mode inertia is no longer dependent on the framerate. 2016-06-21 13:42:56 -04:00
Erik Broberg db6793f762 Make DebugRendering have its own SelectionProperty in GUI 2016-06-21 12:49:54 -04:00
Erik Broberg 5148380257 Typedef vertices and color in DebugRenderer 2016-06-21 12:35:15 -04:00
Kalle Bladin b64db9de8f Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-21 12:27:04 -04:00
Kalle Bladin 1ab25d5845 Add new layer category grayscale overlay and use it for mars ctx global map. 2016-06-21 12:26:52 -04:00
Erik Broberg f4a1d12089 Enable easy access to screen space points for AABB3s through DebugRenderer 2016-06-21 12:25:38 -04:00
Erik Broberg 51bb575ac6 Move code for rendering camera frustum to DebugRenderer 2016-06-20 21:37:28 -04:00
Erik Broberg 5a9ffbcd90 Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-20 21:08:05 -04:00
Erik Broberg 4738c26a82 Use DebugRenderer to render the view frustum of the saved camera 2016-06-20 21:07:50 -04:00
Kalle Bladin c4251d603f Fix bug that causes disabling blending to write warnings. 2016-06-20 20:15:14 -04:00
Kalle Bladin 323e3c2b45 Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-20 19:33:32 -04:00
Kalle Bladin db675d3993 Add Mars datasets. 2016-06-20 19:33:20 -04:00
Erik Broberg 8075c6e449 Fix bug that caused tileRequestQueue to not get flushed correctly 2016-06-20 12:06:28 -04:00
Erik Broberg df2b68042e Better variable names in DiskCache 2016-06-20 11:13:47 -04:00
Erik Broberg 2360b9faf8 Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-17 15:59:21 -04:00
Erik Broberg a5aa5ec1a8 Add mode CacheHitOnly for DiskCachedLoadJob and go back to use old TileLoadJob 2016-06-17 15:59:08 -04:00
Erik Broberg 553131c407 Enabling a simple black default tileIOResult for debugging 2016-06-17 15:55:00 -04:00
Kalle Bladin dd70733c2a Add gdal_data folder and pointing to it using CPLSetConfigOption to remove need of setting environment variable. 2016-06-17 15:52:32 -04:00
Kalle Bladin 153d239790 Catch exceptions when not able to read a GDAL dataset. 2016-06-17 13:07:15 -04:00
Kalle Bladin 1f08bb413c Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-17 10:52:58 -04:00
Kalle Bladin 101795aa00 Group layer categories in gui. 2016-06-17 10:52:44 -04:00
Alexander Bock 86dce766ad Correctly align Earth trail relative to SSB instead of Earth barycenter 2016-06-17 15:23:46 +02:00
Erik Broberg ef228c7a5e Add basic class for disc caching of tile data 2016-06-17 00:50:20 -04:00
Erik Broberg 6107e245bc Implement serialization of TileIOResults 2016-06-16 21:04:39 -04:00
Kalle Bladin 96d7a1dd44 Solve synching bug in time class. 2016-06-16 17:50:19 -04:00
Kalle Bladin db4a35fd05 Merge branch 'develop' into feature/globebrowsing 2016-06-16 12:21:24 -04:00
Erik Broberg 5dcddfe5e9 Separate tile selection from tile provision 2016-06-16 00:08:13 -04:00
Erik Broberg 5451951146 Add decrement operators in ChunkIndex for calculation of parent index 2016-06-16 00:03:25 -04:00
Erik Broberg faec017cef Make Chunk bounding polyhedron fully, but still not tightly, encapsulate the chunk 2016-06-15 14:27:14 -04:00
Erik Broberg fa3671eb4a Improve GeodeticPatch interface by allowing getting min/max lat/lon 2016-06-15 14:25:32 -04:00
Erik Broberg bfd2441eaa Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-14 23:19:45 -04:00