RGBrange(3G) RGBrange(3G)
NAME
RGBrange - sets the range of color indices used in depth-
cueing in RGB mode
SPECIFICATION
C RGBrange(rmin, gmin, bmin, rmax, gmax, bmax,
zmin, zmax)
short rmin, gmin, bmin, rmax, gmax, bmax, zmin,
zmax;
FORTRAN subroutine RGBran(rmin, gmin, bmin, rmax, gmax,
bmax, zmin, zmax)
integer*2 rmin, gmin, bmin, rmax, gmax, bmax,
zmin, zmax
DESCRIPTION
RGBrange sets the range of color indices to use for depth-
cueing in RGB mode. rmin and rmax are the minimum and
maximum values stored in the red bitplanes. Likewise, gmin,
gmax, bmin, and bmax define the minimum and maximum values
stored in the green and blue bitplanes respectively. zmin
and zmax define the z values that are mapped linearly into
the RGB range. z values less than zmin are mapped to rmax,
gmax, and bmax; values greater than zmax are mapped to rmin,
gmin, and bmin.
SEE ALSO
setdepth, depthcue
Programming Guide, Section 13.2, Depth-Cueing
Page 1 (printed 8/20/87)