UniVRM
UniVRM copied to clipboard
primitive.extras.targetNames はもう export しなくてよいのでは
- https://github.com/KhronosGroup/glTF/issues/1036
https://www.khronos.org/registry/glTF/specs/2.0/glTF-2.0.html#meshes
mesh.extras.targetNames がデファクトになった。
https://www.khronos.org/registry/glTF/specs/2.0/glTF-2.0.html#morph-targets
All primitives MUST have the same number of morph targets in the same order.
とあります。 import 能力は残しておく。
vrm-0.x は primitive.extras.targetNames に記録するという仕様です。
https://github.com/vrm-c/vrm-specification/tree/master/specification/0.0#morph-target-information
作った当時、すべての primitive が同じ morphTarget を持たない場合を想定していたためです。 今バージョンの glTF には下記の文言があります。
All primitives MUST have the same number of morph targets in the same order.