Re: Unknown color token for pfLightColor in Performer 2.0

New Message Reply Date view Thread view Subject view Author view

Randy Stiles (stiles++at++aic.lockheed.com)
Tue, 30 Jan 1996 10:03:07 -0800


Hi,

You need to compile with the IRISGL token defined
-DIRISGL, or the OPENGL equivalent. This determines
whether irisgl.h or opengl.h is loaded, and thus the
tokens used for geostate, geode, etc.

This is not explicitly mentioned that I could find,
but it occurs in the example perfly, etc.

Daniela Rainer wrote:
>
> Hi,
>
> I have a problem with pfLightColor:
>
> if I use
>
> pfLightColor(lt, PFLT_DIFFUSE, 1.0f, 1.0f, 1.0f);
> pfLightColor(lt, PFLT_AMBIENT, 0.4f, 0.4f, 0.4f);
>
> I get the following warning at runtime
>
> PF Warning/Usage: pfLightColor() Unknown color token 4609.
> PF Warning/Usage: pfLightColor() Unknown color token 4608.
>
> Thanks for any help
>
> Daniela
>
> --
> Daniela Rainer
> rainer++at++rus.uni-stuttgart.de

-- 
// Randy Stiles  stiles++at++aic.lockheed.com       Orgn 9620 Bldg 255
// 415.354.5256  fax: 415.354.5235             3251 Hanover Street 
// Lockheed Martin Advanced Technology Center  Palo Alto, CA 94304-1191
// http://vet.parl.com/~vet/people/stiles/

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:52:18 PDT

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