JavaView Logo  
Home Demos Applications Tutorial Download Help Feedback

Up ] First Applet ] First Project ] First Graph ] First Application ] Models ] Loader ] Keyframe ] Linear Alg ] Torus Knot ] Picking ] [ Camera Events ] Slider ] Ruler ] Color Selector ] Vector Field ] Polygon Sets ] Scalar Field ] Ode ] Root Finder ] Parm Surface ] L-System ] Texture ] Refinement ] Julia Set ] 4D Transform ]

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.


© 1999-2005 Last modified: 03.10.2005 --- http://www.javaview.de --- The JavaView Project