Re: Help with pfDrawBin

New Message Reply Date view Thread view Subject view Author view

Rémi Arnaud (remi++at++remi.asd.sgi.com)
Wed, 30 Apr 1997 20:52:12 -0700 (PDT)


Scott A Rothermel wrote:
>
> Performer users:
> I am trying to use Bins to customize the rendering order of
> various geometry in my scene tree to avoid some flimmering problems. I
> put several GeoSets (representing a starfield) in DrawBin 2. In the draw
> callback I explicitly draw Bin 2, followed by a z-buffer clear, and then
> I draw the default PFSORT_OPAQUE_BIN and PFSORT_TRANSP_BINs.
> The problem is that despite my best efforts, the GeoSets are ending up
> in the PFSORT_TRANSP_BIN instead of Bin 2. I have tried using different bin
> numbers, but they don't fix the problem. When I don't specify a
> particular bin, the cull process places the GeoSets in the
> PFSORT_OPAQUE_BIN. (I determine which bin they are in by selectively
> calling the specific pfDrawBin)
> Here is a basic flow of the calls I am making
>
 It should work. Do you have the performer patches installed ?

 Note that the bin #2 is the LightPoint Bin in 2.2, and there will
 be a pfGetChanFreeBin(chan) that will give you the next available
 bin for the current channel.

    _ / _ _
|_) _ ._ _ o /\ |_)|\ | /\ | || \
| \(/_| | || /--\| \| \|/--\|_||_/
                                           
=======================================================================
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:55:08 PDT

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