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

Update three-model.js #89

Closed
wants to merge 1 commit into from
Closed

Update three-model.js #89

wants to merge 1 commit into from

Conversation

msj121
Copy link
Contributor

@msj121 msj121 commented Sep 14, 2016

It was necessary to make sure each material has "skinning" set to true. I also added the ability to morphTargets to true for some future Morph animations on SkinnedMeshes (needs some thought there, so I didn't add any additional code, but the above materials will allow custom scripts to later be added by someone using this library to create and play morph animations until we have a proper solution)....

This will solve #87, as well as #86

I have tested the pull request on the "knight.json" mention in 87/86

It was necessary to make sure each material has "skinning" set to true. I also added the ability to morphTargets to true for some future Morph animations on SkinnedMeshes (needs some thought there, so I didn't add any additional code, but the above materials will allow custom scripts to later be added by someone using this library to create and play morph animations until we have a proper solution)....

This will solve c-frame#87, as well as c-frame#86
@donmccurdy
Copy link
Collaborator

Thanks, could you check #90? I am hoping i've got the critical parts of this PR included there.

@msj121
Copy link
Contributor Author

msj121 commented Sep 14, 2016

Not sure if I wrote this somewhere else, but yes, I have tried your #90 PR, I copied the specific code locally and it works on all 4 JSON models. 👍

@donmccurdy
Copy link
Collaborator

Great, I did see the other comment although I'm not sure where it went either haha.

@donmccurdy donmccurdy closed this Sep 14, 2016
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.

2 participants