Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ shaderange(3g) — GL2 W2.4

Media Vault

Software Library

Restoration Projects

Artifacts Sought

shaderange()  —  Silicon Graphics

NAME

shaderange - sets range of color indices used when 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: Colorindex;
z1, z2: Screencoord);

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 specified by lowindex, highindex.  Z values less than z1 map to lowindex and z values greater than z2 map to highindex. 

SEE ALSO

depthcue

Version 2.4  —  May 08, 1986

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026