Commit Graph

571 Commits

Author SHA1 Message Date
Janine Liu e1ed4db7dc
Merge pull request #854 from CesiumGS/i3dm-2024
Support 3D Tile I3dm legacy tile format
2024-05-29 09:44:15 -04:00
Kevin Ring 264333f06a
Merge pull request #889 from CesiumGS/regenerate-gltf-schemas
Regenerate glTF schemas for metadata extensions
2024-05-24 16:47:42 +10:00
Kevin Ring 32dc4befd3 Re-add accidentally removed size_t cast. 2024-05-24 16:09:50 +10:00
Kevin Ring 20266ffae8 Restore static casts where integer conversions aren't checked. 2024-05-24 16:08:53 +10:00
Kevin Ring 7e84f68411 Consistent integer types and conversions. 2024-05-24 16:05:03 +10:00
Sean Lilley 231e899aad Fix bug 2024-05-23 19:35:39 -04:00
Sean Lilley 67032dffb1 Fix typos in TestModel 2024-05-23 18:32:36 -04:00
Sean Lilley 6c1d8cc816 Fixed Model 2024-05-23 18:32:27 -04:00
Sean Lilley 5bb68a00a7 Regenerate glTF schemas 2024-05-23 18:22:52 -04:00
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
Tim Moore ea79bb8a76 Reponse to feedback: change ConverterSubprocessor to AssetFetcher 2024-05-16 17:05:33 +02:00
Kevin Ring 66860989a4 Various glTF fixes, mostly meshopt related. 2024-05-06 13:53:37 +10:00
Tim Moore db9637db42 Merge branch 'main' into i3dm-2024 2024-05-03 13:31:55 +02:00
Kevin Ring 13970f94c8 Add tests of Model::merge for newly supported extensions. 2024-05-03 13:00:46 +10:00
Kevin Ring 6450e5660a Improve support for merging extensions. 2024-05-03 11:04:51 +10:00
Tim Moore ab70a66f3e Merge branch 'main' into i3dm-2024 2024-05-02 11:39:26 +02:00
Sean Lilley 5982c15875 Merge branch 'main' into index-from-accessor 2024-04-30 16:51:37 -04:00
Sean Lilley 6f93079df3 Fix formatting 2024-04-30 14:39:44 -04:00
Sean Lilley 01be080354
Update CesiumGltf/include/CesiumGltf/AccessorUtility.h
Co-authored-by: Janine Liu <32226860+j9liu@users.noreply.github.com>
2024-04-30 11:57:49 -04:00
Sean Lilley f62a7a7a47 Add getComponentCountFromPropertyType 2024-04-29 12:11:12 -04:00
Tim Moore 2cef550f00 Merge branch 'main' into i3dm-2024 2024-04-26 16:58:30 +02:00
Tim Moore 46581092d1 Refactor with helpers for converting glTF values to glm. 2024-04-26 16:54:18 +02:00
Sean Lilley 33913f1ca7 Add IndexFromAccessor 2024-04-22 11:43:59 -04:00
Kevin Ring 2d05768b26
Merge pull request #840 from CesiumGS/accessor-writer-from-view
Create AccessorWriter from AccessorView
2024-04-18 20:45:10 -04:00
Tim Moore 0a4a5a9665 Merge branch 'main' into i3dm-2024 2024-04-17 17:56:57 +02: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
Janine Liu 2cb26ebeeb Doc improvements and function flattening 2024-04-12 14:13:51 -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 86d77cde33 Implement forEachPrimitiveInScene using forEachRootNodeInScene. 2024-04-10 15:26:12 +10:00
Kevin Ring eeeb304926 Various glTF helper functions. 2024-04-10 15:14:11 +10:00
Kevin Ring 17fd4d3452 Merge remote-tracking branch 'origin/cesium-legacy-terrain' into gltf-correctness 2024-04-10 14:59:36 +10:00
Kevin Ring 28eae3e782 Formatting. 2024-04-08 21:28:08 +10:00
Kevin Ring 71e567dc1f Add isExtensionUsed and isExtensionRequired methods. 2024-04-08 17:38:33 +10:00
Kevin Ring b9fe268f91 Add tests for addExtensionUsed/Required. 2024-04-08 16:24:36 +10:00
Kevin Ring 8c05f96f6e Various fixed to correctness of glTF generation. 2024-04-08 15:40:56 +10:00
Kevin Ring 66ad2c9039 Add support for CESIUM_primitive_outline extension. 2024-04-08 14:46:14 +10:00
Kevin Ring ee357293c0 Updates to generator config to work with updated glTF repo. 2024-04-08 14:24:31 +10:00
Tim Moore ff427ace80 Fix CesiumGltf::Model::merge to handle EXT_mesh_gpu_instancing
This is all very ad hoc and there will be more extensions that will
have to be handled in the future. This function is currently only used
by Cmpt parsing code, but one could imagine it being generally useful.
2024-04-07 13:31:14 +02:00
Sean Lilley 4fd4e9f6df Create AccessorWriter from AccessorView 2024-03-29 09:29:27 -04: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 6b850d2731 Fix typo 2024-03-04 15:21:44 -05:00
Janine Liu 4d53694f79 Add PositionAccessorType 2024-03-04 14:24:27 -05:00
Janine Liu f17e4846b1 Minor tweaks from PR review 2024-02-29 10:12:09 -05:00