Out of bounds index accessor after sparse
and draco
compression
#1496
Labels
Milestone
sparse
and draco
compression
#1496
Describe the bug
Processing the attached GLB first with
sparse
and then withdraco
produces a mesh that references a joint (accessor) that doesnt existTo Reproduce
Steps to reproduce the behavior:
soc.orig.glb
is the original filegltf-transform sparse soc.orig.glb soc.orig.sparse.glb
anf thengltf-transform draco soc.orig.sparse.glb soc.orig.sparse.draco.glb
gltf-transform copy soc.orig.sparse.draco.glb soc.orig.sparse.draco.copy.glb
Joints accessor element at index 4 (component index 0) has value 12560 that is greater than the maximum joint index (1) set by skin 2
Step 3 and 4 can be omitted and
soc.orig.sparse.draco.glb
can directly opened, see mesh at index 4 has a JOINT_0 : 111 accessor (while draco does not.Expected behavior
No error / out of bounds index
Versions:
Additional context
soc.zip
The text was updated successfully, but these errors were encountered: