Hi Tobias, (eller kanske Hej)

I'm in the process of developing a view orbit behaviour in our
Java 3D application. An orbit behaviour rotates the view around
an imagenary sphere looking at a center point.

There are plenty of examples of existing orbit behaviours, for
example the com.sun.j3d.utils.behaviors.vp.OrbitBehavior class.

Other examples can be found in the j3d.org classes. I also found
a good example in the book /3D User Interfaces with Java 3D
<http://www.amazon.com/exec/obidos/ASIN/1884777902/qid%3D944111318/j3dorg>/
by Barrilleaux.

My own implementation still lack that final touch. I have to learn
how to transform the mouse x, y movement to the right x, y, z
movement of the view, depending on it's current Transform.

Best Regards,

Roger Berggren


Tobias Bergman wrote:

>Hi!
>
>I'm doing an application to show the universe from 3 views (top, front &
>left).
>
>And I want to rotate each view individually. How should I do that?
>
>I've tried to rotate the TransformGroup that is above ViewPlatform. But
>it didn't work so well. Rotate around the figures doesn't work, but you
>can move the ViewPlatform so the object moves.
>
>How should I do to rotate a View like I rotate a for example a Cube?
>
>
>
>Best regards
>
>Tobias Bergman
>
>
> - att-1.htm
>

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