depthcue(3G) depthcue(3G)
NAME
depthcue - turns depth-cue mode on and off
SPECIFICATION
C depthcue(mode)
short mode;
FORTRAN subroutine depthc(mode)
logical mode
DESCRIPTION
depthcue sets the current depth-cue mode. If mode is TRUE
(1) all lines, points, characters, and polygons that the
system draws are depth cued. This means the z values and the
range of color indices specified by shaderange or RGBrange
determine the color of the lines, points, characters, or
polygons. 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 range of
colors specified by shaderange.
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, RGBrange
Programming Guide, Section 13.2, Depth-Cueing
Page 1 (printed 8/20/87)