One way of going is to scrap the canned keyNavigator behavior altogether. Trap keystrokes from the canvas with a keyListener, then use a custom behavior to transform the transformGroup associated with the viewPlatform. Email me if you want some code samples or more detailed info.
Sam
At 01:55 PM 6/21/2003 -0700, you wrote:
Dear all,
I am wondering how I can implement smooth walk through in a 3D architectural model which is stored in VRML or X3D format and displayed using Xj3D.
Currently I am using KeyNavigatorBehavior, but I cannot control the distance of translation at each key press(ex. up/down arrow key), also the angle of rotation at each key press(ex. left/right arrow key)
I know how to do such transformation in OpenGL, but dont' know how to do in Java3D, everything seems predefined, do I need to override some methods? and how?
any hints?
Thanks!
-H.M
__________________________________ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com
=========================================================================== 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".
