resolution
 
 
 

Syntax:

resolution = <scalar> <scalar>;

Range:

Positive integers

Default:

645 486

Purpose:

To specify the size of the defined image (not necessarily what is rendered). Necessary so that backgrounds, image planes, and so on, can be matched.

Comments:

With the new camera controls (such as film back offset), the viewport need not always be the same size (or even shape) as the image being defined. Other controls (xleft, yhigh, and so on) can direct the renderer to only render a portion of the whole image. The resolution statement defines the image. Numbers are in pixels.

Example:

resolution = 645 486;