To get the transformgroup of view:
SimpleUniverse su=new SimpleUniverse(canvas3D);
TransformGroup vpTrans = su.getViewingPlatform().getViewPlatformTransform();


>From: David Charles Hirschfield <[EMAIL PROTECTED]>
>Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [JAVA3D] Question: Moving the view
>Date: Mon, 22 Nov 1999 22:30:46 -0500
>
>A quick question about something that's confusing me:
>
>Is it possible to simply move the view/viewplatform as though it were
>like a camera? I know that Java3d takes a different tack on the camera
>model of 3d, but I'd still like to be able to pan and zoom the view and
>not actually move any of my geometry.
>
>My thought was that I could simply get the transformgroup that the view
>is a child of and move and scale that, but I'm not sure how to get ahold
>of that transform group and I'm not even sure this is the right way of
>doing what I'm asking.
>
>Suggestions?
>
>-David
>
>+-=====================================================================-+
>|                                                --== e-mail ==--       |
>|     _/_/_/      _/_/    _/   _/  _/_/_/       [EMAIL PROTECTED]      |
>|    _/    _/  _/    _/  _/  _/   _/                   or               |
>|   _/    _/  _/_/_/_/  _/ _/    _/_/       [EMAIL PROTECTED]  |
>|  _/    _/  _/    _/  _/_/     _/                                      |
>| _/_/_/    _/    _/  _/       _/_/_/             --== WWW ==--         |
>|                                          http://srv.res.cmu.edu/~dch/ |
>+-=====================================================================-+
>
>===========================================================================
>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".

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.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".

Reply via email to