Commit Graph

1530 Commits

Author SHA1 Message Date
Kevin Ring 43d510d2ad Merge remote-tracking branch 'origin/v0.27.x' 2023-10-01 16:14:59 +11:00
Brian Langevin 4332b04353
Merge pull request #732 from CesiumGS/ion-external-type
Add support for Cesium ion "externalType" assets.
2023-09-28 15:36:00 -06:00
Kevin Ring b55ac3a0f0 Changes from review. 2023-09-29 07:00:03 +10:00
Brian L 9fb91de779 Track kicked tiles and use in ::ComputeLoadProgress 2023-09-28 09:45:44 -06:00
Kevin Ring 08f26ad4d8 Add support for Cesium ion "externalType" assets. 2023-09-27 10:43:09 +10:00
Kevin Ring 4bf6a3e76e Revert "Add support for Cesium ion "externalType" assets."
This reverts commit 828491cff3.
2023-09-27 10:42:37 +10:00
Kevin Ring 828491cff3 Add support for Cesium ion "externalType" assets. 2023-09-27 10:42:03 +10:00
Kevin Ring 3c05ac98b1 Merge remote-tracking branch 'origin/main' into upgrade-feature-metadata 2023-09-08 15:34:49 +10:00
Kevin Ring 710c47e8b8 Merge remote-tracking branch 'origin/upgrade-feature-metadata' into final-metadata-changes 2023-09-08 12:02:39 +10:00
Kevin Ring 1b9b54c66b
Merge pull request #713 from CesiumGS/additional-property-details
Create `PropertyView` base class with normalization handling
2023-09-08 11:56:52 +10:00
Janine Liu b7c3daea05 Check for all-null properties 2023-09-07 14:55:35 -04:00
Kevin Ring 9cc9f83d81 Fix crash cause by redundant finishLoading call. 2023-09-03 10:38:33 +10:00
Kevin Ring e406287a91 Finish loading parent tile when needed for upsampling. 2023-09-01 11:39:58 +10:00
Janine Liu 36cf067368 Final unit test pass 2023-08-31 15:08:29 -04:00
Janine Liu b13b640147 Cleanup, add unit tests 2023-08-31 14:44:18 -04:00
Kevin Ring a2d5b92ea8 Fix misnaming. 2023-08-31 09:28:36 +10:00
Kevin Ring 57476c3034 Changes from review. 2023-08-31 09:27:06 +10:00
Kevin Ring 7c8f4b1473 Fix test failures, change some CHECK to REQUIRE. 2023-08-31 09:23:30 +10:00
Kevin Ring 5637a68f30 Merge remote-tracking branch 'origin/generated-readers' into tileset-metadata-take-two 2023-08-31 09:18:29 +10:00
Janine Liu bdf630b86f Add support for sentinel values in batch tables 2023-08-30 18:25:03 -04:00
Kevin Ring 5a9c23bd3a Add a test. 2023-08-30 21:26:58 +10:00
Kevin Ring 2a113dc5ab Treat additive-refined tiles as rendered, because they are. 2023-08-30 19:19:32 +10:00
Kevin Ring 3f4034101b Fix VS2017/2019 warning. 2023-08-28 21:07:29 +10:00
Kevin Ring 5bf8a7b10e struct -> class 2023-08-28 19:13:46 +10:00
Kevin Ring 946887abe7 Add getArrayOfStrings helper to JsonValue. 2023-08-28 18:41:25 +10:00
Kevin Ring 51e798e4ea Add test for async schema loading. 2023-08-28 18:24:08 +10:00
Kevin Ring 153890dbbf Add `Tileset::loadMetadata`. 2023-08-28 17:47:48 +10:00
Kevin Ring fe26c94446 Remove unnecessary forward declaration. 2023-08-24 07:07:09 +10:00
Janine Liu bc9dd9e6e5 Add static casts for integer optionals 2023-08-23 09:58:02 -04:00
Kevin Ring d24e5f9dfd Update CHANGES.md, remove unnecessary change. 2023-08-23 20:58:14 +10:00
Kevin Ring ea6a74ef3a Fix another clang warning. 2023-08-23 14:58:41 +10:00
Kevin Ring 20cbc17951 Formatting. 2023-08-23 14:18:47 +10:00
Kevin Ring 056edba5c7 Add a test based on material variants. 2023-08-23 13:41:57 +10:00
Kevin Ring c68207a6a4 Add MetadataQuery class. 2023-08-23 11:30:06 +10:00
Kevin Ring ef2ac5d1db Add missing file. 2023-08-23 09:07:53 +10:00
Kevin Ring c0fc8b6795 More tileset metadata to a separate struct. 2023-08-23 09:07:35 +10:00
Janine Liu 38001698e8 Fix offset / scale etc. to only work for fixed-length arrays 2023-08-22 12:43:48 -04:00
Kevin Ring 8f8cb9bb8c Generate Reader classes, remove hand-written versions. 2023-08-22 22:15:47 +10:00
Kevin Ring 79d33e2365 Fix Clang/GCC compiler error. 2023-08-21 21:44:22 +10:00
Kevin Ring e99b00d228 Formatting. 2023-08-21 21:18:35 +10:00
Kevin Ring 789fed81fc Support metadata on external tilesets. 2023-08-21 20:07:01 +10:00
Kevin Ring 44ad7866d0 Expose metadata on root tile and external tilesets. 2023-08-21 18:51:12 +10:00
Kevin Ring 056eecc6b3 Give tileset a root "external" tile. 2023-08-21 18:36:49 +10:00
Kevin Ring 0dbf93091c Start reading metadata and groups properties. 2023-08-18 23:08:58 +10:00
Kevin Ring 31f0ed55c9 Expose Schema on Tileset. 2023-08-18 21:56:48 +10:00
Brian Langevin 737e710d77
Merge pull request #699 from CesiumGS/tileset-destructor-doc
Update doc for Tileset destructor.
2023-08-15 10:47:05 -06:00
Janine Liu ecd215bddc Merge branch 'main' into upgrade-feature-metadata 2023-08-10 15:27:24 -04:00
Sean Lilley e4ef04b566 Prevent empty error message from getting propagated to a tileset's loadErrorCallback 2023-08-02 11:05:58 -04:00
Kevin Ring 24f46f63a4 Update doc for Tileset destructor. 2023-08-02 10:10:05 +10:00
Janine Liu 64a2e30fe7
Merge pull request #686 from CesiumGS/unconditionally-refined-leaves
Treat fully-loaded, empty, unconditionally-refined tiles with no children as renderable
2023-07-26 10:51:05 -04:00
Kevin Ring fd20f5e272
Merge pull request #688 from javagl/remove-credits-argument
Remove credits argument
2023-07-26 15:10:15 +10:00
Brian L 3664ad8884 Remove logs when registering magic headers of file extensions 2023-07-24 10:42:50 -06:00
Marco Hutter b7da6add99 Removed unused lambda capture 2023-07-20 16:57:36 +02:00
Marco Hutter 7f482ef98d Remove credits argument 2023-07-20 16:15:46 +02:00
Kevin Ring f69be7d53a Merge remote-tracking branch 'origin/main' into unconditionally-refined-leaves 2023-07-17 19:57:32 +10:00
Kevin Ring e790dbb6ae Fix unconditionally-refined leaf tile bug. 2023-07-17 19:32:05 +10:00
Jacob Martin eadd220fcf run clang-format 2023-07-04 22:01:11 -04:00
Jacob Martin d1849146e8 fix in response to unused but set var 2023-07-04 00:41:07 -04:00
Janine Liu c329a8d407 Replace class names in metadata implementation files 2023-06-16 16:25:39 -04:00
Janine Liu f82528cc3f Formatting, changelog entry, cleanup 2023-06-16 15:43:02 -04:00
Janine Liu e0f49321c5 Prefix EXT_feature_metadata files, rename EXT_mesh_features files 2023-06-16 15:16:05 -04:00
Janine Liu 2a29791df8 Update upsampleGltfForRasterOverlays for EXT_structural_metadata 2023-06-16 14:31:58 -04:00
Janine Liu 3e6e9ce764 Fix formatting 2023-06-06 13:53:16 -04:00
Janine Liu a743bb882e Small changes to BatchTableToGltfStructuralMetadata 2023-06-06 12:54:28 -04:00
Janine Liu bc67ba8490 Fix other files 2023-06-06 11:37:35 -04:00
Janine Liu e51e23dfbc Merge branch 'upgrade-feature-metadata' into property-textures 2023-06-01 11:20:41 -04:00
Janine Liu 26b7650b03 Merge branch 'main' into upgrade-feature-metadata 2023-06-01 11:20:23 -04:00
Janine Liu 44b829a081 Add PropertyTextureProperty tests, fix formatting 2023-05-30 11:11:06 -04:00
Janine Liu 619faea5b7 Add PropertyTextureView and rename PropertyTable classes 2023-05-30 10:27:21 -04:00
Kevin Ring aa7b163074
Move commented-out code back where it belongs. 2023-05-26 21:32:31 +10:00
Joseph Kaile 8bfb032c06 actually emit warnings when there are no errors 2023-05-25 15:06:54 -04:00
Janine Liu b5fb7302e3 Fold helper functions into findCompatibleTypes, fix formatting 2023-05-25 14:43:43 -04:00
Joseph Kaile f6d515ddfb Merge branch 'main' into always-log-errors 2023-05-25 14:37:30 -04:00
Janine Liu f2bee8531e Try to resolve CI errors 2023-05-25 14:11:49 -04:00
Janine Liu d7f9c98c33 Initial self-review 2023-05-25 13:13:35 -04:00
Janine Liu dec58d660e Rewrite names / comments for EXT_structural_metadata 2023-05-25 11:55:24 -04:00
Janine Liu d8658e000a Rewrite tests for EXT_structural_metadata 2023-05-25 11:49:29 -04:00
Janine Liu 8ad3f06a96 Convert batch table to EXT_structural_metadata instead 2023-05-24 14:54:40 -04:00
Kevin Ring 9dedad3344 Remove unused code. 2023-05-22 15:34:49 +10:00
Kevin Ring 8fe85716c0 Implement upsampling for meshes with UNSIGNED_BYTE indices. 2023-05-22 13:54:16 +10:00
Joseph Kaile 62ad87b7f9 always log warning/errors 2023-05-18 15:12:31 -04:00
Janine Liu c1e852fb7a Rename file 2023-05-10 15:58:28 -04:00
Janine Liu c545b54627 Use EXT_mesh_features to indicate feature IDs 2023-05-10 15:43:53 -04:00
Janine Liu c9b484d08c
Merge pull request #621 from CesiumGS/implicit-tiles-1.1
Check for implicit root tile if tileset is 1.1 format
2023-04-27 17:18:33 -04:00
Janine Liu fba72abe51 Minor changes 2023-04-27 16:53:04 -04:00
Joseph Kaile 33df41f704 add tests for loading legacy implicit tiling 2023-04-27 11:55:45 -04:00
Joseph Kaile 5ef665233c
Merge pull request #611 from CesiumGS/no-holes-for-reals
Fix a bug causing holes in some tilesets, like San Francisco.
2023-04-27 11:02:24 -04:00
Joseph Kaile f0d5174ece Merge branch 'main' into implicit-tiles-1.1 2023-04-25 12:48:54 -04:00
Kevin Ring 524bf2b9a9 Formatting. 2023-04-24 11:56:41 -04:00
JAE JOON LEE 34500b6e8a change for if wms url has query string(?). then replace with & instead of ? 2023-04-17 10:40:18 +09:00
Joseph Kaile 7f735ed8ee check for implicit root tile if tileset is 1.1 format 2023-04-12 20:49:57 -04:00
Kevin Ring 2af866f64d
Merge pull request #617 from CesiumGS/override-credit-showonscreen
Add ability to override `showOnScreen` in credit
2023-04-03 13:05:16 +10:00
Janine Liu d02ad6581b Small tweaks 2023-03-31 15:01:36 -04:00
Janine Liu 255e13e0c1 Add test and changelog entry 2023-03-31 14:57:59 -04:00
Janine Liu b75e76dd98 Add ability to set showCreditsOnScreen 2023-03-31 13:24:57 -04:00
Janine Liu 374d1da694 Add ability to override showOnScreen in credit 2023-03-30 17:25:36 -04:00
Joseph Kaile 6f7ff95ce7
Merge pull request #606 from CesiumGS/tracing-fixes
Fix compile error when tracing is enabled, disable trace tracks for raster overlays
2023-03-27 14:38:53 -04:00
Janine Liu c6a2f235ab Fix typo 2023-03-24 13:36:29 -04:00
Kevin Ring b6cf23118b Add doc and CHANGES.md update. 2023-03-23 23:24:05 +11:00
Kevin Ring 194d42d138 Add ITileExcluder::startNewFrame. 2023-03-23 23:21:30 +11:00
Kevin Ring 383b4172d2 Don't use this to call static method. 2023-03-23 16:50:59 +11:00
Kevin Ring e39f3dd94f Mark new method static. 2023-03-23 16:49:37 +11:00
Kevin Ring 263ac5000f Slight cleanup. 2023-03-23 16:31:12 +11:00
Kevin Ring 008c167d2a Fix a bug causing holes in some tilesets, like San Francisco. 2023-03-22 22:31:39 +11:00
Kevin Ring f4b7b23afe Fix bug (crash) caused by calling finishLoading twice on one tile. 2023-03-22 15:48:15 +11:00
Kevin Ring 799a3b2eb1 Merge remote-tracking branch 'origin/main' into no-priority-inversion 2023-03-21 17:38:32 +11:00
Janine Liu 96173ddb0f Small documentation tweaks 2023-03-20 13:55:40 -04:00
Janine Liu 39589d7552
Merge branch 'main' into bounding-volume-operations 2023-03-20 13:51:19 -04:00
Kevin Ring d5f3e8cb26 Add getOrientedBoundingBoxFromBoundingVolume and
OrientedBoundingBox::transform.
2023-03-15 17:41:51 +11:00
Kevin Ring 420864545b Formatting. 2023-03-13 13:11:21 +11:00
Kevin Ring b78059f30c Fix tracing framework. 2023-03-13 12:41:10 +11:00
Kevin Ring 206182ef78 Fix clang warning-as-error. 2023-03-13 10:04:14 +11:00
Kevin Ring 5d21e0e3be Merge remote-tracking branch 'origin/better-forbid-holes' into no-priority-inversion 2023-03-10 14:11:01 +11:00
Kevin Ring f866149c79 Add frameNumber to ViewUpdateResult. 2023-03-10 14:05:38 +11:00
Joseph Kaile f7157f22b9 if run out of property values, add empty strings 2023-03-10 12:26:22 +11:00
Kevin Ring 8097205752 Merge remote-tracking branch 'origin/better-forbid-holes' into no-priority-inversion 2023-03-10 12:15:02 +11:00
Kevin Ring 361af73e5d More descriptive priority group names. 2023-03-10 12:11:23 +11:00
Kevin Ring 47780e6175 Refactor loading slightly, avoid main thread priority inversion. 2023-03-10 12:07:35 +11:00
Kevin Ring 124c330eb4 Fix test failure. 2023-03-03 14:45:22 +11:00
Joseph Kaile fd703572e4 if run out of property values, add empty strings 2023-03-02 15:34:16 -05:00
Kevin Ring c90247c239 Formatting. 2023-03-02 23:39:43 +11:00
Kevin Ring 1d1e735b8e Ignore forbidHoles for additive refinement. 2023-03-02 23:35:37 +11:00
Kevin Ring 2894808bc6 Better forbidHoles mode. 2023-02-24 23:15:28 +11:00
Kevin Ring d3e1eabdd9 Fix clang test failure. 2023-02-23 19:33:57 +11:00
Kevin Ring e2404e010c Fix clang/gcc errors. 2023-02-23 18:55:02 +11:00
Kevin Ring 430215fd59 Formatting. 2023-02-23 16:41:30 +11:00
Kevin Ring a47444c551 Add forbidHoles test, too. 2023-02-23 16:14:09 +11:00
Kevin Ring 05b94f1be3 Also test with forbidHoles enabled. 2023-02-23 15:57:05 +11:00
Kevin Ring 854f0abbf4 Add a test. 2023-02-23 15:44:05 +11:00
Kevin Ring b0e2cf130f Fix forbid holes mode after isRenderable change. 2023-02-23 00:05:57 +11:00
Kevin Ring 1d29a89260 Merge remote-tracking branch 'origin/globe-anchor' into unconditionally-refined-is-not-renderable 2023-02-22 23:51:57 +11:00
Kevin Ring c8cdb3694e An unconditionally refined tile should never be rendered.
And therefore is never renderable.
2023-02-22 23:31:55 +11:00
Kevin Ring 65e6efc3bc Beginning of GlobeAnchor implementation. 2023-02-13 22:01:01 +11:00
Janine Liu 547f92294c Add maybe_unused attribute 2023-02-03 17:38:30 -05:00
Janine Liu 34e209af46 Convert sRGB colors to linear RGB 2023-02-03 16:03:15 -05:00
Janine Liu 80c5584163 Update for PR feedback 2023-02-03 10:39:53 -05:00
Janine Liu a0959d1242 Add fix for empty batch table 2023-02-02 18:03:53 -05:00
Janine Liu 87fea003f0 Merge branch 'main' into pnts-support 2023-02-01 11:14:11 -05:00
Janine Liu 33b5fbd931 Metadata handling cleanup 2023-02-01 11:13:09 -05:00
Janine Liu b91652e2f7 Code fixes and cleanup 2023-01-31 18:14:29 -05:00
Janine Liu c19db9f12a Add test for Draco-compressed batched pnts 2023-01-31 16:43:08 -05:00
Janine Liu b67d3c7512 Add unit tests and fixes for Draco decoding 2023-01-31 15:56:39 -05:00
Janine Liu 91ef08f33d Add support for decoding Draco metadata (untested) 2023-01-31 11:58:24 -05:00
Janine Liu ed5bd6e058 Add tests for pnts metadata 2023-01-30 13:54:10 -05:00
Janine Liu d9dd135522 Add AttributeCompression tests 2023-01-30 11:49:36 -05:00
Janine Liu 63ee02417b Refactor BatchTableToGltfFeatureMetadata to handle pnts 2023-01-27 17:48:04 -05:00
Janine Liu 3fdc5ac176 Add AttributeCompression library, add batch IDs to pnts glTF 2023-01-27 15:32:26 -05:00
Janine Liu cfb7ec7258 Add unit tests for normals, oct encoded normals, and positions 2023-01-26 14:55:42 -05:00
Janine Liu fc9f633791 Add remaining color attribute tests 2023-01-25 17:53:00 -05:00
Janine Liu 933430f268 Fix draco warnings preventing build, add color parsing and unit tests 2023-01-25 16:04:19 -05:00
Janine Liu 96fee92d02 Refactor PntsContent struct 2023-01-24 15:24:23 -05:00
Janine Liu 9fe30ee45d Add unit test 2023-01-23 12:01:13 -05:00
Kevin Ring 812e819242
Merge pull request #588 from insar-dev/main
Update TestSubtreeAvailability.cpp
2023-01-23 11:38:35 +11:00
Janine Liu 699e4e2195 Begin implementing PntsToGltfConverter 2023-01-20 17:37:41 -05:00
insar-dev 5b450bc1c3
clang format 2023-01-19 17:49:16 +08:00
insar-dev 4f87c33fb0
Update TestSubtreeAvailability.cpp 2023-01-19 16:53:36 +08:00
insar-dev 16f9f7dd60
Update TestSubtreeAvailability.cpp 2023-01-19 16:39:40 +08:00
insar-dev 42d2c92333
Update TestSubtreeAvailability.cpp 2023-01-19 11:44:55 +08:00
Kevin Ring 0481cec7ac
Merge branch 'main' into additive-render-nothing 2023-01-19 07:57:23 +11:00
insar-dev 406a28bfbc
Update TestSubtreeAvailability.cpp 2023-01-17 20:10:46 +08:00
Kevin Ring 1d4d6c75f4 Don't cull with children bounds with additive-refined tilesets. 2023-01-12 11:55:28 +11:00
Joseph Kaile 8c7600d4a4
Merge pull request #579 from CesiumGS/reinterop
Detach raster overlay tiles before freeing the geometry tiles they're attached to
2023-01-11 11:00:25 -05:00
Kevin Ring f582dd5a11 Merge remote-tracking branch 'origin/main' into additive-render-nothing 2023-01-11 22:39:15 +11:00
Joseph Kaile 740784c997
Merge pull request #578 from CesiumGS/snprintf
Use snprintf instead of sprintf.
2022-12-21 12:07:30 -05:00
Kevin Ring 6f77fdec00 Merge remote-tracking branch 'origin/reinterop' into additive-render-nothing 2022-12-21 20:19:13 +11:00
Kevin Ring 60a992da00 Merge remote-tracking branch 'origin/main' into reinterop 2022-12-21 20:18:59 +11:00
Kevin Ring 3c92244d46 Don't wait for tile that will never be renderable. 2022-12-21 20:15:33 +11:00
Nithin Pranesh 10abfd3043
Merge pull request #581 from CesiumGS/disable-gltfupaxis-warning
Disable gltf-up-axis warning
2022-12-07 21:17:09 -05:00
Nithin Pranesh abe987ad86 Disable gltf-up-axis warning 2022-12-07 20:31:41 -05:00
Xuelong Mu e399dac406 add optional field to specify custom ion endpoint 2022-12-07 15:37:01 -05:00
Kevin Ring 999ae8c889 Use snprintf instead of sprintf.
It's safer and Xcode 14 reports a warning on use of sprintf which turns
into an error, breaking the build.
2022-12-01 16:12:29 +11:00
Kevin Ring 14b31e29da Detach raster overlays before unloading tile. 2022-11-24 22:57:09 +11:00
Kevin Ring 1bb23f4b5a Create TMS and WMS tile providers in the main thread.
Otherwise there's a chance of overlay reference count corruption.
2022-11-03 12:08:50 +11:00
Kevin Ring 9988633ccf Don't try to upsample tiles with no geometry. 2022-11-01 13:04:54 +11:00
Kevin Ring 1607421897 Create placeholder tile properly when rectangle is unknown. 2022-11-01 11:52:39 +11:00
Kevin Ring 3702b52790 Fix token refresh for quantized mesh tiles. 2022-10-19 16:26:56 +11:00
Kevin Ring cdbb7c0fb0 Pass tileset status code through to loadErrorCallback. 2022-10-19 15:43:36 +11:00
Kevin Ring ffaf65b4bb Formatting. 2022-10-18 18:00:14 +11:00
Kevin Ring f31638fbfa Cleaner RasterOverlay error reporting. 2022-10-18 17:59:23 +11:00
Kevin Ring fda1d74c52 Formatting. 2022-10-15 16:28:05 +11:00
Kevin Ring 3b7ecc4c0f Raise an event when async Tileset destruction completes. 2022-10-15 15:38:08 +11:00
Kevin Ring 72cc94496a Merge remote-tracking branch 'origin/intrusive-lifetime' into async-prepare 2022-10-14 21:51:15 +11:00
Kevin Ring df5759de40 Merge remote-tracking branch 'origin/main' into intrusive-lifetime 2022-10-14 21:44:30 +11:00
Nithin Pranesh c0aa875ccc call unloadCachedTiles before tickMainThreadLoading (slightly reduces max cache occupancy) 2022-10-12 14:41:50 -04:00
Nithin Pranesh 5041694cea simplify time budgeting with std::chrono 2022-10-12 09:42:40 -04:00
Nithin Pranesh 5645113864 add this-> back in two places 2022-10-12 08:55:07 -04:00
Nithin Pranesh 1417e01586 use this->... for member variables 2022-10-11 21:15:54 -04:00
Nithin Pranesh 86101d99a8 fix white tiles - call updateDoneState in finishLoading to prepare a raster tile to be rendered 2022-10-11 19:50:15 -04:00
Nithin Pranesh b8f95de5bd tests passing 2022-10-10 23:50:37 -04:00
Nithin Pranesh b9e3381bde remove CreatingResources state, throttle ContentLoaded->Done transitions instead 2022-10-10 18:15:13 -04:00
Nithin Pranesh ee574fa53e add some main-thread tracing 2022-10-10 16:48:29 -04:00
Nithin Pranesh 57d8aafe44 Merge branch 'main' into mipmaps 2022-10-10 09:23:59 -04:00
Nithin Pranesh 04172d69d0 mip map creation is now just a client helper, clients now allowed to modify images during loading 2022-10-10 09:22:23 -04:00
Nithin Pranesh cc903e7b8d allow tracing macros to be overriden by clients 2022-10-04 22:54:13 -04:00
Nithin Pranesh 4ed97dca66 undo hacky cache-unload throttling 2022-10-03 19:36:33 -04:00
Nithin Pranesh f979592548 increased main thread creation budget to 5ms + format 2022-09-27 12:05:29 -04:00
Kevin Ring b4f30f81f9 Make prepareInLoadThread async, return a Future. 2022-09-22 18:35:21 +10:00
Kevin Ring 628e46f795 Merge remote-tracking branch 'origin/main' into intrusive-lifetime 2022-09-22 17:28:57 +10:00
Nithin Pranesh b7f4cc5c8f expose option to generate mipmaps 2022-09-21 23:18:15 -04:00
Kevin Ring e43f4da439
Merge branch 'main' into raster-clean-up 2022-09-21 14:58:33 +10:00
Bao Tran 64fa16d613 format 2022-09-21 00:37:46 -04:00
Bao Tran 6512c9faa2 clean up map raster tile when a geometric tile is failed to load 2022-09-21 00:17:22 -04:00
Joseph Kaile 2ef4e02acf pass status code as integer 2022-09-19 23:00:47 -04:00
Nithin Pranesh d5bbd8f6ce Merge branch 'resource-throttling' into mipmaps 2022-09-19 10:12:23 -04:00
Kevin Ring dec57ba82f Merge remote-tracking branch 'origin/main' into intrusive-lifetime 2022-09-19 22:43:55 +10:00
Nithin Pranesh 8da6f1a4c8 actually time-budget tickResourceCreation, hack throttle unloadCachedTiles 2022-09-16 10:08:38 -04:00
Joseph Kaile 41234892f0 delete old endpoint and create a new one 2022-09-15 13:41:04 -04:00
Nithin Pranesh 23bb49d092 format 2022-09-14 23:17:15 -04:00
Nithin Pranesh 11a0c5bfde Merge branch 'main' into resource-throttling 2022-09-14 23:16:37 -04:00
Joseph Kaile 35d0b825ff add nullptr check 2022-09-14 17:26:28 -04:00
Joseph Kaile de597a06cb fix incorrect search string 2022-09-14 17:06:49 -04:00
Joseph Kaile 55db9daefd wrap layer json and tileset json requests with a 'refresh token if needed' 2022-09-14 16:44:20 -04:00
Kevin Ring b95b30f640
Merge branch 'main' into add-renderer-options-to-tileset-options 2022-09-06 23:19:57 +00:00
Nithin Pranesh b4b1f39e46 simplify the "don't unload until faded out" logic 2022-09-06 12:02:53 -04:00
Nithin Pranesh 0fb2a43324 move mipmap generation out of readImage, integrate with gltf textures + raster imagery 2022-09-05 22:33:34 -04:00
Kevin Ring 2daea88927 Remove tile providers and placeholders when removing overlays. 2022-09-05 22:31:53 +10:00
Janine Liu 725b648c2e Remove redundant assignments in capture clauses 2022-09-02 15:55:34 -04:00
Janine Liu 28b5e51682 Remove accidental comma / linebreak 2022-09-02 15:39:49 -04:00
Janine Liu 37eb55ac88 Add rendererOptions to TilesetOptions 2022-09-02 15:24:42 -04:00
Nithin Pranesh bf27ff2542 format 2022-09-02 12:43:13 -04:00
Nithin Pranesh 336e25e9ba update comments 2022-09-02 12:42:52 -04:00
Nithin Pranesh 2bbb9dc816 change the fade out range to also be 0->1 2022-09-02 12:37:14 -04:00
Kevin Ring 120c6f52de Merge remote-tracking branch 'origin/main' into intrusive-lifetime 2022-09-02 22:00:04 +10:00
Kevin Ring a3d9f9dec1 Re-add a check to a test, update CHANGES.md. 2022-09-01 15:26:06 +10:00
Kevin Ring 3c2efef112 Merge remote-tracking branch 'origin/main' into lod-dither 2022-09-01 10:32:36 +10:00
Bao Tran 45c518c691 update raster right after content has glTF render resources 2022-08-31 19:05:13 -04:00
Nithin Pranesh 916207eb3b fix one-frame holes. Remove out-of-date comment 2022-08-31 18:43:29 -04:00
Nithin Pranesh f264059e2a Merge branch 'main' into lod-dither 2022-08-31 16:26:24 -04:00
Nithin Pranesh 48f9212884 remove incorrect assert 2022-08-31 11:09:01 -04:00
Kevin Ring e854ea3bde Fix tests. 2022-09-01 00:23:10 +10:00
Nithin Pranesh 5c640ae80d fix small bug 2022-08-31 10:04:31 -04:00
Kevin Ring 3c1ee65fcd Ref count more async ops, remove unneeded code. 2022-08-31 23:32:56 +10:00
Kevin Ring f5b477f4a2 Justify use of raw pointer. 2022-08-31 22:45:49 +10:00
Kevin Ring 190d7cfb15 Fix incorrect doc comments. 2022-08-31 22:42:03 +10:00
Kevin Ring d148d95218 Fix clang warnings.
Apparently Clang missed these warnings before because they were obscured
by a std::make_unique.
2022-08-31 22:33:58 +10:00
Kevin Ring 7b7a168590 Excluder holds intrusive pointer to overlay. 2022-08-31 22:08:42 +10:00
Kevin Ring 3c0e1f7c07 Simplify reference counting during overlay load. 2022-08-31 21:47:12 +10:00
Kevin Ring 03e7927afc Fix test build problem. 2022-08-31 20:05:13 +10:00
Kevin Ring 4801ed398c Don't use unique_ptr for raster overlays. 2022-08-31 19:00:06 +10:00
Kevin Ring f25d54e770 Use base class for ref counting RasterOverlayTile. 2022-08-31 18:50:54 +10:00
Kevin Ring 486f73d17f Use a base class for ref counting everywhere except RasterOverlayTile. 2022-08-31 18:45:13 +10:00
Kevin Ring 7e232b632a Add Unloading state for tiles that can't quite be unloaded yet. 2022-08-31 17:12:00 +10:00
Kevin Ring 699f13aae5 Unload tiles when shutting down content manager. 2022-08-31 09:59:32 +10:00
Nithin Pranesh fee95b67f1 remove incorrect assert 2022-08-30 18:01:32 -04:00
Sean Lilley 3f532e90e9 Fix gcc-11 build 2022-08-30 15:26:48 -04:00
Nithin Pranesh cd6963557c fix bug where fully faded out tiles were removed before clients were aware 2022-08-30 14:33:19 -04:00
Kevin Ring ac0ba1462d Non owning reference from RasterOverlayTile to Provider. 2022-08-30 12:01:37 +10:00
Kevin Ring de6b66553e Const correctness, more intrusive pointers. 2022-08-29 18:18:15 +10:00
Kevin Ring 3cb54be0a4 Start using IntrusivePointer to manage lifetimes. 2022-08-29 16:22:42 +10:00
Kevin Ring 9407880a6d Merge remote-tracking branch 'origin/main' into reinterop 2022-08-29 16:21:04 +10:00
Nithin Pranesh 2ae1f4708b simplify ViewUpdateResult + simplify fade percentage logic, move dither logic to client 2022-08-28 14:48:22 -04:00
Nithin Pranesh 730d4806c5 change default transition to 1 second 2022-08-25 14:04:50 -04:00
Bao Tran 647d247aaa add test when initializing manager with url 2022-08-25 14:04:01 -04:00
Nithin Pranesh 776c9fbf7e better naming, docs, readability, + address other review comments 2022-08-25 13:52:17 -04:00
Bao Tran 536461e529 add raster overlay details to result after checking overlay bounding 2022-08-25 13:29:04 -04:00
Bao Tran 76d388cc4a format 2022-08-25 12:17:11 -04:00
Bao Tran 2d1517147f create quantized mesh when have url 2022-08-24 18:01:33 -04:00
Bao Tran 08b44e8360 add conversion constructor and operator= for loader result 2022-08-24 16:59:48 -04:00
Bao Tran 700c858328 fix ambiguous call 2022-08-24 16:36:35 -04:00
Bao Tran 2ee56d3447 add API to create loader from json 2022-08-24 15:21:01 -04:00
Kevin Ring 0abaab8852 Remove a function that shouldn't have been added. 2022-08-24 23:10:06 +10:00
Kevin Ring 5b4be82fd5 Merge remote-tracking branch 'origin/main' into reinterop 2022-08-24 22:56:07 +10:00
Nithin Pranesh 84231a7db3 make the "fade-in descendant kicking" optional 2022-08-23 12:21:34 -04:00
Nithin Pranesh 67c5691843 fix merge errors + set default lod transition period to 2.0f 2022-08-23 11:24:15 -04:00
Nithin Pranesh c3dba9ff58 fix type + format 2022-08-23 11:08:59 -04:00
Nithin Pranesh a0af01a4c8 Merge branch 'main' into lod-dither 2022-08-23 10:39:33 -04:00
Nithin Pranesh ae5a9f24fe remove vestigial comment + only do fade-related kicking when lod transitions are enabled 2022-08-23 01:05:38 -04:00
Nithin Pranesh b11a583bad disable culling when using lod transitions 2022-08-23 00:22:53 -04:00
Nithin Pranesh e2845070e8 avoid breaking changes to Cesium Native API, fix tests 2022-08-22 23:26:45 -04:00
Nithin Pranesh 2b79ddffab Revert "change Cesium Native api to be backward compatible, fix tests"
This reverts commit a0ffc3a4b6.
2022-08-22 23:25:42 -04:00
Nithin Pranesh a0ffc3a4b6 change Cesium Native api to be backward compatible, fix tests 2022-08-22 23:22:53 -04:00
Bao Tran 27262a3265 Merge branch 'refactor-staging-main' into doc-integration 2022-08-22 22:24:08 -04:00
Bao Tran 503f31f7ae Merge branch 'main' into refactor-staging-main 2022-08-22 22:12:22 -04:00
Bao Tran 45e62fc401 add comment 2022-08-22 21:46:48 -04:00
Nithin Pranesh 1887e8d1a2 kick descendants of tile that is fading in. don't set fade to 0.0 for kicked tiles. 2022-08-22 19:16:13 -04:00
Bao Tran 7c75b0a15b add up axis to load result 2022-08-22 18:32:00 -04:00
Bao Tran 6b710462d8 add error message for converter 2022-08-22 16:21:11 -04:00
Bao Tran c2400cc40d format 2022-08-22 13:50:04 -04:00
Nithin Pranesh ba2934a461 Merge branch 'main' into lod-dither 2022-08-22 13:47:43 -04:00
Bao Tran 5881de748f use const ref for raster overlay detail merge method 2022-08-22 13:08:45 -04:00
Nithin Pranesh 4509f6fe31 handle case where fading out tiles reappear on the render list 2022-08-22 13:04:18 -04:00
Bao Tran caec6ed3db change back to original file 2022-08-22 13:04:15 -04:00
Bao Tran 91e2bcdf0a change to temp file 2022-08-22 13:03:35 -04:00
Bao Tran 43954302f8 rename file to logTileLoadResult 2022-08-22 12:59:36 -04:00
Bao Tran e16592984f change to int64_t for ion ID 2022-08-22 12:50:24 -04:00
Bao Tran 829331eedd reserve vector 2022-08-22 12:43:06 -04:00
Bao Tran ba9608e2a5 reserve vector 2022-08-22 12:39:47 -04:00
Bao Tran f28e84b6af change method names 2022-08-22 12:35:44 -04:00
Bao Tran d5283bd6e7 change waitIdle to waitUntilIdle 2022-08-22 12:33:41 -04:00
Bao Tran ada2bcd8c1 update headers 2022-08-22 12:26:35 -04:00
Bao Tran 3f6607ae20 update header style 2022-08-22 12:18:49 -04:00
Bao Tran 44383c8113 update header style 2022-08-22 12:16:46 -04:00
Bao Tran 057c836649 update header style 2022-08-22 12:14:38 -04:00
Bao Tran 22131c3367 update header style 2022-08-22 12:12:35 -04:00
Bao Tran ee64c228b3 update header style 2022-08-22 12:10:30 -04:00
Bao Tran 8d36bbc016 update header style 2022-08-22 12:08:11 -04:00
Bao Tran 661077e632 add plural warnings 2022-08-22 12:00:52 -04:00
Bao Tran 77741fbd53 add doc for error list 2022-08-22 11:55:04 -04:00
Bao Tran 652b0f019a add doc for loader 2022-08-22 11:43:56 -04:00
Kevin Ring cd43a33033 Check for subtree loads, too. 2022-08-22 23:15:07 +10:00