[Papervision3D] matrix multiplication order

grizu grizuuu at gmx.at
Fri May 8 07:24:14 PDT 2009


Hello!

Could someone tell me, what is the difference between:

    do3d.transform.calculateMultiply3x3 (do3d.transform, rotationMatrix);

and

    do3d.transform.calculateMultiply3x3 (rotationMatrix, do3d.transform);

I know that order is important, when multiplying matrices (rotX, rotY, rotZ,
then translation, is this right?). But I can't understand, what is going on
here. I tried the first thing, which seems logic to me: I simply multiply an
object's transform with a rotation matrix. But my simple scene only works
with the second way.
It would be very nice, if someone could explain this to me. I try to get
into this matrix-thing, but it is not easy sometimes...

Thanks in advance!
Chris
-- 
View this message in context: http://www.nabble.com/matrix-multiplication-order-tp23446997p23446997.html
Sent from the Papervision3D mailing list archive at Nabble.com.




More information about the Papervision3D mailing list