Hi,

I tried to use the Java 3D view model to
change the view volume and failed. I am familiar with OpenGL  view model so
I used the following code to do my work. However I want to know what's going
on with Java 3D view model.

               View myView = u.getViewer().getView();
                 myView.setProjectionPolicy(View.PARALLEL_PROJECTION);
                 myView.setCompatibilityModeEnable(true);
                Transform3D myViewVolume = new Transform3D();
                myViewVolume.ortho(-25.0,25.0,-20.0,20.0,-20.0,20.0);
                myView.setLeftProjection(myViewVolume);
                myView.setRightProjection(myViewVolume);

Does anyone have any idea about using Java 3D view model to change view
volume?


Qiuli Sun
The University of Oklahoma

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