DoStereo(3D) — Kubota Pacfic Computer Inc. (\*(Dd)
NAME
DoStereo − Create a stereo studio attribute object
SYNOPSIS
C:
DtObject DoStereo(eyeseparation,distance)
DtReal eyeseparation;
DtReal distance;
FORTRAN:
INTEGER∗4 DOSTER(EYESEP,DISTNC)
REAL∗8 EYESEP
REAL∗8 DISTNC
DESCRIPTION
DoStereo returns a stereo studio attribute. The attribute requires two input values to specify camera positioning for stereo. The eyeseparation parameter is used to specify the distance from the normal camera position to each of the two stereo camera positions (one for each eye). The total distance between the two camera positions will be 2∗eyeseparation. The distance parameter specifies the distance from the original camera position to the point along the original camera direction vector at which both stereo camera directions are centered. This controls the “focus” point and becomes important when the distance of the objects being displayed is small enough that it approaches the eye separation distance, that is, when objects become “close”. Both parameters are specified in world units space.
DEFAULTS
The default eyeseparation is 1.0. The default distance is 10.0.
SEE ALSO
September 02, 1992