Commit Graph

273 Commits

Author SHA1 Message Date
Sean Lilley d64f5a3be5 Added forEachNodeInScene to Model 2024-05-21 22:24:01 -04:00
Kevin Ring beb4fb9d71 Add test for Model::merge with EXT_meshopt_compression. 2024-05-21 20:53:31 +10:00
Brian L 47414f09fb Make our ASSERT macro. Move everything to use this. 2024-05-03 12:50:50 -06:00
Kevin Ring 13970f94c8 Add tests of Model::merge for newly supported extensions. 2024-05-03 13:00:46 +10:00
Sean Lilley 5982c15875 Merge branch 'main' into index-from-accessor 2024-04-30 16:51:37 -04:00
Sean Lilley f62a7a7a47 Add getComponentCountFromPropertyType 2024-04-29 12:11:12 -04:00
Sean Lilley 33913f1ca7 Add IndexFromAccessor 2024-04-22 11:43:59 -04:00
Sean Lilley 4c6cd3cb37 Add getNormalAccessorView 2024-04-15 12:02:04 -04:00
Janine Liu bc13fa617c Fold single sections in tests 2024-04-12 15:08:30 -04:00
Kevin Ring 4bf70c5a20 Fix another clang warning. 2024-04-10 23:02:52 +10:00
Kevin Ring a3fd50f9c9 Fix warnings on Linux. 2024-04-10 22:53:43 +10:00
Kevin Ring 9f17ef2a4a Add forEachRootNodeInScene tests. 2024-04-10 18:55:56 +10:00
Kevin Ring 792ac1ad31 Add tests for metadata merging. 2024-04-10 18:34:58 +10:00
Kevin Ring e1fbb4f064 Tests and changelog. 2024-04-10 16:27:09 +10:00
Kevin Ring 28eae3e782 Formatting. 2024-04-08 21:28:08 +10:00
Kevin Ring b9fe268f91 Add tests for addExtensionUsed/Required. 2024-04-08 16:24:36 +10:00
Janine Liu d7ec272bdf Fix CI errors 2024-03-04 17:07:43 -05:00
Janine Liu 5275704238 Update changelog + add unit test 2024-03-04 16:52:14 -05:00
Janine Liu 636c40f973 Fix unused lambda variable 2024-02-28 17:47:48 -05:00
Janine Liu 90531bb6fd Minor tweaks 2024-02-28 17:37:39 -05:00
Janine Liu a1bf6e7d2d Add unit tests 2024-02-28 17:21:42 -05:00
Janine Liu cc1f333b33 Use TextureView for feature ID textures 2024-02-27 18:17:43 -05:00
Janine Liu 218bf1ab1e Rework PropertyTexturePropertyView to use TextureView 2024-02-27 18:00:42 -05:00
Janine Liu 9f8678ea31 Add PropertyTexturePropertyView options 2024-02-27 14:25:41 -05:00
Janine Liu 9bb02acdd1 Add flag to property texture property 2024-02-19 13:32:36 -05:00
Janine Liu 213906b039 Add applyKhrTextureTransformExtension to feature id textures 2024-02-19 12:59:35 -05:00
Janine Liu 9e72b7eb36 Don't automatically apply transform in feature ID texture, property texture property 2024-02-15 13:23:25 -05:00
Janine Liu ca2b7a3e17 Add test for normalized property view 2024-02-13 12:08:15 -05:00
Janine Liu 984b5edf07 Add unit test for PropertyTexturePropertyView 2024-02-13 12:01:39 -05:00
Janine Liu cad3f95c27 Add unit tests, use KhrTextureTransform in GltfReader 2024-02-13 11:47:06 -05:00
Janine Liu a56def2c89 Merge branch 'main' into correct-variable-length-arrays 2024-01-23 13:25:51 -05:00
Janine Liu 4e9cfaba88
Merge pull request #793 from CesiumGS/feature-id-texture-sampler-wrap
Change `FeatureIdTextureView` to account for sampler wrap values in `getFeatureID`
2024-01-19 11:37:25 -05:00
Janine Liu 695898e37d Interpret offsets as array indices, not byte offsets 2024-01-18 16:45:31 -05:00
Ashley Rogers df7bb9fa91 Fix sign conversion errors on Clang & GCC 2024-01-18 10:06:20 -05:00
Ashley Rogers 0975b7d1e3 FeatureIdTextureView now accounts for sampler wrap values. 2024-01-17 17:05:36 -05:00
Janine Liu 4c22baebfb Add size_t casts 2024-01-09 13:13:51 -05:00
Janine Liu 338b3e4f0a Add support in face index visitor for different primitive modes 2024-01-09 12:26:18 -05:00
Janine Liu 216c49996a Remove unused include 2023-12-14 16:58:52 -05:00
Janine Liu b48d8085ee Update unit tests 2023-12-14 16:51:38 -05:00
Janine Liu 8bcde4e06c Merge branch 'main' into std-string-conversion 2023-12-14 10:55:55 -05:00
Janine Liu 7ee8ddd749 Add manual check for negative sign when parsing ull 2023-12-11 10:56:18 -05:00
Janine Liu 587db88565 Attempt to catch out-of-range error 2023-12-08 15:39:48 -05:00
Kevin Ring f05ebf5785
Merge pull request #770 from CesiumGS/remove-u32
Remove `uint32_t` support for property attributes
2023-11-29 09:50:46 +11:00
Sean Lilley dcec862432 Fix formatting 2023-11-27 13:38:33 -05:00
Sean Lilley 278f936cce Update tests 2023-11-27 11:06:27 -05:00
Janine Liu f0f009c87e Decapitalize function names 2023-11-20 11:00:33 -05:00
Kevin Ring 4788905834
Merge branch 'main' into add-accessor-utility 2023-11-20 17:55:37 +11:00
Kevin Ring 7faea62441
Merge branch 'main' into property-value-conversions 2023-11-20 17:41:32 +11:00
Janine Liu 268ead2402 Add static casts 2023-11-14 16:07:09 -05:00
Janine Liu 4f51905d21 Add StatusFromAccessor visitor 2023-11-14 15:50:24 -05:00
Sean Lilley d94200fe0e Fix doc 2023-11-14 15:43:23 -05:00
Janine Liu df13673387 Add additional 'get' functions, update changelog 2023-11-14 13:32:19 -05:00
Janine Liu e19fa4dba2 Move accessor utility to cesium-native 2023-11-14 11:48:09 -05:00
Janine Liu 4b0c18d6ab Add support for matN conversions 2023-11-13 14:27:12 -05:00
Janine Liu c7122591d6 Switch to std::optional syntax instead of defaulting to some value 2023-11-13 11:47:14 -05:00
Janine Liu c702a92a01 Begin implementing conversion logic 2023-11-10 18:11:38 -05:00
Janine Liu f2564b8223 Remove redundant PropertyTexturePropertyView param 2023-09-15 17:01:27 -04:00
Janine Liu 856d34ea19 Add new status code for empty properties with default values 2023-09-13 14:26:20 -04:00
Janine Liu 7a3a5f0d86 Update changelog and fix sign conversions 2023-08-29 15:48:28 -04:00
Janine Liu 7bf2d18d05 Finish writing tests for PropertyAttributeView 2023-08-29 15:32:42 -04:00
Janine Liu 85ebd3ed7f Add unit tests for new classes, reorganize old tests 2023-08-29 12:10:47 -04:00
Janine Liu a8f46ab0c5 Add PropertyAttributeView and PropertyAttributePropertyView 2023-08-28 17:49:51 -04:00
Janine Liu f51012e602 Fix documentation and test 2023-08-28 13:18:51 -04:00
Janine Liu 7f13e1c3f4 Another CI fix 2023-08-28 11:21:10 -04:00
Janine Liu 36337303b1 Fix sign conversion 2023-08-28 10:49:18 -04:00
Janine Liu 5b33dd72ad Fix signed conversions 2023-08-28 10:07:08 -04:00
Janine Liu 79eaa3e687 Final sweep (hopefully) 2023-08-25 17:46:16 -04:00
Janine Liu 2c97ce24ba Second unit test / cleanup sweep 2023-08-25 17:15:26 -04:00
Janine Liu 3e5d630a1f First round of cleanup / PR feedback 2023-08-25 16:17:11 -04:00
Janine Liu ed2bdbd553 Update PropertyTextureView 2023-08-24 20:52:45 -04:00
Janine Liu 76427497ca Rewrite property texture property tests 2023-08-24 18:33:56 -04:00
Janine Liu a00b819dca Finish up PropertyTableView tests 2023-08-24 14:35:45 -04:00
Janine Liu 53bc30391a Integrate normalization with PropertyTableView 2023-08-24 10:55:43 -04:00
Janine Liu 12d1bbcaaa Finish PropertyTablePropertyView tests 2023-08-23 14:55:48 -04:00
Janine Liu fc190004b6 Reinitialize const ints outside of class to avoid errors 2023-08-23 11:17:12 -04:00
Janine Liu 4f37e7a217 Try to fix CI errors 2023-08-23 10:32:28 -04:00
Janine Liu bc9dd9e6e5 Add static casts for integer optionals 2023-08-23 09:58:02 -04:00
Janine Liu d43d7138af Start adding tests for PropertyTablePropertyView 2023-08-22 18:31:09 -04:00
Janine Liu 38001698e8 Fix offset / scale etc. to only work for fixed-length arrays 2023-08-22 12:43:48 -04:00
Janine Liu 734c8cfbb6 Add get vs. getRaw to property view 2023-08-21 17:43:23 -04:00
Janine Liu 78099d3a70 Fix PropertyView and unit tests 2023-08-21 15:33:05 -04:00
Janine Liu bf324061b6 Start reworking property view for normalization 2023-08-18 17:48:03 -04:00
Janine Liu 43cd1a512e Try to get CI to compile 2023-08-18 15:51:06 -04:00
Janine Liu 5da1ca3e78 Add templating for normalization 2023-08-18 14:19:40 -04:00
Janine Liu 38a595537d Finish unit tests for PropertyView 2023-08-17 15:38:17 -04:00
Janine Liu e7743ea61c Change status enum to static consts 2023-08-17 13:55:54 -04:00
Janine Liu ba779b7c41 Add support for matN values 2023-08-16 14:56:02 -04:00
Janine Liu bfbb6945e5 Add support for vecN 2023-08-16 13:56:37 -04:00
Janine Liu 6dcadfe38e Create PropertyView 2023-08-15 12:43:10 -04:00
Janine Liu 047422b53d Fix nearest sampling for feature ID textures 2023-07-05 16:35:34 -04:00
Janine Liu b024fe5b8f Stricter reinforcement of unsupported properties 2023-07-03 17:26:24 -04:00
Janine Liu bb1dea3739 Consolidate CI fixes 2023-07-03 16:27:43 -04:00
Janine Liu f3ecde1681 Add callbacks and tests 2023-06-29 16:51:07 -04:00
Janine Liu 8155617808 Add tests for templated getPropertyView 2023-06-29 14:49:12 -04:00
Janine Liu 76d5d26051 Rework PropertyTexturePropertyView, begin reworking PropertyTextureView 2023-06-23 12:06:25 -04:00
Janine Liu 73ea6a1cc9 Merge branch 'upgrade-feature-metadata' into fix-property-texture-view 2023-06-20 13:50:38 -04:00
Janine Liu ffc1ca8f65 Use helper function in PropertyTableView tests 2023-06-16 17:33:40 -04:00
Janine Liu c329a8d407 Replace class names in metadata implementation files 2023-06-16 16:25:39 -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 b25ad79bdc Start reworking property texture view 2023-06-16 13:55:43 -04:00