soraia raupp musse (soraia++at++lig.di.epfl.ch)
Wed, 12 Mar 1997 15:24:28 +0100
I have a simple question: I must create some transparence in my texture.
I want to use the alphafunc to eliminate some pixels of my texture. I've tried:
pfOverride(PFSTATE_ALPHAFUNC, PF_ON);
pfGStateMode (gstate, PFSTATE_ALPHAFUNC, PFAF_GREATER);
pfGStateVal (gstate, PFSTATE_ALPHAREF, 40.0/255.0);
Or
pfAlphaFunc(40.0/255.0, PFAF_GREATER);
But, it isn't work very well.
If you have some example, please, send me.
Thank you,
Soraia
--''' (o o) ---------oOO-------OOo------------------------------------------------------- Soraia Raupp Musse | --- PhD student --- ----------------------------------------------+------------------------------ Swiss Federal Institute of Technology | E-mail: soraia++at++lig.di.epfl.ch Computer Graphics Lab (EPFL - LIG) | Phone: +41(21) 693-6648 CH-1015 Lausanne, Switzerland | Lab: +41(21) 693-5248 http://ligwww.epfl.ch/soraia.html | Fax: +41(21) 693-5328 ----------------------------------------------+------------------------------ ProjK -- http://ligwww.epfl.ch/~soraia/ProjK.html ----------------------------------------------+------------------------------
======================================================================= 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:53 PDT