Sign in to follow this  
eldano

[SlimDX] sw Skinning problem

Recommended Posts

eldano    127
Hello, I'm trying to do skinning with SlimDX but I don't can't make it work. The function UpdateSkinnedMesh takes a bone transformation matrix as its first parameter but I don't understand why is like that since in DirectX it takes an array with all the bones transformation matrices. What I did was: - Get a bone from the hierarchy - Rotate it - Update combined bone Matrices - calculate transformation matrices multiplying each offset matrix by the corresponding combined bone matrix. - calculate the inverse transpose matrix for the UpdateSkinnedMesh function and now I tried calling UpdateSkinnedMesh twice (I have 2 bones), once for each transformation matrix, but this gives me strange results. It rotates the wrong bone. Any ideas? Thank you in advance.

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