logo
Overview  First Applet  First Application   First Graph  First Project  Models  Loader  Keyframe  Linear Alg  Torus Knot  Picking  Camera Events  Color Selector  Slider  Ruler  Vector Field  Polygon Sets  Scalar Field   ODE  Root Finder  Parm Curve  Parm Surface  L-System  Texture  Refinement  4D Transform  Size Vertex  Size Polygon  Size Edge 

Handle Camera Events and Stereo Viewing

Demo project showing how to handle camera events issued from a JavaView display. In this example the events in the right window are used to steer the camera in the left window, and vice versa.

A stereo effect is produced by slightly rotating the viewing direction of the left camera around the up-vector of the camera by about 6 degrees. To see the stereo effect look at both displays simultaneously with both eyes looking parallel. If you look with both eyes cross then back- and front side interchange.

 

View source code:
PaEventCamera.java of applet
PjEventCamera.java of project
PjEventCamera_IP.java of project panel.

© 1997-2017 Last modified: 22.06.2017 --- www.javaview.de --- The JavaView Project