I implemented Zoom in my application using setFieldOfView.
For a while it worked fine, but today for some reason, it seemed to have
no effect.
Today when I call this function, the FOV doesn't actually change until
after I modify the ViewPlatformTransform.
My function now looks like this:

universe.getCanvas().getView().setFieldOfView( newFov );

universe.getViewingPlatform().getViewPlatformTransform().getTransform(myTransform);

universe.getViewingPlatform().getViewPlatformTransform().setTransform(myTransform);

All I am doing is getting the ViewPlatformTransform and then setting it
back to the same thing and that was what was needed to make it work
again.
Has anyone else seen this before?

 -Roy
[EMAIL PROTECTED]

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