Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ depthcue(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

depthcue()  —  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: longint);

DESCRIPTION

depthcue sets the current depth-cue mode. If mode is TRUE (1) all lines and points that the IRIS draws are depth cued. This means the z values and the range of color indices specified by shaderange determine the color of the lines and points.  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 full range of colors, and appear bright at one end and dim at the other. 

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

Version 2.5r1  —  October 29, 1986

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