Commit Graph

7136 Commits

Author SHA1 Message Date
Kevin Ring d853ba23b6 Unload raster tiles when tiles are unloaded. 2020-09-23 16:07:17 +10:00
Kevin Ring 0b1dd691a0
Merge pull request #6 from CesiumGS/urls-and-transforms
Correctly resolve content URLs in external tilesets.
2020-09-18 23:10:37 +10:00
Kevin Ring 08f79bd5b0 Correctly resolve content URLs in external tilesets. 2020-09-18 23:01:36 +10:00
Kevin Ring bab84e196f
Merge pull request #5 from CesiumGS/cleaner-loading
RTC_CENTER support and slightly cleaner content loading
2020-09-17 21:07:39 +10:00
Kevin Ring 0c91445792 Support RTC_CENTER in b3dm. 2020-09-17 20:41:48 +10:00
Kevin Ring 2cf29ea4dd Fix external tilesets. 2020-09-16 22:22:54 +10:00
Kevin Ring 0fbc69e99d Some WIP refactoring for cleaner loading 2020-09-16 19:27:41 +10:00
Kevin Ring fc730ffc1b Fix typo in comment. 2020-09-16 12:45:52 +10:00
Kevin Ring ebbca3c59c
Merge pull request #4 from CesiumGS/terrain
Add support for Cesium World Terrain and Bing imagery
2020-09-15 16:55:04 +10:00
Kevin Ring fe15b640b8 Fix GCC warnings. 2020-09-15 16:32:43 +10:00
Kevin Ring 30db7a1823 Support Bing from ion. 2020-09-15 16:09:12 +10:00
Kevin Ring d6ac229a83 Fix some bugs.
* Don't use an imagery level less than 0, cause when we cast that to an
  unsigned int it's all bad.
* Add missing geometric error for eastern hemisphere terrain tile.
* Don't reload tileset.json and do weird things when a tile has no
  content.
2020-09-14 17:36:18 +10:00
Kevin Ring b7121fc436 Remove redundant texture coordinates from quantized mesh tiles. 2020-09-14 11:37:01 +10:00
Kevin Ring 8b66e7dc83 Fix bad coordinates cause by dangling reference. 2020-09-14 11:33:03 +10:00
Kevin Ring 7b4118a443 Much improved CWT+Bing rendering. 2020-09-10 23:37:40 +10:00
Kevin Ring 6f4a6b51f0 Generate texture coordinates. 2020-09-09 17:17:48 +10:00
Kevin Ring 6c4972be34 Move overlay logic out of Tile. 2020-09-08 16:09:52 +10:00
Kevin Ring 1eef132656 Add missing file. 2020-09-07 23:22:35 +10:00
Kevin Ring 548f3ed76d Move IPrepareRendererResources to a separate file. 2020-09-07 23:19:53 +10:00
Kevin Ring eda784ba90 Flesh out raster loading interface. 2020-09-07 17:51:53 +10:00
Kevin Ring 30b3e0eb52 Include web mercator coordinates in quantized mesh tiles. 2020-09-07 15:58:21 +10:00
Kevin Ring 077959f4c6 Minor cleanup. 2020-09-07 15:27:54 +10:00
Kevin Ring 6aff3f94ad Working raster overlays. 2020-09-04 17:01:05 +10:00
Kevin Ring b4237c1305 Add texture coordinates to quantized-mesh tiles. 2020-09-02 20:59:57 +10:00
Kevin Ring d027751f19 Progress toward raster mapping. 2020-09-02 18:03:25 +10:00
Kevin Ring ffc560e7cc WIP raster overlay system. 2020-08-28 17:25:23 +10:00
Kevin Ring 9ca08620ad Terrain normals, ion auth via header instead of URL. 2020-08-25 16:36:17 +10:00
Kevin Ring ad1698f87b Update min/max heights when terrain tiles are loaded. 2020-08-24 21:06:31 +10:00
Kevin Ring f50aaae886 Add BoundingRegionWithLooseFittingHeights, better use of std::variant 2020-08-24 17:38:04 +10:00
Kevin Ring d18aad7ca2 Less hacky support for implicit tiling. 2020-08-24 16:04:58 +10:00
Kevin Ring 37714acc26 Fix Linux compile error. 2020-08-21 20:37:23 +10:00
Kevin Ring e655b6915d CWT globe rendering starting to work. 2020-08-21 17:18:37 +10:00
Kevin Ring 2070215b6c Create a glTF from a quantized-mesh-1.0 terrain tile. 2020-08-20 21:46:55 +10:00
Kevin Ring cada3ddb21 Merge remote-tracking branch 'origin/master' into terrain 2020-08-20 10:49:24 +10:00
Kevin Ring a1a5d49968 WIP terrain rendering. 2020-08-20 10:37:43 +10:00
Kevin Ring 1c50e75558
Merge pull request #2 from CesiumGS/more-docs-and-tests
BoundingRegion docs/cleanup and fix a camera bug caused by incorrect normalization
2020-08-19 11:16:49 +10:00
Kevin Ring 90b30b67bd Fix incorrect use of glm::normalize. 2020-08-19 10:03:31 +10:00
Kevin Ring c216d57289 BoundingRegion docs. 2020-08-18 12:13:18 +10:00
Kevin Ring edcd37ae5b
Merge pull request #1 from CesiumGS/tests-and-doc
Reactivate TravisCI, add doc and tests for CesiumGeometry types.
2020-08-17 21:11:12 +10:00
Kevin Ring fd01ef6a79 Add missing #include. 2020-08-17 20:33:49 +10:00
Kevin Ring 65f350ea30 Throw a more sensible error on invalid arguments. 2020-08-17 20:18:41 +10:00
Kevin Ring 4cf67d566e Add .travis.yml. 2020-08-17 15:10:33 +10:00
Kevin Ring 181e3c10ce Require Ray direction to be normalized. 2020-08-17 15:09:34 +10:00
Kevin Ring c890158aca Doc for Ray class. 2020-08-17 15:07:03 +10:00
Kevin Ring 52aabbcb83 Add Plane tests and docs. 2020-08-17 13:59:49 +10:00
Kevin Ring 40a1f0cd1e IntersectionTests doc and tests. 2020-08-17 12:58:48 +10:00
Kevin Ring 4d7bb9b394 Doxygen improvements. 2020-08-14 23:48:44 +10:00
Kevin Ring 0592dc79d1 Doc and tests for BoundingSphere. 2020-08-14 23:06:38 +10:00
Kevin Ring daa176b124 Fix readme typo. 2020-08-14 13:44:22 +10:00
Kevin Ring 82f62de797 Tweak README 2020-08-14 13:37:56 +10:00