[Bf-committers] Building matrices from loc, size, quat

Jeremy Wall bf-committers@blender.org
Fri, 30 Jul 2004 14:00:14 -0500


On Fri, 30 Jul 2004 09:23:55 -0400, Roland Hess
<rolandh@reed-witting.com> wrote:
> I'm working on the character animation tools, and I need to build a
> transform matrix for a bone. I have the loc, size and quat values,
> and I'd like to put them into a 4x4 matrix for easy use later on. The
> way to do this is most likely in the code somewhere already, but I
> can't find. If someone could either point me to the maths on how to
> do this, or to the already existing code, it'll save me a pile of
> time.

Internally Blender Doesn't use a matrix just the quaternions for
bones. What exactly are you working on in the character animation
tools?