Check Jeremy's reply. It was more clear than mine.
Basically the situation is as follows. Assume you have transformations A and C and you want to know the relative transformation B between them.
You know that:
AB = C
When you multiply this with A's inverse, you get:
((Ainv)A)B = (Ainv)C
Since ((Ainv)A) = I (identity),
Then:
B = (Ainv)C
Pasi
-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Nikolai V. Chr.
Sent: 21. marraskuuta 2003 13:44
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Difficult matrix algebra problem
Pasi Paasiala wrote:
> If you have the transforms in the global coordinates, you can use the
> inverse transform to get the relative transform.
>
> Take the inverse of one of the global transformations and multiply
> with it the other.
>
You mean like this or the opposite mul:
solution.mul(M|1.invert(), M2);|
----------------------------------------------
Nikolai V. Christensen, Computer Engineer,
Simulation and Training department
IFAD, Forskerparken 10A, DK-5230 Odense M
Denmark, EU
Phone: +45 63 15 71 31 Fax: +45 65 93 29 99
WWWeb: http://www.ifad.dk
e-mail: [EMAIL PROTECTED]
----------------------------------------------
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".