Transparent textures on an IMPACT

New Message Reply Date view Thread view Subject view Author view

Roy Ruddle (Ruddle++at++cardiff.ac.uk)
Fri, 3 Jul 1998 10:39:31 +0100 (BST)


Hi there,

I'm trying to convert some of my s/w from PF1.2 (running on a Crimson RE)
to PF2.2 (running on a MaxIMPACT).

Some of my textures need to be rendered transparently (e.g., trees) but
the global override that I set of PF1.2 doesn't work.

In my OpenPipeWin() func I have the lines:
...
pfTransparency( PFTR_ON );
pfAlphaFunc( 100.0f/255.0f, PFAF_GREATER );
pfOverride( PFSTATE_TRANSPARENCY, PF_ON );
...

but this render's my textures as if they had no transparency values (they
are RGBA and are the exact same textures as work fine on the RE with
PF1.2)

Can anyone shed some light on this?

many thanks

roy

=======================================================================
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:57:40 PDT

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