Hi Guys,
I've recently been trying to implement skinned animation, and I'm not getting anywhere with it. I've tried googling for solutions, but so many resources contradict each other, or omit key parts of explanations. As an aside, a link to a visual, step-by-step guide on vertex skinning would be appreciated!
I've written an exporter in Python, which writes out my Blender scene in JSON, so, I essentially have two separate problem areas: getting the scene exported from Blender, and getting the exported scene renderd in my engine
To start things off, I have 2 questions:
1. Should the bind pose matrix of a bone contain the scale/rotation/translation of a bone relative to the bone's parent? If so, what should the scale/rotation/translation of the root bone be relative to?
2. When calculating the per-frame transforms of a bone, should I recurse up through the parent bones, and multiply all the transforms of the parent bones, for the current frame, together?
** UPDATE **
3. What exactly is the bind shape matrix? How does it differ from the bind pose matrices of individual bones?