Commit Graph

4558 Commits

Author SHA1 Message Date
Kevin Ring d1fd6c4447 Improve stability. 2020-11-28 16:44:56 +11:00
Marco Hutter b10a50dc0b Pass logger as shared pointer
To be reviewed in terms of ABI compatibility
2020-11-27 12:59:41 +01:00
Marco Hutter 913ad095bd Preparing actual unreal integration.
Macros are bad. Period.
2020-11-26 17:34:01 +01:00
Marco Hutter 90d972d089 Fixes for errors from Linux build 2020-11-25 18:16:08 +01:00
Marco Hutter 08a7ecf68b Added basic interface for external loggers 2020-11-25 17:51:46 +01:00
Marco Hutter 3d8017c239 Updated logging header paths 2020-11-25 14:15:47 +01:00
Marco Hutter 307d9f6614 Moved logging header to right directory. 2020-11-25 14:13:55 +01:00
Marco Hutter 43b46a6887 Moved logging header to include (maybe temporarily)
Mainly intended for first tests, and for figuring out the
best way to register "external" loggers.
2020-11-25 14:11:18 +01:00
Kevin Ring 7f284ab837 Basics working again after changing everything. 2020-11-25 17:25:00 +11:00
Marco Hutter e682a9e29f Giving up on printf formatting
See changes in Tileset.h for a glimpse of the reasons.
2020-11-24 16:21:00 +01:00
Marco Hutter 766e412a31 Removed comments that are obsolete
According to draft PR feedback
2020-11-24 14:26:54 +01:00
Marco Hutter 2d0aafa94f Merge remote-tracking branch 'origin/master' into spdlog-integration 2020-11-24 14:19:41 +01:00
Kevin Ring 786f574376 WIP async/promise-like system. 2020-11-24 21:22:46 +11:00
Marco Hutter d5f1078699 Use string formatting in log messages 2020-11-23 16:11:37 +01:00
Kevin Ring b34fa3a359 Hold shared_ptrs to externals. 2020-11-23 17:22:53 +11:00
Marco Hutter 9045f7c954 First examples of possible logging and error handling 2020-11-19 18:14:56 +01:00
Kevin Ring b6e1794909
Merge pull request #55 from CesiumGS/load-priority
Load tiles in order of priority.
2020-11-19 22:48:18 +11:00
Kevin Ring 44129f8427 Load tiles in order of priority.
Using the priority metric from CesiumJS's terrain engine.
2020-11-19 22:39:32 +11:00
Kevin Ring a62e2305c6
Merge pull request #54 from CesiumGS/cache-size
Restrict cache to a number of bytes instead of a number of tiles, increasing cache capacity
2020-11-19 22:09:39 +11:00
Kevin Ring 359b43cef5 Fix warning on linux. 2020-11-19 21:54:06 +11:00
Kevin Ring 169c9f5ac1 Remove commented-out line of code. 2020-11-19 21:46:14 +11:00
Kevin Ring 0b85d44b88 Faster and more accurate accounting of tile data size. 2020-11-19 21:39:15 +11:00
Kevin Ring 8dba8c0447 Restrict cache to a number of bytes instead of a number of tiles. 2020-11-19 18:00:36 +11:00
Kevin Ring d3420bea4f
Merge pull request #53 from CesiumGS/gltf-accessor-typedef
Add value_type typedef to GltfAccessor.
2020-11-18 21:31:13 +11:00
Kevin Ring 4733d9e433 Add value_type typedef to GltfAccessor.
Bringing it to par with the version in cesium-unreal.
2020-11-18 21:24:06 +11:00
Kevin Ring e056b441bc Add spdlog to build. 2020-11-18 20:20:08 +11:00
Kevin Ring fe4d903ce4
Merge pull request #52 from CesiumGS/unload-tiles-only-once
Make sure that unloadContent is only executed once.
2020-11-18 12:37:41 +11:00
Marco Hutter afe99fcc68 Make sure that unloadContent is only executed once.
The main change is that unloadContent is no longer called
from the Tileset destructor (because it is already called
from the Tile destructor), and that it returns immediately
if the tile already is unloaded.

