Hi,

this was discussed here some time ago. You just have to apply your
transformations against the transformGroup that keeps your viewpoint.
A straight forward solution would be to trigger a bahavior via
Behavior.postID() by an ActionEvent. This ActionEvent must be delivered
from your Button.
(2) Could be done by a PathInterpolator.

Gernot
[EMAIL PROTECTED]
http://www.janet.de




                    PK
                    <[EMAIL PROTECTED]        To:     [EMAIL PROTECTED]
                    NG.DCU.IE>                  cc:
                    Sent by: Discussion         Subject:     [JAVA3D] Moving View
                    list for Java 3D API
                    <JAVA3D-INTEREST@JAV
                    A.SUN.COM>


                    10.02.00 13:10
                    Please respond to
                    Discussion list for
                    Java 3D API






Hi,
   Up until now, I have just been able to move objects in a scene, i.e. -
   spin them, rotate them around another object etc.
   I was wondering if it is possible to keep the object at a fixed point,
   and move the view position instead.
   There's two ways I'd like to be able to do this:
   (1) - Click on buttons to move view left\right, up\down etc.
   (2) - Plot a fixed path around an object in the code
         (A figure of eight for example)

    Can anyone tell me where I can find how to do this? I think I have an
    example of how to do (1), but I haven't a clue about (2)

Thanks for any help,

regards,

PK.

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