Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ depthcue(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

depthcue(3G)  —  Silicon Graphics

NAME

depthcue − turns depth-cue mode on and off

SPECIFICATION

C
depthcue(mode)
short mode;

FORTRAN
subroutine depthc(mode)
logical mode

Pascal
procedure depthcue(mode: Boolean);

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, Programming Guide, Section 13.2, Depth-Cueing

Version 3.6  —  December 20, 1987

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