On Mon, May 11, 2009 at 3:03 PM, Nathan Monteleone
<[email protected]> wrote:
>
> robertosfield wrote:
>>
>> ---snip---
>>
>> In your case it's like StateSet::setRenderBinDetails(..) is all that
>> you'll need.  See the osgreflect example.
>>
>> Robert.
>
>
> Thanks for the overview of Camera/RenderBin/RenderStage. I've always had a 
> hard time getting a solid picture of those in my head.
>
> However, using setRenderBinDetails seems problematic in my admittedly quirky 
> case, because I'm going to need two new render bins for each object I render 
> with this technique.  I need to make sure the two steps happen one after the 
> other without anything else being drawn in between.
>
> The more I talk about it the more it sounds like I just need to write a 
> custom drawable...  Any thoughts on that approach?

The OSG will just create a single rendering bin for each bin number
you use, RenderBinDetails just selects between them so there should be
no need for every object you render having it's own bin.

Using a custom drawable would very rarely be required for this type of work.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to