Hi
u have to create the viewing part of the scene... have a look at the view and
viewPlatform in the API to get an idea how to do this. U create a BranchGroup and
attch a TransformGroup to it, then u can attach the ViewPlatform to this
TransformGroup. The View must be attach to the VuewPlatform. Now when u modify the
Transform3D in the TransformGroup, u can move in the scene.
cheers
-----Original Message-----
From: PK [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, February 10, 2000 8:11 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Moving View
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".
�������������������������o 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".