Up ] First Applet ] First Application ] First Project ] Models ] Keyframe ] Linear ] Torus Knot ] Pick Events ] [ Camera Events ] Color Selector ] Slider ] Ruler ] Vector Field ] Polygon Sets ] Scalar Field ] Ode ] Root Finder ] ParmSurface ] L-System ] Texture ] Refinement ] Images ] 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 frontside interchange.

Simple ODE Demo

 

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