Mario Veraart (rioj7++at++fel.tno.nl)
Mon, 25 May 1998 23:26:59 +0200 (MET DST)
I have tried to use bins to draw the geometry in the order I want.
For this I replaced the call to pfDraw() with
pfDrawBin(PFSORT_OPAQUE_BIN);
pfDrawBin(PFSORT_TRANSP_BIN);
The scene consists of a few cubes. Some of them are transparent others
are opaque. Every geoset has a geostate and the bins are explicitly
set to the opaque bin or transparent bin.
When I use pfDraw I see the complete scene. When using the two calls
to replace pfDraw I only see the cubes that are transparent.
if I add the call
pfDrawBin(-1);
The opaque geometry is drawn as wanted.
The channel traversal mode is the default, so it should contain
PFCULL_SORT.
Is this the normal behaviour?
When I add two bins to the channel and put my geometry in them and
call pfDrawBin() with these two numbers the geometry is drawn ok.
I don't need to call pfDrawBin(-1).
Mario Veraart
=======================================================================
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:57:26 PDT