Re: [info-performer] bins

Date view Thread view Subject view Author view

From: Alexej Fink (alexejfink++at++gmx.net)
Date: 08/26/2005 10:56:09


That is was I assumed - shared bins. So it seems, that managing the bins
by channels is a wrong design decision - at least, it seems so. If all
possible bins should be shared, a (singleton?) bin-manager should be
created, otherwise pfScene would be a good place to manage them
(independet bins pro scene-graph). IMHO.

Furthermore I'm also missing a function like insertBin (at-certain-order):
Assume U want to place some bins with opacue geometry before the
transparency bins. That is possible by moving the default transparency
bin to a new greater order (as done in bins.C example). BUT what is to
the possible other transparen bins - that are not known to me? are they
then missplaced between opacue bins (or maybe complete overwritten -
docu doesn't say here anything - if I remeber rightly)

anyway - I guess needed changes to performer (at least to the docu - in
case I missundestood how things works) will not be made next time ?

Alexej

Rick van Haasen wrote:

>Alexej,
>
>in the manuals it is indeed not mentioned how the bins are managed by the channels.
>The fact that you have to query a channel for a free bin does suggest that each channel
>manages its own bins. This would be strange, because binning is just a way to efficiently store
>geometry that is defined by the scene. Its the task of the channel to cull & draw the bins.
>As such the bins should be independent of the channel (i would think).
>
>By experimenting (on an Onyx) i discoverd that the bins are shared: You
>ask one channel for the free bins. All defined channels will use the bins (which you use to "store"
>geometry). I did specify the binorder for each channel.
>
>Rick
>
>owner-info-performer++at++performer.engr.sgi.com wrote on 2005-08-26 15:29:32:
>
>
>
>>hello,
>>
>>I try to do multipass-rendering with pfShaderProgram, and will use bins to sort the passes.
>>
>>on a setup with multiple channels - how should the bins be registered to
>>them:
>>- all channels separately?
>>- on only one channel? (are they shared)
>>
>>===============================================================
>>
>>I want to use this all with avango, but I cannot access channel from avango runtime:
>>
>>is there a reason why bins are managed by pfChannel instead of the
>>scene-graph?
>>
>>
>>===============================================================
>>
>>is there a performer-revision on the way, that will support multipass
>>shading (OpenGL-shader)?
>>
>>
>>Thank U in advance...
>>
>>Alexej
>>
>>
>>
>
>
>
>


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Fri Aug 26 2005 - 10:56:14 PDT