Transparent texture

New Message Reply Date view Thread view Subject view Author view

Guy Premont (silicon-worlds++at++calva.net)
Wed, 26 Feb 1997 13:37:41 +0100


Hi,

I'm porting an application that was designed with Performer 2.0.2 on an
Onyx with IRIX 5.3 to an Indigo2 Max Impact R10000 using Performer 2.1
and IRIS 6.2

Everything works right except for a thing. I'm using textures with some
transparency on one model and they don't appear the way they used to.
What should be transparent is now mostly transparent ; from a distance
the transparency appears as lines alternatively black and transparent,
and up close it is transparent but it adds some grey to the color of
what's behind. Has something changed in the use of transparent textures?
I'm just doing
        pfdBldrStateMode(PFSTATE_ALPHAFUNC, PFAF_GREATER);
        pfdBldrStateVal(PFSTATE_ALPHAREF, (128.0f/255.0f));
        pfdBldrStateMode(PFSTATE_TRANSPARENCY, PFTR_ON);
to define the GeoState of the object. What is wrong?

Thanks

Guy

===========================================
          Silicon Worlds S.A.
12, rue de Chatillon 75014 Paris France
       Tel: +33 (01) 53.90.11.11
       Fax: +33 (01) 53.90.11.12
===========================================
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


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:54:44 PDT

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