Sign in to follow this  

Skinning Problem

Recommended Posts

hi All, I have loaded the Skinning information from a Collada file. i am doing the proper transformation etc, and when my skin is bound to the skeleton. its like 3 times bigger then the skeleton. what could be the possible cause? i am also normalizing the weights. if i draw the Model in bind pose its the same like the skeleton.. the same size. but when i bind it to the skeleton. it gets bigger... also when i apply animations to the skeleton the skeleton also gets bigger... any ideas.. The following is the skinning calculations that i am doing
The skinning calculation for each vertex v in a bind shape is
for i to n
    v += {[(v * BSM) * IBMi * JMi] * JW}

• n: The number of joints that influence vertex v
• BSM: Bind-shape matrix
• IBMi: Inverse bind-pose matrix of joint i
• JMi: Transformation matrix of joint i
• JW: Weight of the influence of joint i on vertex v
Although the question looks really vague but hopefully there is something common that i am doing wrong here.. Thanks in advance for any replies..

Share this post

Link to post
Share on other sites
Ok i have found the cause...

I was adding the Non-Transformed Vertex with the Transformed-Skinned vertex..

But my Skeleton problem still exists...

When i apply the keyframe data to the skin it gets bigger.. although it animates properly..

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this