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

MMDLoader: Improve Animation system for PMX #21395

Merged
merged 1 commit into from
Mar 3, 2021

Conversation

takahirox
Copy link
Collaborator

Related PR: #21249

Description

This PR lets MMDAnimationHelper simulate PMX animation system more properly. PMX animation system is very different from Three.js animation system and it is more costly. So I added a new MMDAnimationHelper constructor parameter pmxAnimation: boolean (default is false) and it is expected to be set true only if user PMX model doesn't animate correctly. If it is true the helper does new PMX animation simulation otherwise the loader does the regular one.

The PMX specification is so complex that I'm not sure if I understand correctly. So I would be very happy if Three.js MMD users test.

I worked with @ingbunga for this PR, so would the change log editor (@Mugen87 ?) add his name next to me in r127 change log if this PR is merged?

@takahirox takahirox force-pushed the MMDPMXAnimationImprovement branch from 13eb0da to 19e0cdc Compare March 3, 2021 08:56
@mrdoob mrdoob added this to the r127 milestone Mar 3, 2021
@mrdoob mrdoob merged commit 9728bf4 into mrdoob:dev Mar 3, 2021
@mrdoob
Copy link
Owner

mrdoob commented Mar 3, 2021

Many thanks!

@takahirox takahirox deleted the MMDPMXAnimationImprovement branch March 3, 2021 09:12
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