Commit Graph

402 Commits

Author SHA1 Message Date
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
Bao Tran b6606d762a resolve compiler warning 2022-08-08 10:49:40 -04:00
Bao Tran 3332045c86 resolve compiler warning 2022-08-08 10:29:09 -04:00
Bao Tran b0c5be8243 test gltf up axis to extra 2022-08-05 21:06:30 -04:00
Bao Tran 22c43e790d add override keyword 2022-08-05 20:50:35 -04:00
Bao Tran 1f103a739a ensure fittest bounding region is calculated for loose tile 2022-08-05 20:35:17 -04:00
Bao Tran 079587ae3a test that tile is updated with the overlay details bounding region 2022-08-05 19:03:09 -04:00
Bao Tran b619953829 test raster overlay UVs 2022-08-05 15:50:53 -04:00
Bao Tran 53e0d526e4 fix faulty tests 2022-08-05 14:04:35 -04:00
Bao Tran ad4056dfe2 add TilesetContentLoader::getTileUpAxis() and assign that value to tile gltf 2022-08-05 13:30:05 -04:00
Bao Tran 04c04e0c71 remove compiler error 2022-08-04 14:12:02 -04:00
Bao Tran e8a5ce0a7e better test for normal 2022-08-04 13:19:26 -04:00
Bao Tran 5b42c4724c test that smooth normal is generated 2022-08-04 13:07:21 -04:00
Bao Tran b3c6d62bae make sure raster overlay works with tileset 2022-08-03 14:41:25 -04:00
Bao Tran 173daef00d test that content manager should resolve the external buffers for gltf 2022-08-03 12:45:51 -04:00
Bao Tran 8e40ea5691 handle non-specs compliant for empty tile 2022-08-03 11:00:38 -04:00
Bao Tran df0d0aa145 begin add test for gltf post processing 2022-08-03 10:14:14 -04:00
Bao Tran 19ca6a97a6 update comment 2022-08-02 14:24:00 -04:00
Bao Tran 315579c2f4 test state machine of upsampled children 2022-08-02 14:18:35 -04:00
Bao Tran 07af355609 test tile state machine 2022-08-02 11:49:47 -04:00
Bao Tran df98568f8f test tile state machine 2022-08-01 11:34:34 -04:00
Bao Tran f76b6dbf0b format 2022-07-29 17:38:14 -04:00
Bao Tran 856a81960f fix mem leak 2022-07-29 17:37:35 -04:00
Bao Tran 19d4db0687 Merge branch 'const-ref-integration' into unit-test-integration 2022-07-28 14:10:19 -04:00
Bao Tran e82529dfda add API for custom loader in tileset 2022-07-25 17:21:51 -04:00
Bao Tran 497062cfa2 test tile at subtree root 2022-07-25 15:39:56 -04:00
Bao Tran d1a8ff4f48 move some methods to private 2022-07-25 11:31:16 -04:00
Bao Tran 48be977ad5 add test fixtures to namespace Cesium3DTilesSelection 2022-07-22 15:04:29 -04:00
Bao Tran 9d71f1e056 move load state to tile 2022-07-22 14:04:47 -04:00
Bao Tran b963a7981f ensure layers doesn't load availability twice 2022-07-21 15:34:44 -04:00
Bao Tran c897fd6b9d load tile with multiple layer json 2022-07-21 13:39:04 -04:00
Bao Tran 3ebb8f035d remove unneeded file 2022-07-20 10:27:18 -04:00
Bao Tran f4b735d9cd format 2022-07-19 18:34:39 -04:00
Bao Tran 0f58003669 test that loader will request watermask for tiles 2022-07-19 18:33:55 -04:00
Bao Tran 16c79dd048 test layer json attribution 2022-07-19 18:20:01 -04:00
Bao Tran b390520517 more thorough test for layer json loader 2022-07-19 13:58:50 -04:00
Bao Tran b85c206f42 template loader result for testing purposes 2022-07-19 13:39:27 -04:00
Bao Tran 7c4623f833 load layer json with no url template 2022-07-18 15:59:47 -04:00
Bao Tran 253cd8eea3 test layer json tile geometric error 2022-07-18 14:28:13 -04:00
Bao Tran 7d00a3eb97 test layer json children 2022-07-18 14:10:40 -04:00
Bao Tran de69a04b66 add comment about parent tile lifetime when upsampling a tile 2022-07-18 11:21:38 -04:00
Bao Tran 574def6c5c test S2 subdivide 2022-07-16 00:15:21 -04:00
Bao Tran 90fefecbad finish test implicit octree 2022-07-14 17:40:12 -04:00
Bao Tran 2d400c2609 test octree subdividing region 2022-07-14 17:22:27 -04:00
Bao Tran a81e41fc42 format 2022-07-14 15:06:40 -04:00
Bao Tran 27ef39ee7b test subdivide bounding box for octree 2022-07-14 15:06:14 -04:00
Bao Tran 5d9087eecb begin test implicit octree 2022-07-14 11:51:48 -04:00
Bao Tran e18caf2981 format 2022-07-13 15:24:51 -04:00
Bao Tran ea49c9a5c7 test subdivide region for quadtree 2022-07-13 14:50:33 -04:00
Bao Tran 5b7e13cf4f test subdivide bounding box 2022-07-13 13:34:20 -04:00
Bao Tran 4c92f93818 test invalid implicit tile 2022-07-12 17:33:58 -04:00
Bao Tran 16e4d33f1c test implicit quadtree loader 2022-07-12 16:51:13 -04:00
Bao Tran d1ef0f5ebf test tileset bounding volumes 2022-07-12 13:01:58 -04:00
Bao Tran 2019d19691 clean up loader test 2022-07-12 00:38:56 -04:00
Bao Tran 1a50a99b54 test implicit tile 2022-07-12 00:06:03 -04:00
Bao Tran 29ae57e1d9 test render content tile 2022-07-11 15:36:15 -04:00
Bao Tran 10a3955c14 check loading external tileset 2022-07-11 11:49:02 -04:00
Bao Tran 4dd4652a14 format 2022-07-08 15:35:02 -04:00
Bao Tran fd981e7392 test transform of implicit tile 2022-07-08 15:34:38 -04:00
Bao Tran 08e5759990 test implicit tileset parser 2022-07-08 14:20:39 -04:00
Bao Tran 5fb10efa9d format 2022-07-08 11:06:14 -04:00
Bao Tran 26a79642ee test tileset that contains empty tile 2022-07-08 11:05:48 -04:00
Bao Tran a907a3401c ensure geometric error is scaled along with tile transform 2022-07-08 10:54:18 -04:00
Bao Tran 9b691a422d format 2022-07-07 17:45:46 -04:00
Bao Tran 9e62835a5a test tileset where tile has no bounding volume 2022-07-07 17:45:22 -04:00
Bao Tran 006ad1b788 better check for ADD tileset 2022-07-07 16:56:44 -04:00
Bao Tran 3802fbaf23 format 2022-07-07 16:16:39 -04:00
Bao Tran 7224c466de check replace and add tileset 2022-07-07 16:16:14 -04:00
Bao Tran 4c6ff3ae52 test ill format for bytelength in subtree 2022-07-06 17:24:13 -04:00
Bao Tran c397faa4fd test subtree wrong format 2022-07-06 17:12:05 -04:00
Bao Tran 8f9de1adec test subtree json 2022-07-06 15:04:27 -04:00
Bao Tran 21e218d9fa test invalid morton ID 2022-07-06 13:13:56 -04:00
Bao Tran c1feda4d2d test for illegal quadtree ID 2022-07-06 13:04:35 -04:00
Bao Tran b2929296a9 check availability of parsed subtree 2022-07-06 12:27:09 -04:00
Bao Tran 0f80b7e089 serialize subtree to binary buffer 2022-07-06 11:23:51 -04:00
Bao Tran e036a40234 test constant subtree 2022-07-05 15:33:46 -04:00
Bao Tran 429e5f52c6 format 2022-07-05 15:21:59 -04:00
Bao Tran 4b43dfde4f test content and subtree available for subtrees 2022-07-05 15:21:38 -04:00
Bao Tran b1dbf11d35 test SubtreeAvailability::isTileAvailable() 2022-07-05 14:39:24 -04:00
Bao Tran 100b7d395c remove unused var 2022-07-05 11:22:38 -04:00
Bao Tran 03d268a8ff fix unit test for quantized mesh 2022-07-05 11:01:58 -04:00
Bao Tran 2492e2c8da Merge branch 'main' into raster-overlay-integration 2022-06-28 11:06:12 -04:00
Joseph Kaile 3cb2ce3db3 fixed tests 2022-05-27 12:34:36 -04:00
Bao Tran 65b83eb421 remove Exp_ prefix in file name 2022-05-26 14:39:47 -04:00
Bao Tran 6e9c11e239 privatize some classes 2022-05-26 14:07:05 -04:00
Bao Tran 5aa2e01548 format 2022-05-25 10:35:19 -04:00
Bao Tran 843ee4a303 Merge branch 'main' into tile-content-integration 2022-05-25 10:34:15 -04:00
Bao Tran 7741ea58af render failed tiles as empty 2022-05-24 14:42:53 -04:00
Bao Tran 19580633de fix batch table upgrader 2022-05-24 12:14:51 -04:00
Bao Tran ddf524eca4 it's purging time! 2022-05-24 11:34:27 -04:00
Kevin Ring 0a4321af56
Merge branch 'main' into batch-table-hierarchy 2022-05-02 10:11:22 +10:00
Kevin Ring 382b4ff105 Simplify tracking of tiles loaded/loading for availability. 2022-04-29 13:47:48 +10:00
Kevin Ring e29d19c7e7 Add another test. 2022-04-28 10:10:45 +10:00
Kevin Ring 08d098f985 Add tests, fix a bug. 2022-04-28 09:20:46 +10:00
Joseph Kaile 8eeab63eee load availability before setting tile state to done 2022-04-27 12:30:43 -04:00
Bao Tran 277b7e2b61 format 2022-04-27 11:26:04 -04:00
Kevin Ring eb983f103f Add a test. 2022-04-27 22:59:17 +10:00
Joseph Kaile d76a20bb53 fix linux error 2022-04-25 17:19:33 -04:00
Bao Tran ea38470a15 delete unneeded code 2022-04-25 17:15:09 -04:00
Joseph Kaile 19dea016ad fix linux error 2022-04-25 17:00:55 -04:00
Kevin Ring 75e9ae83d3 Use std::any instead of void* for renderer options. 2022-03-29 14:48:21 +11:00