Simon Gerblich (simong++at++acres.com.au)
Wed, 05 Aug 1998 11:31:46 +0930
I can not work out how to use the Color indexing mode
in Performer.
It is easy in OpenGL to use a 12 bit color table.
ie
glBegin(GL_TRIANGLES);
{
glIndexf(0);
glVertex3f( 1.0, 1.0, 0.0);
glIndexf(100);
glVertex3f( 1.0,-1.0, 0.0);
glIndexf(200);
glVertex3f(-1.0,-1.0, 0.0);
}
Could someone show me how to create a simple triangle
in Performer with a different color index on each
vertex.
Thank you
Simon Gerblich
=======================================================================
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 Tue Aug 11 1998 - 13:42:34 PDT