Advertisement

GPU Skinning Problem

Started by February 03, 2018 06:41 PM
38 comments, last by B. / 6 years, 11 months ago

I know it's a little bit late, but better late as never :)

I figure out for a couple of weeks how to handle my problem :)

For a correct Animation play you need to send the Shader the InverseSourceSpace you load from the COLLADA FILE * the and the calculate world target space as bone matrices. You calculate bone world space from all the local space of the bone hierarchy and if you have animations on a bone you take the aniamtion matrix instead of the local matrix of the bone :)

And in the shader you need to multipy the vertex 1. with the bindposematrix, 2. with the skin transform matrix and 3. with the world matrix and everything works correct :D

I post this description to say thank you to the gamedev community and especially to JoeJ and turanszkij that you helped me with my problem and bring me in the right direction for the solution :)

Greets

Benjamin

This topic is closed to new replies.

Advertisement