window(3) — Unix Programmer’s Manual
NAME
window - define a perspective projection transformation
SYNOPSIS
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.
Window loads a matrix onto the transformation stack, overwriting whatever was there.
SEE ALSO
ortho, perspective
Silicon Graphics — R1c