Commit Graph

985 Commits

Author SHA1 Message Date
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
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
Erik Broberg abbede263f Enabling toggling rendering of bounding Chunk volumes from GUI 2016-06-14 23:19:28 -04:00
Erik Broberg 5e3ff9077b Bugfix. Make box faces face outwards in DebugRenderer 2016-06-14 23:16:40 -04:00
Erik Broberg d635b852a7 Remove old debugrenderer 2016-06-14 23:12:29 -04:00
Erik Broberg ad73cb0627 Enable iteration over ChunkNodes, not just Chunks 2016-06-14 22:05:03 -04:00
Erik Broberg 454e19dd83 Add method getBoundingPolyhedronCorners in Chunk class 2016-06-14 21:42:44 -04:00
Erik Broberg aefb7c3030 Add methods for debug rendering of box faces and box edges 2016-06-14 21:05:08 -04:00
Erik Broberg 3df34be916 Add DebugRenderer enabling easy screen space point rendering 2016-06-14 18:16:43 -04:00
Kalle Bladin 69c0d7f464 Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-14 14:00:33 -04:00
Kalle Bladin 627b8e635b Activated texture layers can be set from mod file. 2016-06-14 14:00:21 -04:00
Erik Broberg 3d7722f4b1 Move ChunkLevelEvaluators classes to separate file 2016-06-14 11:19:22 -04:00
Erik Broberg 5025e09d77 Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-14 10:32:16 -04:00
Erik Broberg 53870a7ef0 Add depth first search chunk iteration std::function as argument 2016-06-14 00:34:14 -04:00
Kalle Bladin 88555a1e1b Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-14 00:20:55 -04:00
Kalle Bladin 0b7ce79e80 Collapse layer category rendering code in to for loop. 2016-06-14 00:20:37 -04:00
Erik Broberg 5b3725806f Improve desired level by projected area 2016-06-13 23:32:24 -04:00
Kalle Bladin 164e133ce9 Update tileprovidermanager to loop through texture categories. 2016-06-13 22:17:15 -04:00
Erik Broberg 8eb3621e03 Make limiting chunk level by available height data togglable from GUI 2016-06-13 21:40:14 -04:00
Erik Broberg f91ea449a5 avoid an unnecessary hashmap access 2016-06-13 19:12:39 -04:00
Erik Broberg d3f3c9768c Remove redundant safety check in LRU cache hashmap 2016-06-13 19:10:50 -04:00
Kalle Bladin b5f1a09b8c Cache uniform IDs upon recompiling of shader programs. Renaming of uniforms in shader code. 2016-06-13 18:57:18 -04:00
Erik Broberg ebdb906adf Make desired chunk level by distance calculation taking into account the chunks bounding height 2016-06-13 18:32:50 -04:00
Erik Broberg f850aa53e6 Make it easy to compare desiredChunkLevel approaches through a simple common interface 2016-06-13 18:15:30 -04:00
Erik Broberg 84e6e9a7af Modularize desired chunk level calculation for easy testing of different approaches 2016-06-13 16:30:22 -04:00
Erik Broberg ff3ac1b368 Add Intersection test between ConvexHull2s, based on Separate Axis Theorem 2016-06-10 15:03:51 -04:00
Erik Broberg 2c89f36cbe Add class ConvexHull2 2016-06-10 13:49:50 -04:00
Kalle Bladin 144191ba51 Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-10 12:02:34 -04:00
Kalle Bladin 75e8e04e3d Set max length of skirts and fix problem with toggeling of overlay. 2016-06-10 12:02:25 -04:00
Erik Broberg 795846f6ee Updated file structure and removed unused class GlobeMesh 2016-06-10 11:53:26 -04:00
Erik Broberg b7f4398f33 Add calculation of desired chunk level based on projected chunk area 2016-06-09 23:18:58 -04:00
Erik Broberg 3cc2733aad Merge branch 'feature/globe-atmosphere' into feature/globebrowsing 2016-06-09 19:59:52 -04:00
Erik Broberg f64998b517 Fix CMake and add MultiLevelTile 2016-06-09 19:58:54 -04:00
Erik Broberg 13c57f4931 Merge branch 'feature/globe-atmosphere' of github.com:OpenSpace/OpenSpace-Development into feature/globe-atmosphere 2016-06-09 18:29:25 -04:00
Erik Broberg 0ef0343efd Toggle show chunk edges from gui and calculate level weights only once per vertex 2016-06-09 17:14:46 -04:00
Kalle Bladin 2951df9653 Simplify interface for TileProviderManager. 2016-06-09 16:09:43 -04:00
Jonathas Costa b8025d8c23 New ray ellipsoid intersection routine (initial implementation). 2016-06-09 16:03:28 -04:00
Jonathas Costa 36157e81fa Merge branch 'feature/globe-atmosphere' of https://github.com/OpenSpace/OpenSpace-Development into feature/globe-atmosphere 2016-06-09 15:21:15 -04:00
Jonathas Costa da956af2bc Update matrix type in atmosphere (new issues present to be fixed). 2016-06-09 15:21:12 -04:00
Erik Broberg 25d02086a1 Use separate function for getting level weights 2016-06-09 14:18:39 -04:00
Erik Broberg 7ac8e37807 Rename TextureTile to Tile in shader for better correspondance with its CPU counterpart 2016-06-09 13:22:44 -04:00
Erik Broberg bc19a826bf Factor out tile texture sampling 2016-06-09 12:44:16 -04:00
Jonathas Costa b2c895dab0 Merged branch Atmosphere. 2016-06-09 11:45:56 -04:00
Kalle Bladin 99a06b88a4 Merge branch 'feature/globebrowsing' of github.com:OpenSpace/OpenSpace-Development into feature/globebrowsing 2016-06-08 22:38:58 -04:00
Kalle Bladin ebdcfcfa44 Update water rendering. 2016-06-08 22:38:43 -04:00