Good morning!

I've a problem: i'm composing a 3d-scene using java 3d and i'm using
the mouse to move the camera across my scene.
When the user has selected his favourite camera view, the program
should call the Pov-Ray raytracer, passing the camera position and all
the objects and lights, to create a photorealistic simulation of the
scene.
It's all ready but i've some problem to obtain the coordinates of the camera.
I'm using the standard MouseRotate, MouseTranslate class, and i use a
"root" transform3d that moves all the scene.
Now, to get the translation of the transform3d is quite simple, but
i've not understand how to get the rotation: the transform3d returns
me a 3x3 matrix and i'm not able to translate it into a single 3d
vector with the three angles.
Any suggestion?

===========================================================================
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".

Reply via email to