Also added noexcept for functions that are called from
the Tileset or Tile destructor.
2020-11-17 22:10:05 +01:00
Kevin Ring 1fe8bded5b
Merge pull request #48 from CesiumGS/basic-doxygen-fixes-part-4
Documentation for TileMapServiceRasterOverlayOptions
2020-11-17 12:54:41 +11:00
Kevin Ring 6badfe6a1c
Merge pull request #50 from CesiumGS/wait-for-rasters
Wait for raster loading before destroying tileset.
2020-11-17 11:30:49 +11:00
Kevin Ring ea7ac2d6c4 Wait for raster loading before destroying tileset. 2020-11-17 11:17:02 +11:00
Marco Hutter 7444fa0f50 Documentation for TileMapServiceRasterOverlayOptions
Essentially taken from TileMapServiceImageryProvider
of CesiumJS
2020-11-16 16:41:48 +01:00
Kevin Ring 81e46271dc
Merge pull request #46 from CesiumGS/avoid-empty-queries
Do not append empty queries to URLs
2020-11-16 11:01:12 +11:00
Kevin Ring 9e02d08c2f
Merge pull request #42 from CesiumGS/basic-doxygen-fixes-part-3
Basic doxygen fixes part 3
2020-11-16 09:27:00 +11:00
Marco Hutter b6746cc460 Do not append empty queries to URLs 2020-11-14 19:06:53 +01:00
Marco Hutter 83f62964ef Repeated adding documentation from previous commits.
Had to resolve some merge conflicts by just taking the
updated files and re-inserting the docs...
2020-11-13 17:09:06 +01:00
Marco Hutter f70daa5b03 Merge remote-tracking branch 'origin/master' into basic-doxygen-fixes-part-3
# Conflicts:
#	Cesium3DTiles/include/Cesium3DTiles/RasterMappedTo3DTile.h
#	Cesium3DTiles/include/Cesium3DTiles/RasterOverlay.h
#	Cesium3DTiles/include/Cesium3DTiles/RasterOverlayCollection.h
#	Cesium3DTiles/include/Cesium3DTiles/RasterOverlayTile.h
#	Cesium3DTiles/include/Cesium3DTiles/RasterOverlayTileProvider.h
#	Cesium3DTiles/include/Cesium3DTiles/Tile.h
2020-11-13 16:33:13 +01:00
Kevin Ring c8dafc5119
Merge pull request #43 from CesiumGS/add-remove-overlays
Add support for adding and removing raster overlays on-the-fly
2020-11-12 22:13:32 +11:00
Kevin Ring f914418aab Fix another warning. 2020-11-12 18:33:03 +11:00
Kevin Ring d7621c2ad8 Fix warning. 2020-11-12 18:22:16 +11:00
Kevin Ring 6b7023b1b5 Support for adding and removing overlays. 2020-11-12 17:37:57 +11:00
Marco Hutter e1e8782f00 Added last documentation. Minor fixes. 2020-11-11 16:25:35 +01:00
Marco Hutter e3f4c8419f Documentation for TileContext. Minor fixes. 2020-11-11 15:43:08 +01:00
Marco Hutter 0c6e5628e5 Documentation for Gltf and Raster parts 2020-11-10 19:14:05 +01:00
Kevin Ring 1375575813 WIP raster overlay improvements. 2020-11-11 00:34:20 +11:00
Kevin Ring eb96865d8a Remove explicit creation of overlay tile providers. 2020-11-10 17:04:19 +11:00
Kevin Ring 14ce79f387 More firmly attach RasterOverlayCollection to a Tileset. 2020-11-10 16:51:38 +11:00
Kevin Ring 4e0411bc38
Merge pull request #41 from CesiumGS/tile-under-camera
Select the tile(s) directly underneath the camera even if they're not in the view frustum
2020-11-10 10:22:30 +11:00
Kevin Ring a251a22660 Show the tile(s) directly underneath the camera. 2020-11-10 09:40:46 +11:00
Kevin Ring 468f7056f9
Merge pull request #39 from CesiumGS/ion-token-refresh
Refresh expired Cesium ion tokens.
2020-11-09 15:46:07 +11:00