Re: Transparency

New Message Reply Date view Thread view Subject view Author view

yuri++at++casa-de.es
Tue, 5 Dec 95 11:29:26 -0800


Hi Ion,

I had the same problem some time ago, and worked it out setting
    pfMtlColorMode(temp, PFMTL_FRONT, PFMTL_CMODE_COLOR);
    pfMtlColorMode(temp, PFMTL_BACK, PFMTL_CMODE_COLOR);
    pfMtlAlpha(temp, glm->alpha);
in the material used for the transparent geometry -- this will work
only if you enable lighting.

Regards,
Yuri.

_________________________________________________________________________________

  _/_/_/_/ _/ _/_/_/_/ _/ Juan R. "Yuri" Saenz-Diez
  _/ _/_/ _/ _/_/
  _/ _/ _/ _/_/_/_/ _/ _/ C.A.S.A - E S P A C I O -
  _/ _/_/_/_/ _/ _/_/_/_/ Av. de Aragon, 404
  _/_/_/_/ _/ _/ _/_/_/_/ _/ _/ 28022 Madrid - Spain
  
                    _/_/
               _/_/ _/_/ Tel: (34 1) 585 78 17
           _/_/ --o-- _/_/ Fax: (34 1) 747 47 99
               _/_/ _/_/ Tlx: 48540 CASA-E
                    _/_/
                                                   E-mail yuri++at++inf.casa-de.es
_________________________________________________________________________________


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:06 PDT

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