Week 11 - Multiple transformations support and adding tests#

What did you do this week?#

As decided last week, I added support for multiple animations at the same timestamp. But this didn’t solve the animation problems of RiggedSimple model.

  • I figured out that I was not applying the global transform of joints in the skinning matrix causing the joints to move to a new position. I referred to this answer by irradicator.

  • We had to invert the multiplication order (ie, np.dot(skin_mat, vertex) instead of np.dot(vertex, skin_mat)) for this model. We still need to figure out from where we get the multiplication order of the two.

  • I also tried to create a custom Interpolator that does all calculations required for vertex skinning. However, we couldn’t get this working. I got a few suggestions from Mohamed in our meeting, I’ll try to implement those.

  • Added tests for animations.

What is coming up next week?#

  • Adding more tests.

  • Fixing the Interpolator.

  • Order of multiplication in the skinning matrix.

Did you get stuck anywhere?#

No, I didn’t get stuck this week.