Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ setdepth(3) — GL1 W2.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

setdepth(3)  —  Silicon Graphics R1c

NAME

setdepth - set up a 3D viewport

SYNOPSIS

C
setdepth(near, far)
Screencoord near, far;

FORTRAN
subroutine setdep(near, far)
integer*2 near, far

Pascal
procedure setdepth(near, far: Screencoord);

DESCRIPTION

The viewport command specifies a mapping from the left, right, bottom, and top clipping planes in world coordinates to screen coordinate values.  Setdepth completes this mapping for homogeneous world coordinates.  The two arguments map the near and far clipping planes to the desired screen coordinate values.  The default is setdepth(0,1023). 

SEE ALSO

pushviewport, popviewport, screenpnt

Version 2.3  —  July 04, 1985

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026