Re: [JAVA3D] Difficult matrix algebra problem

2003-11-21 Thread Kevin
[mailto:[EMAIL PROTECTED] 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 u

Re: [JAVA3D] Difficult matrix algebra problem

2003-11-21 Thread Nikolai V. Chr.
Thank you Pasi Paasiala and Jeremy Booth Regards Nikolai -- 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

Re: [JAVA3D] Difficult matrix algebra problem

2003-11-21 Thread Pasi Paasiala
Title: RE: [JAVA3D] Difficult matrix algebra problem 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 Whe

Re: [JAVA3D] Difficult matrix algebra problem

2003-11-21 Thread Nikolai V. Chr.
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);

Re: [JAVA3D] Difficult matrix algebra problem

2003-11-21 Thread Jeremy Booth
Nikolai V. Chr. said: > Is there any solution to this problem: > > I have two transform nodes in a scenegraph. > Neither of them is ancester to the other. > > Is it possible to get the transform between them? > > All transform nodes are expected to be affine. > > Any help is appreciated > Nikolai

Re: [JAVA3D] Difficult matrix algebra problem

2003-11-21 Thread Pasi Paasiala
Title: RE: [JAVA3D] Difficult matrix algebra problem 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. Regards, Pasi

[JAVA3D] Difficult matrix algebra problem

2003-11-21 Thread Nikolai V. Chr.
Is there any solution to this problem: I have two transform nodes in a scenegraph. Neither of them is ancester to the other. Is it possible to get the transform between them? All transform nodes are expected to be affine. Any help is appreciated Nikolai --