Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualbobhowdy

Posted 02 October 2012 - 10:16 PM

I'm still not getting this Posted Image

Lets try with some matrices. This is what I have to work with for the root bone:

root
1.0 0.0 0.0 0.0
0.0 0.0 1.0 0.0
0.0 1.0 -0.0 0.0
0.0 0.0 0.0 1.0

model
0.5 0.0 0.0 0.0
0.0 0.5 0.0 0.0
0.0 0.0 2.0 2.0
0.0 0.0 0.0 1.0

armature
2.0 0.0 0.0 0.0
0.0 2.0 0.0 0.0
0.0 0.0 0.5 -1.0
0.0 0.0 0.0 1.0

rootbone
1.0 0.0 0.0 0.0
0.0 0.0 -1.0 0.0
0.0 1.0 0.0 0.0
0.0 0.0 0.0 1.0

skin
0.5 0.0 0.0 0.0
0.0 0.0 2.0 2.0
0.0 -0.5 0.0 0.0
0.0 0.0 0.0 1.0

animation
0.0 -1.0 0.0 0.0
-1.0 0.0 0.0 0.0
0.0 0.0 -1.0 0.0
0.0 0.0 0.0 1.0

I know that root*model*armature*rootBone*skin results in the identity matrix. But I don't see anything here that would turn my animation matrix back into the identity matrix. It seems like it should be turned back into the identity matrix or the bind pose matrix.

My model is sort of a test model. It's the shape of two bones, the two bones that animate it. So I can see where the bones are easily.

#1bobhowdy

Posted 02 October 2012 - 10:07 PM

I'm still not getting this :(

Lets try with some matrices. This is what I have to work with for the root bone:

root
1.0 0.0 0.0 0.0
0.0 0.0 1.0 0.0
0.0 1.0 -0.0 0.0
0.0 0.0 0.0 1.0

model
0.5 0.0 0.0 0.0
0.0 0.5 0.0 0.0
0.0 0.0 2.0 2.0
0.0 0.0 0.0 1.0

armature
2.0 0.0 0.0 0.0
0.0 2.0 0.0 0.0
0.0 0.0 0.5 -1.0
0.0 0.0 0.0 1.0

rootbone
1.0 0.0 0.0 0.0
0.0 0.0 -1.0 0.0
0.0 1.0 0.0 0.0
0.0 0.0 0.0 1.0

skin
0.5 0.0 0.0 0.0
0.0 0.0 2.0 2.0
0.0 -0.5 0.0 0.0
0.0 0.0 0.0 1.0

animation
0.0 -1.0 0.0 0.0
-1.0 0.0 0.0 0.0
0.0 0.0 -1.0 0.0
0.0 0.0 0.0 1.0

I know that root*model*armature*rootBone*skin results in the identity matrix. But I don't see anything here that would turn my animation matrix back into the identity matrix. It seems like it should be turned back into the identity matrix or the bind pose matrix.

PARTNERS