It sounds like you need the WalkViewerBehavior that was written by Henry
Sowizral and Dave Nadeau:

http://www.sdsc.edu/~nadeau/Courses/Siggraph99/

The website includes a very good tutorial on Java3D and
WalkViewerBehavior.java is a class that moves the view based on mouse
movements to emulate the user walking in the 3D scene. We use this and
are quite happy with it.

                                                        Mojtaba Hosseini

kindy huang wrote:
>
> Dear all,
>
> I am wondering how to implement a smooth walking
> through in a 3D scene in Java3D. Suppose the 3D scene
> has been constructed, if I use mouse
> behavior(MouseRotate etc) and/or KeyNavigatorBehavior,
> it looks like that the 3D scene is being rotated,
> translated, not like I am walking through in the
> scene. Is there anything I didn't take care of or is
> there any other way to better implement such walk
> through?
>
> when using OpenGL and programming in C/C++, I can
> decide the distance of translation and angle of
> rotation, how can I do the same in Java3D? It seems
> that everything is default.
>
> Thanks.
>
> - Mian
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
> http://calendar.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".

Reply via email to