Commit Graph

7136 Commits

Author SHA1 Message Date
Kevin Ring cce24ec923
Merge pull request #18 from CesiumGS/unload-on-destruct
Unload tiles prior to running the Tileset default constructor.
2020-10-16 15:43:56 +11:00
Kevin Ring df76882422 Unload tiles prior to running the Tileset default constructor.
This avoids destruction order dependency between Tiles (which reference
RasterOverlayTiles) and RasterOverlayTileProviders owned by the Tileset.
2020-10-16 15:34:30 +11:00
Kevin Ring c2fd054710
Merge pull request #17 from CesiumGS/bad-images
Mark unloadable images as failed.
2020-10-15 18:41:12 +11:00
Kevin Ring 0cf28b0299 Mark unloadable images as failed. 2020-10-15 18:28:01 +11:00
Kevin Ring f6e92eca3a
Merge pull request #16 from CesiumGS/upsample
Add n=z to Bing requests if it's not already there.
2020-10-15 02:12:28 +11:00
Kevin Ring b35c8beb45 Add n=z to Bing requests if it's not already there. 2020-10-15 02:09:44 +11:00
Kevin Ring 31318b87ea
Merge pull request #15 from CesiumGS/upsample
Allow raster overlays to continue to refine even when geometry LOD is at its limit
2020-10-15 01:00:35 +11:00
Kevin Ring 8f34c59aac Pass raster rectangle to detach. 2020-10-15 00:49:32 +11:00
Kevin Ring 2b34772f0e Fix linux compile errors. 2020-10-14 21:55:30 +11:00
Kevin Ring c27a5f0099 Remove unimplemented declaration. 2020-10-14 21:43:48 +11:00
Kevin Ring 61b23ca17a Ready vs loading imagery, use ancestors when rasters fail to load. 2020-10-14 21:40:54 +11:00
Kevin Ring 3b74c3d8c3 Fix BVs, load parent prior to upsampling. 2020-10-14 16:10:31 +11:00
Kevin Ring 1e5d831f67 Use correct indices for second clip triangle. 2020-10-14 11:41:58 +11:00
Kevin Ring 18c907997e Fix upsampled texture coordinates. 2020-10-14 11:07:51 +11:00
Kevin Ring e38bb705d9 Upsampling nearly working. 2020-10-13 21:57:25 +11:00
Kevin Ring 5649c562d0 Further WIP upsampling. 2020-10-13 10:16:21 +11:00
Kevin Ring f941688df3 Merge remote-tracking branch 'origin/master' into upsample 2020-10-12 11:30:46 +11:00
Kevin Ring f79adad6a9
Merge pull request #14 from CesiumGS/threaded-image-decode
Decode raster overlay images in a task (background thread)
2020-10-12 11:29:57 +11:00
Kevin Ring 9d69262a74 Don't delete a request from a worker thread. 2020-10-12 11:17:58 +11:00
Kevin Ring ea48e277b9 Decode raster overlay images on a separate thread. 2020-10-12 11:12:45 +11:00
Kevin Ring 7c8eb7ac5a WIP upsampling of geometry for more detailed rasters. 2020-10-09 09:12:59 +11:00
Kevin Ring a7e1a39e41 Merge branch 'external-context' 2020-10-06 23:56:33 +11:00
Kevin Ring 2f600fe488 Ensure pNewTileContext is destroyed after childTiles. 2020-10-06 23:55:43 +11:00
Kevin Ring 93ff687f5f
Merge pull request #13 from CesiumGS/external-context
Create a new TileContext for external tilesets
2020-10-06 23:49:04 +11:00
Kevin Ring 226e56a108 Create a new context for external tilesets. 2020-10-06 23:15:33 +11:00
Kevin Ring 4b9b06d824
Merge pull request #12 from CesiumGS/gltf-magic
Fix GLB magic value.
2020-10-06 18:46:52 +11:00
Kevin Ring 79b42e01ba Fix GLB magic value. 2020-10-06 18:02:49 +11:00
Kevin Ring f3eb834451
Merge pull request #11 from CesiumGS/availability
Tile availability
2020-10-06 17:57:21 +11:00
Kevin Ring f1655ef269 Use rectangle from layer.json. 2020-10-06 17:46:39 +11:00
Kevin Ring dc34882120 Fix warning on Linux. 2020-10-06 17:26:54 +11:00
Kevin Ring ac13c9ebfc Don't request quantized-mesh tiles that don't exist. 2020-10-06 17:20:41 +11:00
Kevin Ring 15efa06b5c Add TileContext. 2020-10-06 11:31:07 +11:00
Kevin Ring 7267ae9251 Merge remote-tracking branch 'origin/master' into availability 2020-10-02 17:57:51 +10:00
Kevin Ring cbee4d5738
Merge pull request #10 from CesiumGS/cmake-improvements
Automatically build third party dependencies via CMake, rather than a manual build step
2020-10-02 16:33:44 +10:00
Kevin Ring 5af23f6569 Use standard Debug build by default.
You can link against the release runtime library on Windows by adding
`-DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL` to the command-line
while CMake configuring. This is required by Unreal Engine.
2020-10-02 15:49:05 +10:00
Kevin Ring 19ca31ccff WIP tile availability. 2020-10-02 10:55:58 +10:00
Kevin Ring 8caeec1f47 Better place to look for the generated draco header. 2020-10-01 23:40:46 +10:00
Kevin Ring 3868b168c9 Make generated draco header file available. 2020-10-01 23:24:23 +10:00
Kevin Ring 318cb90d7d Only discover tests in top-level build. 2020-10-01 23:06:35 +10:00
Kevin Ring 1564f3ca1f Remove manual third party dependency build step. 2020-10-01 22:50:42 +10:00
Kevin Ring 8782333ef1 Improvements to CMake build. 2020-10-01 22:46:16 +10:00
Kevin Ring cd2abd3979
Merge pull request #8 from CesiumGS/overlay-placeholders
Create placeholders for raster tile providers that aren't ready yet.
2020-09-25 22:05:53 +10:00
Kevin Ring 93b84cac0b Remove unused code. 2020-09-25 21:55:08 +10:00
Kevin Ring d71531c167 Create placeholders for raster tile providers that aren't ready yet. 2020-09-25 21:51:44 +10:00
Kevin Ring 46a73eb878 Add non-const getOptions method. 2020-09-23 23:31:11 +10:00
Kevin Ring e0742b8077
Merge pull request #7 from CesiumGS/unload-rasters
Improvements to tile content loading, and implement raster tile unloading
2020-09-23 23:27:21 +10:00
Kevin Ring 8298232d13 The last of the linux warnings. 2020-09-23 23:05:08 +10:00
Kevin Ring ba5f1479a6 Another linux warning. 2020-09-23 22:41:37 +10:00
Kevin Ring 7b9a5fc7a3 Fix linux warning. 2020-09-23 22:29:39 +10:00
Kevin Ring bdd1e1d5de Cleaner content loading. 2020-09-23 22:04:41 +10:00