Commit Graph

126 Commits

Author SHA1 Message Date
Erik Broberg c193054669 Move definition of PixelRegion to separate file 2016-07-05 16:56:00 -04:00
Erik Broberg 20ab0cd960 Move definition of PixelRegion to separate file 2016-07-05 16:56:00 -04:00
Erik Broberg cf37999128 Use texture tile padding 2016-07-05 13:35:14 -04:00
Erik Broberg bc77baeb02 Use texture tile padding 2016-07-05 13:35:14 -04:00
Erik Broberg 63a046ba14 Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-07-05 13:12:17 -04:00
Erik Broberg 7d09e61315 Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-07-05 13:12:17 -04:00
Erik Broberg b95444e0c3 Implement repeat wrap mode on pixel read regions before performing gdal RasterIO 2016-07-05 13:11:38 -04:00
Erik Broberg fcdc674f95 Implement repeat wrap mode on pixel read regions before performing gdal RasterIO 2016-07-05 13:11:38 -04:00
Kalle Bladin d784984083 Fix clang build errors. 2016-07-01 20:54:22 -04:00
Kalle Bladin 5651e5bb24 Fix clang build errors. 2016-07-01 20:54:22 -04:00
Kalle 4b3b6e8a76 Fix invisible earth. 2016-07-01 17:55:56 -04:00
Kalle a47241b11f Fix invisible earth. 2016-07-01 17:55:56 -04:00
Erik Broberg 0f1d014b0e Handle GDAL flipped Y axis in rasterIO call. Add alternate readImageData method 2016-07-01 01:06:58 -04:00
Erik Broberg 0bd8329e93 Handle GDAL flipped Y axis in rasterIO call. Add alternate readImageData method 2016-07-01 01:06:58 -04:00
Erik Broberg ea10a9e9f5 Refactor TileDataset - divide code into more easily overviewable sections 2016-06-30 22:23:39 -04:00
Erik Broberg 7658441f8d Refactor TileDataset - divide code into more easily overviewable sections 2016-06-30 22:23:39 -04:00
Erik Broberg c94c7999f4 Use globebrowsing scene 2016-06-30 20:54:20 -04:00
Erik Broberg 1ed4a293d4 Use globebrowsing scene 2016-06-30 20:54:20 -04:00
Erik Broberg f0719af55e Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-30 18:39:16 -04:00
Erik Broberg d1ffcdb6fa Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-30 18:39:16 -04:00
Erik Broberg 2b938f095b Structure IODescription in read and write sub structs. Cleanup 2016-06-30 18:38:54 -04:00
Erik Broberg 87e28bd2de Structure IODescription in read and write sub structs. Cleanup 2016-06-30 18:38:54 -04:00
Erik Broberg aa36e6da00 Move GDAL read and write meta data to separate struct IODescription 2016-06-30 17:32:26 -04:00
Erik Broberg c5a41cf0ba Move GDAL read and write meta data to separate struct IODescription 2016-06-30 17:32:26 -04:00
kbladin 4bec28d611 Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-30 14:08:08 -04:00
kbladin a89f474502 Solve merge conflict and add properties for friction and interaction parameters. 2016-06-30 14:07:51 -04:00
Erik Broberg 8ac517e89c Cleanup 2016-06-30 12:15:12 -04:00
Erik Broberg 1b6d17575b Replace GdalDataRegion with more general class PixelRegion 2016-06-30 11:33:09 -04:00
Erik Broberg 5030465bb8 Add a local test texture and a new TileProvider severing a single tile 2016-06-29 15:18:25 -04:00
Erik Broberg 1d856151ed Implement and use factory pattern for TileProvider instantiation 2016-06-29 13:47:11 -04:00
Erik Broberg 5896d7eb71 Dont read padded texture tiles atm.. 2016-06-29 13:45:36 -04:00
Erik Broberg 072a97ee10 Make TileProviders default to disabled if unspecified in mode file 2016-06-29 12:41:36 -04:00
Erik Broberg fd95871825 Improve TileProvider interface by removing getAsyncReader() 2016-06-29 11:31:50 -04:00
Erik Broberg 992c828cce Render vertex and heightmap resolution. Fix offsetted pixel read bug in TileDataset 2016-06-29 00:32:25 -04:00
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
Kalle Bladin ce72f57183 Minimum camera height above surface is now configurable. 2016-06-27 18:46:35 -04:00
Kalle Bladin 627f00faba Generalize tile fetching to consider datasets without overviews. 2016-06-27 16:17:10 -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 cb4b6dbdf3 Clean up in code that clamps camera position to height map. 2016-06-22 13:55:02 -04:00
Alexander Bock 37e18441dc Support GDAL on non-Windows platforms
Fix compile fix with TileProviderManager
Fix projection error on PlanetProjection
2016-06-22 08:51:58 +02:00
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