Commit Graph

1954 Commits

Author SHA1 Message Date
Kevin Ring 54a63e4871 Move ViewUpdateResult to TilesetViewGroup. 2025-03-11 21:43:45 +11:00
Kevin Ring 87b9ac2465 More clang-tidy. 2025-03-11 19:08:48 +11:00
Kevin Ring c5d9fe9b08 Clang-tidy. 2025-03-11 18:49:57 +11:00
Kevin Ring 8df7f2af4d Improve names, add doc. 2025-03-11 18:31:16 +11:00
Kevin Ring daed0a11d2 Make Tileset not a friend of TilesetViewGroup. 2025-03-11 16:52:26 +11:00
Kevin Ring 27c384b1ce Doc. 2025-03-11 15:06:48 +11:00
Kevin Ring 600dc3e83d Tile cleanup. 2025-03-11 15:04:12 +11:00
Kevin Ring 35a924fe0e DebugTileStateDatabse logs previous selection state.
The current will usually be cleared at this time.
2025-03-11 13:18:45 +11:00
Kevin Ring d7f36bdcb4 Fix DebugTileStateDatabase. 2025-03-11 13:09:59 +11:00
Kevin Ring e4e563a58e More clang-tidy. 2025-03-11 11:28:41 +11:00
Kevin Ring 1c15340162 clang-tidy warnings. 2025-03-10 23:00:46 +11:00
Kevin Ring 06914b4a09 More missing doc. 2025-03-10 22:50:14 +11:00
Kevin Ring 556d803b6e Documentation. 2025-03-10 21:59:00 +11:00
Kevin Ring 9f170ee8bb Remove invalid use of `static`. 2025-03-10 21:25:20 +11:00
Kevin Ring 74d17e537f Formatting. 2025-03-10 21:23:34 +11:00
Kevin Ring 9b1efc6d0f Clean up LoadedTileEnumerator. 2025-03-10 21:12:05 +11:00
Kevin Ring a64daeaf03 Process height queries in loadTiles instead of updateView. 2025-03-10 17:21:53 +11:00
Kevin Ring cb5b39d139 Remove createViewGroup method. 2025-03-10 16:36:22 +11:00
Kevin Ring 5c3fe540b0 Less magic for registration of TileLoadRequesters.
So it can be done outside of cesium-native itself.
2025-03-10 16:10:48 +11:00
Kevin Ring f31eddd122 Rename ITileLoadRequester to TileLoadRequester. 2025-03-10 15:32:07 +11:00
Kevin Ring 88f23da70d Rename ITileLoadRequester.h to TileLoadRequester.h. 2025-03-10 15:30:22 +11:00
Kevin Ring a5e5bee6a8 Doc, make needs*Loading methods accessible. 2025-03-10 14:07:12 +11:00
Kevin Ring be14e13d72 Fix clang warning. 2025-03-10 13:23:19 +11:00
Ashley Rogers 52cf228646 Add missing include 2025-03-07 10:09:31 -05:00
Kevin Ring c5b5841cec Fix height queries. 2025-03-07 22:18:33 +11:00
Kevin Ring a2dc5fd36e Weighted round robin for main thread loading, too. 2025-03-07 14:46:11 +11:00
Kevin Ring db5602cf6a Settable weights. 2025-03-07 13:36:12 +11:00
Kevin Ring 49783e0e10 Weighted round robin worker thread tile loading. 2025-03-07 13:25:23 +11:00
Ashley Rogers 1c87344f7f Add includes 2025-03-06 17:05:50 -05:00
Ashley Rogers 0ffa232857 Merge branch 'imodel-mesh-export-loader' of github.com:CesiumGS/cesium-native into itwin-reality-data-loader 2025-03-06 17:00:21 -05:00
Ashley Rogers c393756f47 Fix CI issues 2025-03-06 16:58:29 -05:00
Ashley Rogers 9dae8c83de Loader and factory 2025-03-06 11:28:13 -05:00
Kevin Ring 865d8af2c7 Register in remaining TilesetViewGroup constructor. 2025-03-06 22:24:20 +11:00
Kevin Ring 076fcbcc9e Add ITileLoadRequester, register with TilesetContentManager. 2025-03-06 22:23:27 +11:00
Kevin Ring a81e7f3c45 Move load queues into TilesetViewGroup. 2025-03-06 18:50:12 +11:00
Ashley Rogers 6da60a75f5 Add Reality Data loader 2025-03-05 17:03:03 -05:00
Ashley Rogers ee9aa028a1 Fix JSON parsing 2025-03-05 15:45:28 -05:00
Ashley Rogers 7923f6509a Add mesh export service loader 2025-03-05 15:21:44 -05:00
Ashley Rogers 7aaf9e6ae5 clang-tidy fixes 2025-03-05 11:30:46 -05:00
Ashley Rogers 036ce1f5f1 Additional documentation 2025-03-05 11:11:03 -05:00
Ashley Rogers 70f4467f42 Documentation 2025-03-05 11:00:59 -05:00
Ashley Rogers ad371ca843 Working CCC loader 2025-03-05 10:41:55 -05:00
Ashley Rogers bfbfebdb7e ITwinCesiumCuratedContentLoader + Tileset constructor refactor 2025-03-04 17:17:41 -05:00
Ashley Rogers 8cbad73664 Reapply "iTwin Cesium Curated Content tileset loader"
This reverts commit cdcd093d79.
2025-03-04 14:43:19 -05:00
Ashley Rogers cdcd093d79 Revert "iTwin Cesium Curated Content tileset loader"
This reverts commit bdec829c5e.
2025-03-04 14:10:39 -05:00
Ashley Rogers bdec829c5e iTwin Cesium Curated Content tileset loader 2025-03-04 11:32:30 -05:00
Kevin Ring 0092b7b84e Merge remote-tracking branch 'origin/main' into multiple-views 2025-03-04 15:36:27 +11:00
Tim Moore b39d3f03cf Merge remote-tracking branch 'origin/main' into vcpkg-pkg 2025-03-03 14:14:23 -05:00
Ashley Rogers e3be93d05d Fix variable length string arrays 2025-02-28 16:43:48 -05:00
Ashley Rogers 07bb72746e Add test 2025-02-28 15:32:21 -05:00
Kevin Ring 8a626dfbab Remove unused frame number parameters. 2025-02-28 21:09:15 +11:00
Kevin Ring c7fc9c30ac Remove unused frame number from TileSelectionState. 2025-02-28 21:05:03 +11:00
Kevin Ring b3c0999530 More natural tile reference counting. 2025-02-28 20:53:18 +11:00
Kevin Ring 83ecea47f6 Less fiddly updating of LoadedTileEnumerator's root tile. 2025-02-28 15:45:33 +11:00
Kevin Ring ff24badffb TilesetContentManger owns LoadedTileEnumerator. 2025-02-28 14:33:52 +11:00
Kevin Ring 1326242691 New loaded tile enumeration. 2025-02-27 22:34:20 +11:00
Kevin Ring 0613cfad45 Merge remote-tracking branch 'origin/main' into multiple-views 2025-02-27 18:59:16 +11:00
Kevin Ring 9d757a7b0f Mark tile failed when load throws an exception.
The most common reason this may happen is on a connection failure.
2025-02-27 16:55:37 +11:00
Kevin Ring 2009ee1823 Add comment about _doNotUnloadSubtreeCount copying. 2025-02-27 15:18:15 +11:00
Kevin Ring 44cf9548be Move _doNotUnloadSubtreeCount along with other fields. 2025-02-27 14:49:47 +11:00
Ashley Rogers 4ea9154818 Change createChildTiles behavior 2025-02-26 14:31:18 -05:00
Ashley Rogers 3546686bd7 Address some of the review comments. 2025-02-26 13:53:45 -05:00
Tim Moore 9c1eb44400 Merge branch 'main' into vcpkg-pkg 2025-02-26 18:05:07 +01:00
Kevin Ring caf4668d0f New Tile unload approach. 2025-02-26 22:38:48 +11:00
Kevin Ring e60c349a9e Merge remote-tracking branch 'origin/unload-external-tilesets-2' into multiple-views 2025-02-26 18:14:36 +11:00
Kevin Ring 160fa4db1f Merge remote-tracking branch 'origin/main' into unload-external-tilesets-2 2025-02-26 14:54:14 +11:00
Ashley Rogers 75175434d3 Unhackify empty tile handling 2025-02-25 13:56:23 -05:00
Kevin Ring 9bdf4709c0 Merge remote-tracking branch 'origin/main' into multiple-views 2025-02-25 14:13:49 +11:00
Kevin Ring 84416c556d
Merge pull request #1111 from CesiumGS/3dtiles-bounding-volume-cylinder
Add support for `3DTILES_bounding_volume_cylinder`
2025-02-25 13:11:53 +11:00
Ashley Rogers c5de73a841 Fix tileset height query test failure 2025-02-24 17:05:33 -05:00
Ashley Rogers 7bc0896d17 Remove #define left in accidentally 2025-02-24 15:32:21 -05:00
Ashley Rogers 81e5311e05 Remove _tilesStillNotUnloadedCount, rename _doNotUnloadCount, review comments 2025-02-24 15:30:27 -05:00
Janine Liu 124e63a336 The last of clang-tidy, hopefully. 2025-02-24 15:06:08 -05:00
Janine Liu 8c19b0f75f Fix bad bracket placement 2025-02-24 14:50:29 -05:00
Janine Liu 73bb7b9bb0 Formatting, add missing bracket 2025-02-24 14:39:37 -05:00
Janine Liu 65366bc7ed Add support for cylinder bounding volumes in quadtrees 2025-02-24 14:22:13 -05:00
Janine Liu 812d96249f Read bounding volumes using JSON reader 2025-02-24 14:13:42 -05:00
Janine Liu 47b358fbc7 Angle bracket sweep, remove outdated references, tweak glm stuff 2025-02-24 11:24:28 -05:00
Kevin Ring 709ac4498d Pass request headers to tileset.json content requests.
Also fix crash if tileset.json has no root tile.
2025-02-21 20:50:02 +11:00
Ashley Rogers 598f49f92e Remove pointless check I left in 2025-02-20 15:15:52 -05:00
Ashley Rogers 489a541dc1 Fix test 2025-02-20 14:42:11 -05:00
Ashley Rogers b5d46371e9 The final piece?? 2025-02-20 14:16:13 -05:00
Ashley Rogers 40f951ffb9 Lots of SPDLOG_INFO 2025-02-20 11:48:50 -05:00
Ashley Rogers b4dd32ad36 Add *second* counter 2025-02-19 14:43:48 -05:00
Ashley Rogers 8aa6cc0bf8 Fix for other _loadedTiles issue 2025-02-18 14:17:15 -05:00
Ashley Rogers 9289398029 Bizarre fix for ContentLoading issue 2025-02-18 13:57:34 -05:00
Kevin Ring 3f7fed867b Don't check frame number. 2025-02-18 14:20:12 +11:00
Janine Liu d762030d25 Add test to BoundingVolume 2025-02-17 17:04:42 -05:00
Janine Liu bc165ffc93 Fix includes and formatting 2025-02-17 16:44:28 -05:00
Janine Liu 116743cc0b Fix translation bug, try to appease clang-tidy 2025-02-17 16:00:07 -05:00
Kevin Ring 6e0a355504 Call startNextFrame on all ViewGroups. 2025-02-17 14:00:25 +11:00
Kevin Ring 4bed3c859e Merge remote-tracking branch 'origin/main' into multiple-views 2025-02-17 08:57:26 +11:00
Janine Liu 60536f2e1a BoundingCylinder -> BoundingCylinderRegion 2025-02-14 17:44:56 -05:00
Ashley Rogers 140a7d96de Track *most* of the Tile pointers in TilesetHeightQuery 2025-02-14 17:02:20 -05:00
Janine Liu e1cc0c3e5b Merge branch 'axis-aligned-from-points' into 3dtiles-bounding-volume-cylinder 2025-02-14 14:35:39 -05:00
Ashley Rogers 21c03e2e74 Include Assert.h for clang-tidy 2025-02-14 10:09:29 -05:00
Ashley Rogers f705ac2da9 More review comments 2025-02-14 10:05:04 -05:00
Ashley Rogers 7367c77216 Merge branch 'unload-external-tilesets-2' of github.com:CesiumGS/cesium-native into unload-external-tilesets-2 2025-02-13 17:41:09 -05:00
Ashley Rogers 7842279b86 Address review comments 2025-02-13 17:40:40 -05:00
Ashley Rogers 7f8e02308a Merge branch 'main' of github.com:CesiumGS/cesium-native into unload-external-tilesets-2 2025-02-13 17:09:40 -05:00
Tim Moore e221a72631 Merge remote-tracking branch 'origin/main' into vcpkg-pkg 2025-02-13 14:58:27 +01:00
Janine Liu 32f703f754 linting 2025-02-12 16:34:26 -05:00
Janine Liu b0f3c634df Add BoundingCylinder as a tile bounding volume 2025-02-12 14:15:59 -05:00
Kevin Ring 243cae3e80 Move last selection state out of Tile in the simplest way possible. 2025-02-12 16:14:24 +11:00
Ashley Rogers 38a9f0835d Same stuff, different file 2025-02-10 16:47:47 -05:00
Ashley Rogers 7171545306 #ifdef around unordered_map 2025-02-10 15:48:35 -05:00
Ashley Rogers 765e6dbe1b Add [[maybe_unused]] to `reason` 2025-02-10 15:24:12 -05:00
Ashley Rogers 0b27e40ae5 RemoveChildren -> RemoveAndClearChildren 2025-02-10 15:20:33 -05:00
Ashley Rogers 3816ef9835 Add comment, format 2025-02-10 15:15:16 -05:00
Ashley Rogers db707fd09f Final fixes and ifdef for debug tracking 2025-02-10 15:09:35 -05:00
Ashley Rogers 101f71cfba Alllllmost working 2025-02-07 17:51:24 -05:00
Ashley Rogers 2b35b264e2 Inc/dec _doNotUnloadCount from setState 2025-02-07 17:16:13 -05:00
Ashley Rogers 3fb40074be Handle removing children in Tileset 2025-02-07 16:09:34 -05:00
Ashley Rogers e7d1ce5a9c Add *initiator* tile ID to log 2025-02-07 15:32:47 -05:00
Ashley Rogers c5a7fc4641 Scratch that - just add tile ID to log 2025-02-07 15:29:09 -05:00
Ashley Rogers d4c14dbb68 Add _loadedTiles to _doNotUnloadCount 2025-02-07 15:19:08 -05:00
Ashley Rogers 2aa36b3a1a Use _doNotUnloadCount to actually unload external tiles 2025-02-07 14:56:14 -05:00
Ashley Rogers dd27186c87 _doNotUnloadCount tracking 2025-02-07 13:51:42 -05:00
Ashley Rogers a9b4bfc3bb useBaseQuery for LayerJsonTerrainLoader 2025-02-05 10:09:18 -05:00
Kevin Ring b7e1e7c311 Remove unused `maximumSimultaneousSubtreeLoads`. 2025-02-04 18:18:07 +11:00
Tim Moore d1d790afe3 Merge branch 'main' into vcpkg-pkg 2025-02-03 22:26:20 +01:00
Kevin Ring 730bb759f0 Fix placeholder handling in BingMapsRasterOverlay. 2025-02-03 09:26:22 +11:00
Ashley Rogers eb016f0c0e Rename UriQueryParams -> UriQuery 2025-01-31 13:25:07 -05:00
Tim Moore ed58d0236b Merge remote-tracking branch 'origin/main' into vcpkg-pkg 2025-01-31 17:02:12 +01:00
Ashley Rogers 46ad1ac747 Separate query handling from Uri 2025-01-29 17:16:17 -05:00
Ashley Rogers 1c4e4c2acf Merge from main 2025-01-29 10:53:18 -05:00
Kevin Ring 344f386f90
Merge branch 'main' into culling-volume-crash 2025-01-29 19:00:33 +11:00
Ashley Rogers 7006b8177c Remove uriparser, format, etc 2025-01-28 11:57:53 -05:00
Ashley Rogers cb18f767b3 Return to previous substitution logic 2025-01-28 10:42:41 -05:00
Ashley Rogers 9e032f8aed
Merge pull request #1084 from CesiumGS/ada-url-substitute-first
ada-url: Substitute layer.json placeholders before treating as URLs
2025-01-28 10:13:58 -05:00
Ashley Rogers 158de7e4dc Merge branch 'main' of github.com:CesiumGS/cesium-native into ada-url 2025-01-28 09:55:01 -05:00
Kevin Ring 17eefa161f Substitute placeholders before manipulating layer.json URLs. 2025-01-28 21:12:12 +11:00
Ashley Rogers e16c56228b Don't crash when culling volume position is too large 2025-01-24 15:42:45 -05:00
Ashley Rogers 3d9a7f03b3 Remove new line for cross-platform test 2025-01-23 16:59:33 -05:00
Ashley Rogers 68bce2c8d0 Format 2025-01-23 16:42:12 -05:00
Ashley Rogers 06a3975d24 Add tests for Loader errors, log layer.json errors 2025-01-23 16:40:22 -05:00
Ashley Rogers 40d4ba9b71 Merge branch 'main' of github.com:CesiumGS/cesium-native into ada-url 2025-01-23 13:17:37 -05:00
Ashley Rogers cc56388500 Merge branch 'main' of github.com:CesiumGS/cesium-native into doc-raster-overlays 2025-01-23 11:49:30 -05:00
Kevin Ring 6541b5b450 Add a test. 2025-01-22 21:27:55 +11:00
Kevin Ring 4b8e520ef0 Return the highest sample height, not the first one. 2025-01-22 18:50:41 +11:00
Kevin Ring 251c399488 Merge remote-tracking branch 'origin/main' into request-headers-tileset 2025-01-22 13:43:26 +11:00
Ashley Rogers 31f16082fc Fix build errors 2025-01-21 14:50:47 -05:00
Ashley Rogers 6115d11cf7 Format 2025-01-17 16:18:05 -05:00
Ashley Rogers 45d9d7ffa6 Merge from main 2025-01-17 16:06:58 -05:00
Ashley Rogers 9617622dea Part of a Uri refactor 2025-01-17 12:07:24 -05:00
Kevin Ring 017d13393c
Merge pull request #1064 from CesiumGS/doctest
Use doctest instead of Catch2 for tests
2025-01-17 09:52:00 +11:00
Ashley Rogers 8269d1b7da Merge from main 2025-01-16 14:06:17 -05:00
Ashley Rogers e740e3a7b5 Address review comments 2025-01-16 14:05:13 -05:00
Kevin Ring feef2cd0eb Doc how raster overlays work. Other tweaks. 2025-01-16 17:26:18 +11:00
Ashley Rogers 4e318925a5 Switch tests to doctest 2025-01-15 16:58:03 -05:00
Kevin Ring 1cfb65e169 Merge remote-tracking branch 'origin/main' into doc-tile-selection-algorithm 2025-01-14 12:51:32 +11:00
Kevin Ring 79ce68ec25 Avoid repeated branch body. 2025-01-13 21:05:03 +11:00
Kevin Ring d4b8f501e3 Revert stylistic change (but maybe clang-tidy will be mad) 2025-01-13 20:44:15 +11:00
Kevin Ring 028ee29eed Merge remote-tracking branch 'origin/main' into clang-tidy-cleanup 2025-01-13 17:30:09 +11:00
Kevin Ring bb6e769c1c Add unconditionally-refined tile selction. 2025-01-13 11:01:49 +11:00
Ashley Rogers d154416227 Format, CHANGES 2025-01-09 16:30:52 -05:00
Ashley Rogers 2dcbb94c9c Allow specifying request headers in TilesetOptions 2025-01-09 16:28:39 -05:00
Kevin Ring edd488c6ed Add tile loading sections. 2025-01-08 22:46:16 +11:00
Ashley Rogers 1db43366cd Resolve review items 2025-01-06 14:48:49 -05:00
Ashley Rogers ca0bf673c5 Move tileset methods back 2024-12-20 16:43:39 -05:00
Ashley Rogers 1b7b8ce29e Fix review issues 2024-12-20 16:32:24 -05:00
Ashley Rogers 61c1fa5f17 Make clang-tidy happy again 2024-12-20 16:04:45 -05:00
Ashley Rogers 869a43267c Undo trivially constructable std::move removals 2024-12-20 15:30:31 -05:00
Ashley Rogers 768b6510b3 Quotes to brackets 2024-12-20 12:00:09 -05:00
Ashley Rogers 2c8aa4a422 Fix includes using script 2024-12-20 11:56:49 -05:00
Ashley Rogers b4a6700adc Small review changes 2024-12-20 10:31:45 -05:00
Ashley Rogers 2c992b7ba7 Performance checks 2024-12-19 15:27:53 -05:00
Ashley Rogers f7d287dd80 Modernize checks 2024-12-19 15:20:19 -05:00
Ashley Rogers 94cc7992aa Misc checks 2024-12-19 14:33:52 -05:00
Ashley Rogers 4aeee635ca More checks 2024-12-18 15:25:51 -05:00
Ashley Rogers 86a4ea9a6f Why is clang-tidy throwing bits/basic_string in here? 2024-12-18 10:41:16 -05:00
Janine Liu 8cdf943272
Merge pull request #1042 from CesiumGS/kick-to-renderable
"Kick" only when the current tile is renderable
2024-12-18 10:26:16 -05:00
Ashley Rogers 6aa10bb592 Fix cast issues 2024-12-18 10:01:52 -05:00
Kevin Ring c32cdafc24
Update Cesium3DTilesSelection/test/TestTilesetSelectionAlgorithm.cpp
Co-authored-by: Janine Liu <32226860+j9liu@users.noreply.github.com>
2024-12-18 21:02:48 +11:00
Kevin Ring bb2b7b2963
Update Cesium3DTilesSelection/src/Tileset.cpp
Co-authored-by: Janine Liu <32226860+j9liu@users.noreply.github.com>
2024-12-18 20:56:46 +11:00
Ashley Rogers 7ef48d56c7 Fix additional clang-tidy issues 2024-12-17 17:41:42 -05:00
Ashley Rogers 77094edb1f Format 2024-12-17 17:27:27 -05:00
Ashley Rogers 1e2e47ab5e misc-include-cleaner for every file 2024-12-17 17:27:03 -05:00
Ashley Rogers 2ce337be44 Merge from main 2024-12-17 11:36:54 -05:00
Ashley Rogers f934b40717 All warnings resolved 2024-12-17 11:30:58 -05:00
Kevin Ring 54f9d4b6f5 Merge remote-tracking branch 'origin/main' into doc-tile-selection-algorithm 2024-12-17 11:20:15 +11:00
Kevin Ring 4e6e2b8300
Merge pull request #1024 from CesiumGS/update-readme
Overhaul README
2024-12-17 10:36:08 +11:00
Kevin Ring f8956edf9c Fix misplaced doc comment. 2024-12-17 10:28:55 +11:00
Kevin Ring 09b25b6aa8 Fix test failures. 2024-12-16 22:59:26 +11:00
Kevin Ring 2436a0e5c4 Merge remote-tracking branch 'origin/main' into kick-to-renderable 2024-12-16 20:33:02 +11:00
Ashley Rogers 39e7037927 Enum value 'descriptions' for generated code 2024-12-13 11:20:02 -05:00
Janine Liu 44c5892779
Apply suggestions from code review 2024-12-13 10:50:46 -05:00
Kevin Ring 3251cda0dc Don't kick to a tile that isn't renderable.
Unless the loadingDescendantLimit is exceeded.
2024-12-13 22:11:32 +11:00
Ashley Rogers f91818e039 Even more documentation 2024-12-11 15:33:30 -05:00
Kevin Ring 16b237e84e Improve clarity of selection algorithm. 2024-12-11 07:37:22 +11:00
Ashley Rogers 254e7598b8 Some async, geometry, selection docs 2024-12-10 11:26:13 -05:00
Kevin Ring d890aa9178 Slight reorganization of "ancestorMeetsSse" for clarity. 2024-12-10 22:08:46 +11:00
Kevin Ring 9e7f8522c3 Formatting. 2024-12-09 21:27:52 +11:00
Kevin Ring 94ad53bf7f Fix selection bug, and debug helper. 2024-12-09 21:26:00 +11:00
Ashley Rogers 4d82403b80 Pan-zoom, add dependencies page. 2024-12-06 18:21:57 -05:00
Tim Moore 8b65a4084b run format 2024-12-05 19:01:34 +01:00
Tim Moore 6c1b1edd4e Workaround for an -Werror=restrict warning from gcc 12 2024-12-05 17:13:48 +01:00
Tim Moore d1b064d8fd Don't add public headers to public target sources
The intent is for public target sources to be compiled into consumers
of a target, but that is a no-op for header files. Including the
public headers, which have paths pointing inside the project, causes
an error when generating an export set.
2024-12-05 16:03:52 +01:00
Tim Moore 7d5f2e1748 Choose BUILD_INTERFACE or INSTALL_INTERFACE in include directories
Should be a no-op at this point, but will be required when we make
Cesium Native installable.
2024-12-05 16:03:12 +01:00
Ashley Rogers bb365c8aee Dependency graph generation 2024-12-04 14:39:16 -05:00
Kevin Ring 4018349f68 CHANGES.md, changes from self review. 2024-11-29 20:51:26 +11:00
Kevin Ring c91707ec12 More cleanup. 2024-11-29 19:53:33 +11:00
Kevin Ring e6b7e233d5 Remove unnecessary field from QuantizedMeshLoadResult. 2024-11-29 19:44:53 +11:00
Kevin Ring 97ee4f37e0 Comments and cleanup. 2024-11-29 19:28:32 +11:00
Kevin Ring e55b35c435 Re-add `Tileset::getExternals`. 2024-11-29 19:13:12 +11:00
Kevin Ring d19af4955d Better token refresh logging. 2024-11-29 18:05:18 +11:00
Kevin Ring 086903e60a Fix Clang / GCC warnings. 2024-11-29 07:46:35 +11:00
Kevin Ring 77743cba4e Refresh ion token on 401 for any type of asset.
By using an IAssetAccessor decorator.
2024-11-28 22:50:18 +11:00
Kevin Ring 6ef197053f Several fixes for shared asset problems. 2024-11-28 18:31:42 +11:00
Ashley Rogers 08dcb82f9e Document undocumented parameters 2024-11-26 14:27:37 -05:00
Ashley Rogers fdabe39f6e Fix some Doxygen warnings 2024-11-26 14:14:58 -05:00
Ashley Rogers cca8871eef Include both catch2 headers 2024-11-22 11:30:45 -05:00
Ashley Rogers f82d65bead Change Catch2 header 2024-11-22 11:17:21 -05:00
Ashley Rogers 3832758a15 Merge from main 2024-11-21 15:48:02 -05:00
Kevin Ring db94337b49 Merge remote-tracking branch 'origin/main' into ellipsoid-height-queries 2024-11-21 21:14:44 +11:00
Ashley Rogers acc9e81d12 Merge from main 2024-11-20 17:12:43 -05:00
Ashley Rogers 52633c67f4 Non-PropertyTable changes 2024-11-20 16:20:04 -05:00
Kevin Ring 3168f9eef1 Rename ITilesetHeightQuery to ITilesetHeightSampler. 2024-11-21 07:19:43 +11:00
Ashley Rogers 86a4bf7e53 Fix warnings ignored on headers with SYSTEM 2024-11-19 15:47:40 -05:00
Kevin Ring 34cff71426 Add ITilesetHeightQuery. 2024-11-19 21:47:50 +11:00
Kevin Ring 5e5c4b1911 Add test for height queries against EllipsoidTilesetLoader. 2024-11-19 20:52:05 +11:00
Kevin Ring a6e2c8b05f Eliminate block of useless indices from EllipsoidTilesetLoader.
EllipsoidTilesetLoader was passing a size to the constructor for the
std::vector used to store the indices, and then it was also adding the
indices by calling `insert`. That resulted in a giant block of useless
(0,0,0) indices, followed by the useful ones created by the insert.

