Commit Graph

402 Commits

Author SHA1 Message Date
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
Joseph Kaile 75a3777dce fix compile error for cesium-native-tests 2022-03-25 19:49:39 -04:00
Joseph Kaile f68e734de1 add test to ensure that credit sorting is working 2022-03-15 18:12:49 -04:00
Nithin Pranesh faa92496f4
Merge pull request #431 from CesiumGS/ue5
Tweaks to cesium-native to improve compatibility with Unreal Engine 5
2022-02-28 15:29:36 -05:00
Joseph Kaile a027f423a4 fix test for serializing/parsing skirt metadata 2022-02-24 16:44:26 -05:00
Kevin Ring 1a100de53e More renaming for consistency. 2022-01-25 19:36:10 +11:00
Kevin Ring a5e3f11846 Impl->CesiumImpl, TWO_PI->TwoPi. 2022-01-25 11:55:43 +11:00
Kevin Ring f498c631de startRequest -> reqest. 2022-01-20 11:08:23 +11:00
Kevin Ring 518b7cbaf0 Rename IAssetAccessor methods, allow use of any verb. 2022-01-20 11:00:29 +11:00
Nithin Pranesh 67e73c6a3d
Merge pull request #398 from CesiumGS/mac-test-failures
Fix macOS test failures.
2021-11-29 11:03:44 -05:00
Kevin Ring 7456f06e59 Fix macOS test failures. 2021-11-17 23:20:21 -05:00
Nithin Pranesh ee5b04041e Merge branch 'main' into implicit-tiling 2021-11-13 12:51:16 -05:00
Nithin Pranesh 5868f553b3 Merge branch 'main' into overlays-on-3dtiles 2021-11-12 15:21:01 -05:00
Kevin Ring de1b237a25 Target C++11 for s2geometry.
Apparently it doesn't build when targeting C++17 with Visual Studio.
2021-11-12 20:30:25 +11:00
Nithin Pranesh e54e087674 Merge branch 'external-buffers-images2' into implicit-tiling 2021-11-11 20:43:28 -05:00
Nithin Pranesh 8029489dbd Merge branch 'main' into external-buffers-images2 2021-11-11 20:31:23 -05:00
Nithin Pranesh de378a04a0 format 2021-11-11 18:58:09 -05:00
Nithin Pranesh f7f7faed80 fix b3dm tests 2021-11-11 18:43:55 -05:00
Nithin Pranesh 576dce4514 format 2021-11-11 18:42:08 -05:00
Nithin Pranesh 990c432c77 WIP external textures/buffers 2021-11-11 16:47:09 -05:00
Kevin Ring 71faadd617 Add a test, fix two bugs. 2021-11-08 23:40:22 +11:00
Kevin Ring 1072e055c4 Merge remote-tracking branch 'origin/main' into overlays-on-3dtiles 2021-11-02 10:40:25 +11:00
Nithin Pranesh fb8c599673 Merge branch 'main' into implicit-tiling 2021-10-31 23:27:42 -04:00
Sean Lilley 9acc5ac71a Rename Primitive back to MeshPrimitive 2021-10-30 14:56:43 -04:00
Sean Lilley 6fd48d8735 Use different naming convention for extension classes 2021-10-30 14:55:40 -04:00
Nithin Pranesh 7fdd9afbb5 Merge branch 'main' into implicit-tiling 2021-10-25 16:18:31 -04:00
Kevin Ring 211463ab7c Fix test failures. 2021-10-22 15:27:28 +11:00
Kevin Ring 0cd2edc07d Fix some Clang warnings. 2021-10-22 14:26:18 +11:00
Nithin Pranesh 86ace9b3a9 Revert "WIP external textures/buffers"
This reverts commit 983de7dfff.
2021-10-21 18:24:06 -04:00
Nithin Pranesh 48f32ba839 Revert "format"
This reverts commit 658cf95ca3.
2021-10-21 18:23:49 -04:00
Nithin Pranesh 77e198a4ea Revert "fix b3dm tests"
This reverts commit 7c3e8744f5.
2021-10-21 18:22:45 -04:00
Nithin Pranesh 7c3e8744f5 fix b3dm tests 2021-10-21 13:28:30 -04:00
Nithin Pranesh 658cf95ca3 format 2021-10-21 10:48:33 -04:00
Nithin Pranesh 983de7dfff WIP external textures/buffers 2021-10-21 10:27:49 -04:00
Sean Lilley f9b48fbe0e Renegerate glTF classes 2021-10-18 18:46:58 -04:00
Nithin Pranesh 0e6592975a fix test 2021-10-13 15:11:16 -04:00
Sean Lilley 52283f3359 Fix includes 2021-10-11 17:28:44 -04:00
Nithin Pranesh 03c0e1da97 better names for availability classes? 2021-10-09 15:49:09 -04:00
Nithin Pranesh 8724a676e8 small fixes, fix test 2021-10-06 20:34:15 -04:00
Marco Hutter 0e827f7afd Updated includes based on clang-format with Regroup
This MAINLY inserted some blank lines between
the blocks.
2021-09-26 17:46:27 +02:00
Kevin Ring 56fb8acfb3
Merge branch 'main' into fix-forbid-holes 2021-09-14 20:36:28 +10:00
Nithin Pranesh 8f5291e077 update test to expect LoadState::Failed without a failcallback 2021-09-09 07:31:28 -04:00
Nithin Pranesh b5f87844ce fix comment and tests 2021-09-03 11:40:34 -04:00
Kevin Ring b7adf2c1e8 Merge remote-tracking branch 'origin/main' into raster-overlay-refactoring 2021-08-30 11:19:24 +10:00
Kevin Ring 99a351195c Fix tests. 2021-08-26 14:47:25 +10:00
Kevin Ring 19a99af2a2 QuadtreeRasterOverlayTileProvider tests. 2021-08-26 13:25:29 +10:00
Kevin Ring 8c7964bb75 WIP raster overlay tests. 2021-08-26 10:37:58 +10:00
Kevin Ring 015e92e8de Separate raster overlay refactoring into a new branch. 2021-08-24 13:32:56 +10:00
Nithin Pranesh 3c840c3be5 fix tests 2021-08-15 18:48:53 -04:00
Daniel Krupka 5ee36632d3 Fix missed/incorrect Cesium3DTiles -> Cesium3DTilesSelection renames 2021-08-04 08:01:39 -04:00
Daniel Krupka 81317f0fc3 Rename Cesium3DTiles -> Cesium3DTilesSelection in merge from main 2021-08-02 10:52:04 -04:00
Daniel Krupka 2848ea62d4 Merge branch 'main' into rename-3d-tiles-pipeline 2021-08-02 10:46:03 -04:00
Daniel Krupka 8b3bb34827 Rename Cesium3DTiles -> Cesium3DTilesSelection 2021-07-30 11:45:37 -04:00