Viewer

Syntax:

	(Viewer
           (center: coord)
           (focal-length: number)
           (screen-width: number )
           (screen-height: number))

center:

A set of coordinates indicating the position of the viewer in meters. The default center is (0, 0, 0)

focal-length:

A number denoting the focal length of the viewer "camera". The default focal-length is 1 meter.

screen-width:

A number indicating the width of the picture in meters as is the viewer was standing focal- length away. The default screen-width is .5

screen-width:

A number indicating the width of the picture in meters as is the viewer was standing focal- length away. The default screen-height is .5


Example:

(viewer (focal_length: 3) )

This code creates a viewer at the origin with a focal_length of 3 and screen-width and screen-height of .5.


© 1996, Morgan McGuire ([email protected]) and Laura Wollstadt (lwollstadt @wellesley. edu).

LBW 12/05/96