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

Remove transformation of rest pose #32

Closed
quanhua92 opened this issue Oct 24, 2019 · 1 comment
Closed

Remove transformation of rest pose #32

quanhua92 opened this issue Oct 24, 2019 · 1 comment

Comments

@quanhua92
Copy link

quanhua92 commented Oct 24, 2019

Hi,
I can't understand the mathematical reason for the "remove the transformation due to the rest pose". Can you give me some hints? I know that it is the equation (3) in the paper. But I can't explain why it is implemented like this.
Thank you very much.

SMPL/smpl_np.py

Lines 109 to 115 in f7a2eb3

# remove the transformation due to the rest pose
G = G - self.pack(
np.matmul(
G,
np.hstack([self.J, np.zeros([24, 1])]).reshape([24, 4, 1])
)
)

@CalciferZh
Copy link
Owner

Hi, I think "remove the transformation due to the rest pose" is a bad description. I should fix it.
Basically it's computing the vector from the joint to the vertex, so the rotation of that joint can be applied to that vector to calculate the vertex's location after posing.
You can also check the concept "linear blend skinning" for a better understanding.

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

No branches or pull requests

2 participants