Ren-Jye Yu (renjye++at++python.tamu.edu)
Mon, 17 Mar 1997 02:21:07 -0600
When I compile my program, I get the following warning message :
PF Warning/Usage: pfGeoStatgstate::setAttr() Unknown attribute 1.
PF Warning/Usage: pfGeoState::setMode of PFSTATE_ALPHAREF is
obsolete -- use pfGStateVal with float in [0,1].
I set the pfGeoState in the following way :
gstate = pfNewGState(pfGetSharedArena());
pfGStateMode(gstate, PFSTATE_CULLFACE, PFCF_OFF);
pfGStateMode(gstate, PFSTATE_ENTEXTURE, 1);
pfGStateMode(gstate, PFSTATE_ALPHAREF, PFAF_NOTEQUAL);
pfGStateVal(gstate, PFSTATE_ALPHAREF, 0.0f);
pfGStateAttr(gstate, PFSTATE_ENLIGHTING, 0);
pfGStateAttr(gstate, PFSTATE_TEXENV, tev);
pfGStateAttr(gstate, PFSTATE_TEXTURE, tex);
Do you think what is the problem? I will appreciate any help you can give me.
--______________________________________________________________________________
("`-''-/").___..--''"`-._ Ren-Jye Yu `6_ 6 ) `-. ( ).`-.__.`) Email :renjye++at++python.tamu.edu (_Y_.)' ._ ) `._ `. ``-..-' Phone(O) :(409) 845-0729 _..`--'_..-_/ /--'_.' ,' (H) :(409) 691-8570 (il),-'' (li),' ((!.-' Address :Aerospace Engineering Department H.R. Bright Building Texas A&M University College Station 77840-3141 _______________________________________________________________________________
======================================================================= 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:54 PDT