Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

primitive.extras.targetNames はもう export しなくてよいのでは #1739

Closed
ousttrue opened this issue Jul 12, 2022 · 1 comment
Closed
Labels
Milestone

Comments

@ousttrue
Copy link
Contributor

ousttrue commented Jul 12, 2022

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 能力は残しておく。

@ousttrue
Copy link
Contributor Author

vrm-0.xprimitive.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.

@ousttrue ousttrue added this to the v0.103 milestone Jul 13, 2022
@ousttrue ousttrue modified the milestones: v0.103, v0.104 Sep 8, 2022
@ousttrue ousttrue modified the milestones: v0.104, v0.105 Sep 21, 2022
@ousttrue ousttrue closed this as completed Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant