oframe/ogl

Add support for shape keys animation

monolithMktg opened this issue · 2 comments

Is there a tentative date for the Sparse Accessor packing support for GLTF/GLB shape keys animation?

Right now this line in GLTFLoader.js gives an error that bufferViews[i] is undefined:
desc.accessors.forEach(({ bufferView: i, componentType }) => { bufferViews[i].componentType = componentType; });

What do you mean by shape keys animation? https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html
Is it related to the sparse support?

What do you mean by shape keys animation? https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html Is it related to the sparse support?

Thanks for the reply. Yes, for vertex animations and/or morphing targets. I do see that Sparse Accessor and Morph Targets at the top of GLTFLoader.js as a To-do item. Would be nice if it gets added soon. :)