window() — Silicon Graphics Beta Release
NAME
window - defines a perspective projection transformation
SPECIFICATION
C
window(left, right, bottom, top, near, far)
Coord left, right, bottom, top, near, far;
FORTRAN
subroutine window(left, right, bottom, top, near, far)
real left, right, bottom, top, near, far
Pascal
procedure window(left, right, bottom, top, near, far: Coord);
DESCRIPTION
window specifies the position and size of a rectangular viewing frustum in terms of the distance to the surface closest to the eye (in the near clipping plane), the boundaries of a rectangular region, and the distance to the far clipping plane. The image will be projected with perspective onto the screen area defined by viewport.
window loads a matrix onto the transformation stack, overwriting whatever was there.
SEE ALSO
ortho, perspective, viewport
Version 2.3 — July 04, 1985