University of California, Berkeley
EECS Dept, CS Division
Jordan Smith SLIDE: Scene Language for
Interactive Dynamic Environments
Prof. Carlo H. Séquin

Home Goals Publications People Gallery Assignments Distributions

Stereo Viewing Notes

Stereo Viewing

Stereo viewing is where you trick your brain into thinking that it is viewing a real 3D object by presenting it with the two different perspective parallax views that your eyes would see. There are a number of different ways to output such an effect to the human visual system.


Physical World

The physical world is where the actual human observer resides. The human has two eyes which are offset from the center of his head in the X direction by some Eye Offset (EO). The viewer's head is

Virtual World


SLIDE Render Statements

The following are Tcl variables which the renderer program maintains to run the simulation engine.

The global Tcl variables are:

The Tcl variables allocated to each render statement tcltag use the following naming convention: SLF_tcltag_field. For a render statement which does not specify a tcltag the naming convention is changed to the following: SLF_field. The following are the tcltag based variables which the renderer currently maintains:

To make a Tcl based crystal ball you then do the following:

group gRoot
  ...
endgroup

group gCrystalBall
  instance gRoot
    scale ( {expr $SLF_BALL_SCALE}
            {expr $SLF_BALL_SCALE}
            {expr $SLF_BALL_SCALE} )
    rotate ( {expr $SLF_BALL_AXIS_X}
             {expr $SLF_BALL_AXIS_Y}
             {expr $SLF_BALL_AXIS_Z} )
           ( {expr $SLF_BALL_ANGLE} )
  endinstance
endgroup

render vp gCameraRoot.instCamera.cam gCrystalBall
  tcltag BALL
endrender

References




This page was originally built by Jordan Smith.

Last modified: Friday, 12-Mar-1999 16:13:16 PST