Janet, I wanted more control that what Sun provides for navigating a
scene too. So I'm writing my own routines to monitor the arrow keys (I
want keyboard navigation not mouse). What works for me is to catch the
keyboard event of the arrow key being pressed then I update the angle of
the viewer or the position of the viewer. With the new location and
angle of view I update the view platform position and rotation.
- John Wright
Starfire Research
Janet Song wrote:
>
> Hi all,
>
> i'm doing an applet on viewing and would like to let the user walk and rotate around
>in the scene. So far the com.sun.utils.** , dont allow me to do so..
> Q. Is there any way the com.sun.util.* mouse behavior can implement this?
> Q if i have to implement my own mouse behaviour for the navigation, what r the
>guidelines i must do? i understand how the behavior process event and so on, what i
>am confuse about is what must be done to attach this behavior to the viewer..
>basically how would my scenegraph design look so i can get a big picture of what i
>must do..
>
> Thanks
> Please do reply :-)
>
> cheers
>
> ===========================================================================
> 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".