Well after reading a lot of docs that weren't too helpful and studying the
KeyNavigator code I guessed upon the right solution which was the setScale
line from the below code.

TransformGroup viewPlatformTransform =
simpleU.getViewingPlatform().getViewPlatformTransform();

Transform3D t3d = new Transform3D();
            t3d.setTranslation(new Vector3d(0.0, 0.0, 3.0e-15f));
            t3d.setScale      (                       1.0e-15f );
viewPlatformTransform.setTransform(t3d);


Now I have a flickering problem to resolve.


Daniel

-----Original Message-----
From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]
On Behalf Of Daniel C
Sent: Monday, January 20, 2003 11:03 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] KeyNavigatorBehavior not working on small model

I'm modeling sub atomic particles and it looks like the KeyNavigator
behavior is too extreme when moving the camera.  Is there a simple way to
make camera movements less extreme?

In looking at the source code for KeyNavigator, it makes a reference to
scale it based on the avatar.  I don't know how to set the avatar.  Can
someone point me to documentation or examples on this?  I know there are
calls to set the avatar with in the utility classes, but what do I set it
to?

Thanks in advance,
Daniel
Chandler, Arizona

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