Commit Graph

1331 Commits

Author SHA1 Message Date
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