Rémi Arnaud (remi++at++remi.asd.sgi.com)
Tue, 25 Feb 1997 20:24:34 -0800 (PST)
You want to use the texture look up tables.
Look the glColorTableSGI man pages. You will see that if you enable
GL_TEXTURE_COLOR_TABLE_SGI and load the color table then
the value after the texture filter (result after mip-map, and
before texenv) will be used to get a value in the colortable,
and aplied to the pixel.
The man page explain also how the values are mapped into the color table
_ / _ _
|_) _ ._ _ o /\ |_)|\ | /\ | || \
| \(/_| | || /--\| \| \|/--\|_||_/
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:44 PDT