Re: IR./PF support for index or palette texture

New Message Reply Date view Thread view Subject view Author view

Rémi Arnaud (remi++at++remi.asd.sgi.com)
Tue, 25 Feb 1997 20:24:34 -0800 (PST)


Mark Mueller wrote:
>
> I have a sim application where I want to use palette texture on an
> Infinite Reality. I have heard that IR. supports a 256 bit paletted
> texture and have also seen the palette texture extension for OGL. Does
> anyone have any suggestions for how I can activate this mode and animate
> my texture based palette etc. on an IR.? Thank You.
>

 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


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:44 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.