Jump to content
  • Advertisement
Sign in to follow this  

A scaling issue occured when retrieving animation matrix

This topic is 985 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi there,


I spent quite a while to get my fbx animation importer works with fbx sdk and directX 11. However it still has an issue that the model is scaled 100 times as big as the original one defined by its control points.


Here is how I obtain the inversed base bind pose matrix:


fbxGlobalBoneBaseMatrix = clusterGlobalInitPosition.Inverse() * referenceGlobalInitPosition;
bone.globalBindposeInverseMatrix = fbxGlobalBoneBaseMatrix;



Here is how I get transform matrix of each bone in real time:

FbxAMatrix fbxCurrMatrix = fbxNode->EvaluateGlobalTransform(time);

FbxAMatrix fbxFinalMatrix = fbxCurrMatrix * globalBindposeInverseMatrix;
fbxFinalMatrix = fbxFinalMatrix.Transpose();

After I applied the final matrix to the vertices, the model was scaled 100 times as big as it was before.

Any ideas about that and what I was missing here? Thanks

Edited by OscarYu

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!