Commit Graph

426 Commits

Author SHA1 Message Date
Erik Broberg 3bc91bdf16 Enable getting a default tile from TileProviders. Used e.g. when no tiles are in memory 2016-07-08 12:30:19 -04:00
Erik Broberg a5030ee664 Add method to create empty tile 2016-07-07 19:45:00 -04:00
Erik Broberg 958a4fac8a Prevent program crash when unable to open dataset 2016-07-07 17:17:12 -04:00
Erik Broberg eb34ad7aed Handle repeated read where read and write regions have different sizes 2016-07-07 14:45:00 -04:00
Erik Broberg f4bb21d56b TileDatasets are created with a const Configuration 2016-07-07 13:56:03 -04:00
Erik Broberg 87299a178e Clarify cached members in TileDataset 2016-07-07 13:11:10 -04:00
Erik Broberg 4298677f77 Clean up initialization of TileDataset 2016-07-07 12:58:03 -04:00
Erik Broberg 2264a37327 Use HSV for grayscale overlay. Add method TileDataset::pixelToGeodetic 2016-07-06 16:51:50 -04:00
Erik Broberg 060a22242d No-overview datasets use virtual overview to downsample write region. Ensure tiles have even number of pixels 2016-07-06 11:57:20 -04:00
Erik Broberg a868864354 Add moon height and color WMS 2016-07-05 21:44:05 -04:00
Erik Broberg 687364b394 Remove IODescription implementation from h file, and add comment to PixelRegion 2016-07-05 17:17:40 -04:00
Erik Broberg 20ab0cd960 Move definition of PixelRegion to separate file 2016-07-05 16:56:00 -04:00
Erik Broberg bc77baeb02 Use texture tile padding 2016-07-05 13:35:14 -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 fcdc674f95 Implement repeat wrap mode on pixel read regions before performing gdal RasterIO 2016-07-05 13:11:38 -04:00
Kalle Bladin 5651e5bb24 Fix clang build errors. 2016-07-01 20:54:22 -04:00
Kalle a47241b11f Fix invisible earth. 2016-07-01 17:55:56 -04:00
Kalle b5e1e05287 Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-07-01 17:43:19 -04:00
Kalle dd7abd355a GlobeBrowsingInteractionMode makes camera follow rotation of the globe and make globebrowsing work with spice kernels 2016-07-01 17:42:49 -04:00
Kalle 3c7d1e22fc Globe browsing interaction mode follows the rotation of the globe. 2016-07-01 12:46:16 -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 7658441f8d Refactor TileDataset - divide code into more easily overviewable sections 2016-06-30 22:23:39 -04:00
Erik Broberg 1ed4a293d4 Use globebrowsing scene 2016-06-30 20:54:20 -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 87e28bd2de Structure IODescription in read and write sub structs. Cleanup 2016-06-30 18:38:54 -04:00
kbladin e8cfd8eee4 Solve crashing in deinitialization of debug renderer. 2016-06-30 18:12:21 -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 d9d97b2dbd Correctly visualize texture tile resolution and pixel positions 2016-06-30 13:25:22 -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 626350b0dd Add GLSL function to compensate for GDAL sampling offset 2016-06-28 21:35:33 -04:00
Erik Broberg 3e53ff45b0 Visualize grid resolution when base layers are disabled 2016-06-28 19:28:54 -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
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