This change uses `reserve` instead of passing a size to the constructor.
2024-11-19 20:45:27 +11:00
Kevin Ring e56c5d776c Don't create tiles past level 30, because it won't work.
EllipsoidTilesetLoader can conceptually create tiles of any level. But
because we use a uint32_t for the tile X and Y coordinates, and because
tile level 31 has 2*2^31=2^32 tiles, we end up overflowing the uint32_t
and producing nonsense tile coordinates. So this change prevents the
loader from creating tiles past level 30.
2024-11-19 20:43:11 +11:00
Kevin Ring 8a23ca54d9 Merge remote-tracking branch 'origin/main' into cpp20 2024-11-19 09:14:49 +11:00
Kevin Ring 651d3b4d43 Merge remote-tracking branch 'origin/main' into remove-gsl 2024-11-15 13:58:24 +11:00
Sean Lilley f51948fbe4 Remove old CESIUM_NATIVE_ CMake variables 2024-11-13 11:22:17 -05:00
Kevin Ring bc9165659f Merge remote-tracking branch 'origin/cpp20' into remove-gsl 2024-11-12 15:07:50 +11:00
Kevin Ring 73da501e8c Merge remote-tracking branch 'origin/main' into cpp20 2024-11-12 15:06:45 +11:00
Ashley Rogers b986b0b402 Merge branch 'main' of github.com:CesiumGS/cesium-native into ellipsoid-tileset-loader 2024-11-06 15:57:18 -05:00
Kevin Ring 89dfc44bdc Remove use of GSL.
Change gsl::span to std::span, and replace the few uses of gsl::narrow
with an alternative.
2024-11-06 15:16:03 +11:00
Kevin Ring 97331792d3 Compile with C++20 and fix the problems. 2024-11-05 16:54:11 +11:00
Kevin Ring 783adceb87
Merge pull request #956 from CesiumGS/fix-missing-ellipsoid
Fix missing ellipsoid parameters
2024-10-31 21:24:45 +11:00
Kevin Ring 3435ad6a3c Pass a TilesetSharedAssetSystem into TilesetExternals. 2024-10-30 14:11:22 +11:00
Kevin Ring 8b60ebdd63 Minor tweaks. 2024-10-30 11:06:14 +11:00
Kevin Ring 33d4948634 Image::pCesium -> pAsset 2024-10-30 09:40:04 +11:00
Kevin Ring c73f5b5f05 staleAssetSizeLimit -> inactiveAssetSizeLimitBytes 2024-10-29 14:09:34 +11:00
Kevin Ring feaf448dc3 Flesh out utility functions slightly. 2024-10-29 14:07:09 +11:00
Kevin Ring d43edcea85 Add ResultPointer. 2024-10-29 11:38:15 +11:00
Kevin Ring 49f1d6319c Introduce TilesetSharedAssetSystem. 2024-10-29 09:24:43 +11:00
Kevin Ring 727a68d064 Introduce AssetEntry. 2024-10-28 17:13:18 +11:00
Ashley Rogers 38b4811270 Pass factory to asset depot constructor 2024-10-11 12:00:55 -04:00
Ashley Rogers df1f887e6d Doc comments, rename ImageCesium 2024-10-10 15:28:05 -04:00
Kevin Ring 526e660687 default -> getDefault 2024-10-10 22:19:52 +11:00
Kevin Ring 7f798379f4 GltfSharedAssetSystem 2024-10-10 21:56:09 +11:00
Kevin Ring a9516a0c84 Move SharedAsset[Depot] to CesiumAsync. 2024-10-10 21:00:16 +11:00
Kevin Ring 275bac0325 Better naming. 2024-10-04 21:16:11 +10:00
Kevin Ring cee6f21ea6 Make SharedAsset a base class an eliminate AssetContainer. 2024-10-04 16:10:28 +10:00
Kevin Ring 91f5b5fc65 Merge remote-tracking branch 'origin/main' into shared-assets 2024-10-03 09:14:00 +10:00
Ashley Rogers a2b31a070b Fix missing ellipsoid parameters 2024-10-01 11:27:13 -04:00
Kevin Ring ec2186cff2 setMightHaveLatentChildren(false) even if tile has real children. 2024-10-01 16:18:33 +10:00