depthcue() — Silicon Graphics
NAME
depthcue - turns on and off depth-cue mode
SPECIFICATION
C
depthcue(mode)
Boolean mode;
FORTRAN
subroutine depthc(mode)
logical mode
Pascal
procedure depthcue(mode: Boolean);
DESCRIPTION
depthcue sets the current depth cue mode. If mode is TRUE all line and points drawn will be drawn depth cued. This means that the color of the lines and points is determined from their z values and the range of color indices specified by shaderange. The z values, whose range is set by the setdepth command, are mapped linearly into the range of color indices. In this mode, lines with large delta z’s will span the full range of colors, typically appearing bright at one end and dim at the other.
In order for depth cueing to work properly the color map locations in the range specified by shaderange must be loaded with a series of colors gradually increasing or decreasing in intensity.
SEE ALSO
setdepth, shaderange
Version 2.4 — May 08, 1986