Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ sphcolor(3L) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



SPHCOLOR(3L)                                                      SPHCOLOR(3L)



NAME
     sphcolor - set the diffuse r, g, b color components of bitmapped spheres.

C SPECIFICATION
     #include <gl/sphere.h>

     void sphcolor(clr)
     float clr[4];

PARAMETERS
     clr    the specification of the diffuse color for bitmap spheres



DESCRIPTION
     sphcolor specifies the diffuse color for the bitmapped spheres drawn with
     calls to sphdraw sphbgnbitmap and sphendbitmap.

     sphcolor must only be called between sphbgnbitmap and sphendbitmap or the
     results are undefined.

SEE ALSO
     libsphere, sphmode, sphobj, sphdraw, sphgnpolys, sphfree, sphbgnbitmap,
     sphendbitmap

NOTE
     sphcolor only affects bitmapped spheres which are currently only
     implemented on the RealityEngine.  The routine receives an array of four
     floating-point elements.  In the current implementation on the
     RealityEngine, the first three elements specify r, g, and b,
     respectively, and the fourth component is not used and should be set to
     1.0.























                                                                        Page 1



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