Sharon Clay (src++at++rose.asd.sgi.com)
Thu, 16 May 1996 18:34:15 -0700
This should work - the PFTR_HIGH_QUALITY will enable
blending and the PFTR_NO_OCCLUDE will keep us from writing the
zvalues that can potentially cause the coplanar fighting you
complain about.
->What I wanted to do was to try the GL blendfunction() with
->arguments BF_SA and BF_MSA, but this is not possible with the
->PFTR_HIGH_QUALITY token, which is a must for us.
PFTR_HIGH_QUALITY does PFTR_BLEND_ALPHA which will
do blendfunction(BF_SA, BF_MSA) when the pfGeoState is applied.
If you want yet a different blend function, you can put it in
a pre-draw function for the pfGeoState via pfGStateFuncs().
You might also want to use pfAlphaFunc to prevent pixels of very
low alpha values from being written - just to help speed things up
a bit.
src.
--
-----{-----{---++at++ -----{----{---++at++ -----{----{---++at++ -----{----{---++at++
Sharon Rose Clay (Fischler) - Silicon Graphics, Advanced Systems Dev.
src++at++sgi.com (415) 933 - 1002 FAX: (415) 965 - 2658 MS 8U-590
-----{-----{---++at++ -----{----{---++at++ -----{----{---++at++ -----{----{---++at++
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:54 PDT