Timothy Moore (moore++at++WOLFENET.com)
Wed, 29 Jan 1997 09:29:51 -0800 (PST)
I get these errors:
PF Warning/Usage: pfLightColor() Unknown color token 4608.
PF Warning/Usage: pfLightColor() Unknown color token 4609.
PF Warning/Usage: pfLightColor() Unknown color token 4610.
>From these calls:
camlightsource = pfNewLSource();
pfLSourceColor(camlightsource, PFLT_AMBIENT, 0.2f, 0.2f, 0.2f);
pfLSourceColor(camlightsource, PFLT_DIFFUSE, 1.0f, 1.0f, 1.0f);
pfLSourceColor(camlightsource, PFLT_SPECULAR,1.0f, 1.0f, 1.0f);
Can anyone tell me what I am doing wrong? Not getting some shared library,
perhaps? (In case that is the problem, here is my link line:
It looks like you're including OpenGL header files in your IrisGL
application. Do you have IRISGL #defined?
cc -O -32 -o buidesk buideskMain.o -L/usr/local/CAVE/lib -lpfcave_igl -L/usr/lib -L/usr/lib/libpfdb -L/lib -all -ignore_unresolved -lpf_igl -lpfdu_igl -lpfui -lpfutil_igl -limage -lfm -lgl -lXm -lXt -lXirisw -lfpe -lXmu -lX11 -lm -lmalloc -lC
P.s. I did find a possible clue:
parameter ( GL_AMBIENT = 4608 )
in /usr/include/GL/fgl.h. But this seems a strange place to be getting stuff
from.
in GL/gl.h GL_AMBIENT is defined to be 0x1200 which equals... 4608.
Tim
=======================================================================
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:29 PDT