Commit Graph

402 Commits

Author SHA1 Message Date
Kevin Ring d7bef249f1 Merge remote-tracking branch 'origin/main' into shared-assets 2024-09-30 21:04:40 +10:00
Kevin Ring 95840fe38d Fix compile errors in tests. 2024-09-30 21:03:00 +10:00
Kevin Ring ad18abfc03 Add sampleHeightMostDetailed test against a broken tileset. 2024-09-27 10:10:02 +10:00
Kevin Ring 63d6e4dd6d heightSampled -> sampleSuccess. 2024-09-27 09:54:46 +10:00
Janine Liu f7a75b1778 Merge branch 'main' into height-query 2024-09-25 17:05:54 -04:00
Ashley Rogers 4851ed2dc2 Fix test 2024-09-18 16:20:19 -04:00
Kevin Ring 7c167ee15a Minor reorg and documentation. 2024-09-13 19:04:00 +10:00
Kevin Ring d9ff8acb9b Report a warning for unsupported extensions. 2024-09-13 16:16:31 +10:00
Kevin Ring b7a42443dd Height queries against implicit tilesets. 2024-09-11 21:50:40 +10:00
Kevin Ring 349bc22459 Add external and implicit tileset tests.
Implicit tileset test is currently failing.
2024-09-11 16:32:32 +10:00
Kevin Ring 0a9e7450d4 Add very basic height query tests. 2024-09-11 15:52:54 +10:00
Kevin Ring 770c5bbac1 Fix compile errors in tests. 2024-09-05 15:52:25 +10:00
Ashley Rogers e79b31379c Merge with main 2024-08-16 14:13:55 -04:00
Kevin Ring 7d21b0c1be Fix typos and test failure. 2024-07-26 10:42:30 -04:00
Janine Liu 0a86cfdca8 Merge branch 'main' into fix-polygon-clipping 2024-07-26 09:40:26 -04:00
Ashley Rogers a0954e3fbc Add test for shared images 2024-07-23 14:03:06 -04:00
Brian L 16d18a1ceb Remove duplicate implementations of ::readFile 2024-07-08 16:12:56 -06:00
Kevin Ring 68df5462d6 Fix warnings. 2024-06-30 19:44:40 +10:00
Kevin Ring 2f50cc2c3a Flesh out test, fix a gltfUpAxis bug. 2024-06-29 10:22:31 +10:00
Kevin Ring 5a7a640f7a Add a test of upsampled bounding volumes. 2024-06-28 23:22:04 +10:00
Ashley Rogers 65dda8335d Respond to review, cut down on stored ellipsoids 2024-06-14 15:33:47 -04:00
Ashley Rogers f5086231f3 Fix test 2024-06-11 16:46:34 -04:00
Ashley Rogers f332464b30 Merge with main 2024-06-06 16:57:20 -04:00
Ashley Rogers d961a40e3d Remove as many WGS84 defaults as possible. 2024-06-06 16:53:48 -04:00
Kevin Ring 0e74915a90 Add i3dm tests and fix some bugs. 2024-06-03 10:57:46 +10:00
Kevin Ring e094899d16 More tests, clarify changelog. 2024-04-08 19:09:50 +10:00
Kevin Ring 4361563eed Merge remote-tracking branch 'origin/raster-overlay-refactoring' into bake-overlays-to-gltf 2023-11-17 17:14:32 +11:00
Kevin Ring 94ae3c705f Merge remote-tracking branch 'origin/better-subtrees' into raster-overlay-refactoring 2023-11-17 17:13:53 +11:00
Kevin Ring 367a766888 Merge remote-tracking branch 'origin/main' into better-subtrees 2023-11-17 16:58:24 +11:00
Janine Liu b12ae77327 Merge branch 'main' into quantized-and-implicit 2023-11-15 13:55:03 -05:00
Janine Liu ebf44a1fd7 Add findTile to TestImplicitQuadtreeLoader 2023-11-15 12:04:03 -05:00
Kevin Ring 761630d45a Add CesiumGltfContent library. 2023-11-15 17:20:08 +11:00
Kevin Ring 84c48747ae Move overlay tests. 2023-11-14 18:57:47 +11:00
Kevin Ring dff7e61171 Create CesiumRasterOverlays library. 2023-11-14 18:29:47 +11:00
Kevin Ring dfe69c5baf Doc comments, slight reorg. 2023-11-13 19:36:35 +11:00
Kevin Ring 4edde85c41 Allow modification of SubtreeAvailability. 2023-11-13 18:11:49 +11:00
Janine Liu 31afce9bef
Apply suggestions from code review 2023-11-10 10:57:51 -05:00
Kevin Ring 2bdd74a0a3 Use generated classes to read subtrees. 2023-11-10 23:26:42 +11:00
Kevin Ring d263ffd49a Make octree loader use ImplicitTilingUtilities. 2023-11-08 17:39:04 +11:00
Kevin Ring f3bdf698e2 Change namespace of Cesium3DTilesContent types. 2023-11-02 22:05:00 +11:00
Kevin Ring c561b6407c Move more functionality to Cesium3DTilesContent. 2023-11-02 19:48:57 +11:00
Kevin Ring a71a982986 Add new Cesium3DTilesContent library. 2023-11-02 17:41:09 +11: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
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 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 3f4034101b Fix VS2017/2019 warning. 2023-08-28 21:07:29 +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
Janine Liu bc9dd9e6e5 Add static casts for integer optionals 2023-08-23 09:58:02 -04: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 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 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 31f0ed55c9 Expose Schema on Tileset. 2023-08-18 21:56:48 +10:00
Janine Liu ecd215bddc Merge branch 'main' into upgrade-feature-metadata 2023-08-10 15:27:24 -04:00
Marco Hutter 7f482ef98d Remove credits argument 2023-07-20 16:15:46 +02: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 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
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 d8658e000a Rewrite tests for EXT_structural_metadata 2023-05-25 11:49:29 -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
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 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
Janine Liu 255e13e0c1 Add test and changelog entry 2023-03-31 14:57:59 -04:00
Kevin Ring 799a3b2eb1 Merge remote-tracking branch 'origin/main' into no-priority-inversion 2023-03-21 17:38:32 +11: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 8097205752 Merge remote-tracking branch 'origin/better-forbid-holes' into no-priority-inversion 2023-03-10 12:15:02 +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
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 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
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 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 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 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
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
insar-dev 406a28bfbc
Update TestSubtreeAvailability.cpp 2023-01-17 20:10:46 +08: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 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 b8f95de5bd tests passing 2022-10-10 23:50:37 -04:00
Kevin Ring b4f30f81f9 Make prepareInLoadThread async, return a Future. 2022-09-22 18:35:21 +10:00
Kevin Ring dec57ba82f Merge remote-tracking branch 'origin/main' into intrusive-lifetime 2022-09-19 22:43:55 +10:00
Janine Liu 37eb55ac88 Add rendererOptions to TilesetOptions 2022-09-02 15:24:42 -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
Nithin Pranesh f264059e2a Merge branch 'main' into lod-dither 2022-08-31 16:26:24 -04:00
Kevin Ring e854ea3bde Fix tests. 2022-09-01 00:23:10 +10:00
Kevin Ring 03e7927afc Fix test build problem. 2022-08-31 20:05: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 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
Nithin Pranesh 2ae1f4708b simplify ViewUpdateResult + simplify fade percentage logic, move dither logic to client 2022-08-28 14:48:22 -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 7c75b0a15b add up axis to load result 2022-08-22 18:32:00 -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 d42a191887 change shouldContentContinueUpdated to shouldContentContinueUpdating 2022-08-18 15:55:38 -04:00
Bao Tran 293b1bfe13 change shouldContentContinueUpdated to shouldContentContinueUpdating 2022-08-18 15:53:56 -04:00
Bao Tran ee4ecc6c1c let manager owns root tile and raster overlay collection 2022-08-17 12:50:50 -04:00
Bao Tran 0bdf9813d1 test that manager doesn't generate raster UV from duplicated projections 2022-08-15 17:20:27 -04:00
Bao Tran 86cb018fcf don't allocate tile content 2022-08-11 11:33:15 -04:00
Bao Tran 4c8e0c5c14 remove optional model 2022-08-08 15:02:03 -04:00
Bao Tran 66bcefafd2 resolve compiler warning 2022-08-08 11:04:06 -04:00