Commit Graph

5086 Commits

Author SHA1 Message Date
Tim Moore 029d0aba7a Renamed LegacyUtilities to GltfConverterUtility 2024-05-23 17:33:12 +02:00
Tim Moore d822cf481e Use a fail() local function in ImplicitOctreeLoader
This follows the change in ImplicitQuadtreeLoader.
2024-05-23 17:25:11 +02:00
Tim Moore 9af4cd7fa1 Add tests for CesiumUtility::Math::rotation and fix a bug 2024-05-23 16:46:29 +02:00
Brian L dc0f4d6d2d Add non-indexed cube test and fix logic bugs 2024-05-22 21:39:22 -06:00
Brian L 41ee75bc72 Flesh out non-indexed code path 2024-05-22 15:38:20 -06:00
Brian L 7af234419d update format 2024-05-22 14:54:38 -06:00
Brian L 938e5cd6cc Remove unnecessary test asset 2024-05-22 14:53:22 -06:00
Brian L 1c73911e54 Stub out the rest of the unit cube tests 2024-05-22 14:53:13 -06:00
Brian L 2e5ff62fc6 switch to using new unit cube test model 2024-05-22 14:49:45 -06:00
Brian L c5ebb81fb0 Add cube fan example and generation script 2024-05-22 14:08:20 -06:00
Sean Lilley 1dcbb4b7f1 Fixed crash in ExtensionWriterContext when writing static-typed unregistered extensions 2024-05-22 13:31:06 -04:00
Kevin Ring 02cec93901 Add TestLayerWriter. 2024-05-22 19:12:03 +10:00
Kevin Ring 8140e6dfd2 Various quantized-mesh related improvements. 2024-05-22 18:22:20 +10:00
Kevin Ring 9e9abb015a Don't hang waiting for a future that rejects. 2024-05-22 17:55:41 +10:00
Sean Lilley d64f5a3be5 Added forEachNodeInScene to Model 2024-05-21 22:24:01 -04:00
Sean Lilley 4b3148a562 Added removeUnusedBuffers 2024-05-21 21:14:32 -04:00
Sean Lilley 85c03c8564 Faster collapseToSingleBuffer 2024-05-21 20:43:16 -04:00
Brian L 018c7640eb Remove unneeded test files 2024-05-21 17:22:48 -06:00
Brian L 25331a91c9 Add cube with triangle strip test 2024-05-21 17:22:38 -06:00
Brian L a0b49cefbe Explicitly declare triangle mode 2024-05-21 16:20:12 -06:00
Brian L bef7cbfc78 update test generation scripts 2024-05-21 16:01:47 -06:00
Sean Lilley f631bdfd17
Merge pull request #875 from CesiumGS/meshopt-bugs
Various glTF fixes, mostly meshopt related
2024-05-21 14:22:21 -04:00
Brian Langevin 9d5dbbb251
Merge pull request #879 from CesiumGS/uri-functions
Add new functions to Uri class
2024-05-21 08:56:14 -06:00
Kevin Ring 8c6635cba6 Test that meshopt decode removes the corresponding extensionUsed. 2024-05-21 22:14:22 +10:00
Kevin Ring ee822566b1 Test update of buffer byteLength to match URI length (with warning). 2024-05-21 21:57:09 +10:00
Kevin Ring 206c1c8195 Add test for `compactBuffers` with meshopt bufferviews. 2024-05-21 21:43:13 +10:00
Kevin Ring 2f9cf0ad0d Add tests for GltfUtilities::collapseToSingleBuffer. 2024-05-21 21:35:04 +10:00
Kevin Ring beb4fb9d71 Add test for Model::merge with EXT_meshopt_compression. 2024-05-21 20:53:31 +10:00
Kevin Ring 1c3739474c Leave meshopt fallback buffers intact in collapseToSingleBuffer. 2024-05-21 20:48:00 +10:00
Kevin Ring 1545f87dd9 Merge remote-tracking branch 'origin/main' into meshopt-bugs 2024-05-21 20:28:16 +10:00
Tim Moore edc22cb5d5 Test compilation and gcc fixes 2024-05-20 15:41:57 +02:00
Brian L bc8a918058 Add some test glbs
Also add the source python that created them
2024-05-17 16:06:05 -06:00
Tim Moore e60e936e67 format fixes 2024-05-17 19:42:22 +02:00
Tim Moore ed9bfa851c Merge branch 'tmp/quatFunc' into i3dm-2024 2024-05-17 19:32:49 +02:00
Tim Moore c6b5321d0a Merge remote-tracking branch 'origin/i3dm-2024' into i3dm-2024 2024-05-17 19:32:19 +02:00
Tim Moore be323a4887 Move rotation function to CesiumUtility/Math.h 2024-05-17 19:30:45 +02:00
Tim Moore 88a3b8dfb7 Use gsl:span instead of raw pointers 2024-05-17 18:35:08 +02:00
Brian L 88797d6156 Declare stb write implementation as static (to prevent future conflicts) 2024-05-17 10:29:02 -06:00
Brian Langevin af12d50e65
Merge pull request #877 from DiligentGraphics/no_stb_image_implementation
Gltf Reader: use STB_IMAGE_STATIC to avoid conflicts with other libs
2024-05-17 10:20:11 -06:00
Tim Moore 7369873a40 Rework applyRTC and meshGpuTransforms
Rename and rework arguments in response to review comments.
2024-05-17 16:43:35 +02:00
Tim Moore 598fd2e92f Break i3dm JSON parsing out into a helper function 2024-05-17 15:54:09 +02:00
Tim Moore 068f70ed50 WIP responding to review comments 2024-05-17 12:24:31 +02:00
Brian L 2924edefba Add tests for intersections with model with transformation matrix 2024-05-16 16:32:21 -06:00
Brian L 90755aff5a Rename getPointAlongRay to pointFromDistance 2024-05-16 16:02:09 -06:00
Brian L cd8edc2e2c Update code documentation 2024-05-16 15:47:34 -06:00
Brian L c35b8d3b94 Undo unnecessary changes 2024-05-16 15:24:56 -06:00
Brian L 8ba05076ac Fix warning 2024-05-16 10:47:31 -06:00
Brian L f13d733705 Fix bug where intersect test would hit tris behind the ray. Add more tests 2024-05-16 10:37:09 -06:00
Tim Moore ea79bb8a76 Reponse to feedback: change ConverterSubprocessor to AssetFetcher 2024-05-16 17:05:33 +02:00
Kevin Ring 94fd1dd8d7 Update CHANGES.md. 2024-05-16 22:16:37 +10:00