Hi
ViiewPlatform platform = ...... The view platform either created or
obtained from SimpleUniverse.getViewingPlatform().getViewPlatform();
Transform3D trans3D = new Transform3D();
platform.getLocalToVworld(trans3D);
Vectro3d viewLocation = new Vector3d();
trans3D.get(viewLocation);
This sets the "viewLocation" vector3d object to the realworld
coordinates of viewPlatform.
You may need to also set the ALLOW_LOCAL_TO_VWORLD_READ capability of
the ViewPlatform....
Mart in
lery wrote:
Hi all,
Can someone help me how to get the view position ?
Many thanks !
===========================================================================
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".