shaderange() — Silicon Graphics
NAME
shaderange − sets range of color indices used in depthcueing
SPECIFICATION
C
shaderange(lowindex, highindex, z1, z2)
Colorindex lowindex, highindex;
Screencoord z1, z2;
FORTRAN
subroutine shader(lowindex, highindex, z1, z2)
integer*2 lowindex, highindex, z1, z2
Pascal
procedure shaderange(lowindex, highindex: longint;
z1, z2: longint);
DESCRIPTION
shaderange sets the range of color indices used in drawing depthcued lines and points. z values in the range specified by z1, z2 are mapped linearly into the range of color indices that lowindex, highindex specify. z values less than z1 map to lowindex; z values greater than z2 map to highindex.
SEE ALSO
depthcue IRIS Graphics Programming, Section 13.1, Shading
Version 2.5 — April 22, 1987