Does glTF supports morph target / shape keys for CURVES shapes?

Viewed 572

I have a Blender file that contains some curves shapes. These curves have some shape keys and I'd like to export it to a glTF file to be consumed by Three.js.

The problem is that exported glTF does not include the shape keys animations for the curves.

1 Answers

The glTF 2.0 format supports triangle meshes, lines/edges, and points. It does not directly support curves or NURBS. Blender's glTF exporter does have the ability to export all three primitive types (in recent versions) or to bake static curves and surfaces to meshes, but I don't think that it can bake animations on those curves. I think you would need to do that before exporting from Blender, and I'm not sure how — https://blender.stackexchange.com/ might be the place to ask on that topic.

Related