pfLightColor() Unknown color token
Erik Brisson (ebrisson++at++lobster.bu.edu)
Wed, 29 Jan 97 10:16:40 EST
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:
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
I am running Performer 2.0 (with the 2.0.2 patches, and the 2.0.1 exec env)
on an Onyx with RE2, IRIX 6.2
Thank you,
Erik
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.
=======================================================================
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