Hello,

The orbit behavior is somewhat limited. If you need precise control over
movement, you may want to write your own behavior.

As for 2 and 3, yes to both. To reset the position, simply modify the
transform group that the orbit behavior is operating on. To get the
position, read the transform from the transform group. This transform is the
one directly above the view. It is contained in the MultiTransformGroup of
the simple universe if you are using that utility.

-mike

-----Original Message-----
From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]
On Behalf Of Claudio Mazzuco
Sent: Monday, September 06, 2004 12:17 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Three simple (and rapid) question.

I'm using the OrbitBehavior object to rotate,size and traslate my scene.

1) The mouse behaviour on the rotation is not so user-friendly. Often
when you rotate a object is difficutlt make it well orientated. Is
possible to change the default? For example using a swing slider to
rotate, instead of the left mouse key?
2) Is possible to reset a OrbitBehavior to a default view (i.e. frontal
view, not rotated, unitary sized)? If a user loose the object from the
canvas, click on a button and reget it well orientated.
3) Can i get the camera position? I want to make a ray-traced view of my
canvas, and i need the camera position of the OrbitBehavior if i want to
replicate exactly the same image that the java3d shows to me.

Thanks

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

Reply via email to