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

glTF: Implement support for morph target names #6904

Merged
merged 2 commits into from
Sep 30, 2019
Merged

glTF: Implement support for morph target names #6904

merged 2 commits into from
Sep 30, 2019

Conversation

zeux
Copy link
Contributor

@zeux zeux commented Sep 29, 2019

While morph target names aren't technically part of glTF spec, there is one de-facto standard for specifying them via mesh.extras, which is also called out in glTF specification as an implementation note. See KhronosGroup/glTF#1036.

This change adds support for using the names if they are present - the default morphTarget0, etc names are generated as a fallback.

While morph target names aren't technically part of glTF spec, there is one de-facto standard for specifying them via mesh.extras, which is also called out in glTF specification as an implementation note. See KhronosGroup/glTF#1036.

This change adds support for using the names if they are present - the default morphTarget0, etc names are generated as a fallback.
Copy link
Contributor

@bghgary bghgary left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@deltakosh deltakosh merged commit dbf1339 into BabylonJS:master Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants