Hi Rolf I can give you an experimental solution. I have not got my matrix algebra book handy but try this (Foley and van Dam have transformations explained.)
Transform3D t = new Transform3D; double angle = 30.0*3.14159/180.0;// angle 30 degrees in radians t.rotX(angle); System.out.println( "transform \n"+t); // will output to system a 4 x 4 matrix. The top left 3 x 3 part of the matrix // will contain cosines and sines of 30 degrees from which angle can be deduced. ( I think) If your "unknown" transform has only suffered rotX, rotY or rotZ, but no other combination the similar results.If mul has been used to combine these with each other or with other there is no clear single angle of rotation Peter S. ----- Original Message ----- From: "Rolf Gabler-Mieck" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 26, 2004 2:27 PM Subject: Re: [JAVA3D] rotation angle of Transform3D > Prof.C.Ratsch wrote: > > > Hello Java3D-fans, > > > > I have the instance of a Transform3D from a TransformGroup. > > How can I get the rotation angle ? I search something like getRotX ? > > Any solutions? > > > > C. Ratsch > > > > =========================================================================== > > > > 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". > > > > > just get the matrix of your Transform3D, there you got all values > (cosini and sinus of ALL the rotations in radiant) > regards > rolf gabler-mieck > > =========================================================================== > 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". =========================================================================== 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".