I can’t get multiple joints working. 
I’m o so close, I just need a little more hand holding on the matrix math. I’ve computed the rotation matrix for all the joints. When I just rotate the root, I can make it work. However, if I try to rotate another joint at the same time, bad things happen. Someone from over on the Nehe forum gave me the following algorithm, I’m unclear about a few things:
for each vertex
-
determine its owner joint. (I’m clear on this step)
-
transform the vertex by the correct joint’s matrix.
I assume that means multiply the vertex vector by the owner joints rotation matrix. I’m a bit confused on how keyframes would affect this operation. If I’m not on the intial keyframe, do I need to do some additional matrix operations to get it into position? Lets call this resulting vertex vector ‘vprime’.
3)transform the vertex by the joint’s parent matrices.
I assume this means multiply vprime by the result of multiplying all the ancestor joint rotation matrices together. Do I pre or post multiply? And how would not being on initial keyframe affect this?
Tx for any help on this.