[EMAIL PROTECTED] wrote on 11/07/2006 14:59:58:

> I’m simply trying to multiply two matrices <<<snip>>> If I 
> understand well, what I actually have to do is B * A = C to get the 
> accurate result ? So every mathematical operations with matrices 
> have to be inverted like this ?

First off, be wary of terms like "inverted", which have a specific meaning 
with matrices. What you meant to say (and it was clear in this case), is 
that the operands have to be reversed.
Matrix multiplication isn't commutative, so A*B != B*A. It all depends on 
what order you want to do the transformations in. Doing scale * translate 
will produce a matrix which scales first, then translates. Reversing the 
order will effectively translate first, then scale.

John Donovan
Sony Computer Entertainment Europe
http://www.scee.com

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
[EMAIL PROTECTED]

This footnote also confirms that this email message has been checked
for all known viruses.

**********************************************************************
Sony Computer Entertainment Europe

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to