depthcue() — Silicon Graphics
NAME
depthcue − turns depth-cue mode on and off
SPECIFICATION
C
depthcue(mode)
short mode;
FORTRAN
subroutine depthc(mode)
logical mode
Pascal
procedure depthcue(mode: longint);
DESCRIPTION
depthcue sets the current depth-cue mode. If mode is TRUE (1) all lines and points that the IRIS draws are depth cued. This means the z values and the range of color indices specified by shaderange determine the color of the lines and points. The z values, whose range is set by setdepth, are mapped linearly into the range of color indices. In this mode, lines that vary greatly in z value span the full range of colors, and appear bright at one end and dim at the other.
For depth cueing to work properly, the color map locations shaderange specifies must be loaded with a series of colors that gradually increase or decrease in intensity.
SEE ALSO
setdepth, shaderange IRIS Graphics Programming, Section 13.2, Depth-Cueing
Version 2.5 — April 22, 1987