Hansong Zhang (zhangh++at++cs.unc.edu)
Tue, 2 Jul 1996 17:55:58 -0400 (EDT)
The problem is that pfCullFace() gets called implicitly (e.g. when
performer sets up GStates) with the wrong token. All the
pfCullFace related performer tokens are:
for IRISGL:
irisgl.h:#define PFCF_OFF 0
irisgl.h:#define PFCF_BACK 1
irisgl.h:#define PFCF_FRONT 2
irisgl.h:#define PFCF_BOTH 3
for OPENGL:
opengl.h:#define PFCF_OFF 0
opengl.h:#define PFCF_BACK GL_BACK
opengl.h:#define PFCF_FRONT GL_FRONT
opengl.h:#define PFCF_BOTH GL_FRONT_AND_BACK
And GL_BACK etc is defined in GL/gl.h as
#define GL_FRONT 0x0404
#define GL_BACK 0x0405
#define GL_FRONT_AND_BACK 0x0408
Thus you don't have token 1 for pfCullFace() in OpenGL. This explains
the error message you get. Possibilities include some of your object
files' being old IGL versions... etc
Hope this helps,
Hansong
-------------------------------------------------------------
Hansong Zhang \ zhangh++at++cs.unc.edu
Walkthrough Group \ http://www.cs.unc.edu/~zhangh
Department of Computer Science \ (919)962-1835 (O)
UNC-Chapel Hill \ (919)929-4851 (H)
"I create abstract systems from pure information, Albert. I'm
a *programmer*... Quantum nonlocality is a bug." -- God
-------------------------------------------------------------
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ <--new!
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:53:08 PDT