Re: [osg-users] RenderBin understanding

2008-11-03 Thread Wang Rui
Hi Peter, what I'm asking: -if an object has a parent osg::Group that has been set to RenderBin with a value of 10 and the object itself uses RenderBin with a value of 20 then which is used? I think the object should be rendered after its parent, no matter whose bin number is greater,

Re: [osg-users] RenderBin understanding

2008-11-03 Thread Peter Wraae Marino
thanks, this helped. the nested makes perfect sense.. i'm on track again, once again thanks, peter On Mon, Nov 3, 2008 at 3:06 PM, Lionel Lagarde [EMAIL PROTECTED]wrote: Hi Peter, Peter Wraae Marino wrote: Hi Users, trying to clarify some specs on the renderbin, perhaps someone could

Re: [osg-users] RenderBin understanding

2008-11-03 Thread Jeremy Moles
Whoops, forgot to attach. MONDAY... *sigh* On Mon, 2008-11-03 at 09:48 -0500, Jeremy Moles wrote: Here's a quick example you can use to play around with RenderBin settings; notice how you can make one object appear on top of another, just by changing the binNum. I'm not sure if this is a

Re: [osg-users] RenderBin understanding

2008-11-03 Thread Lionel Lagarde
Hi Peter, Peter Wraae Marino wrote: Hi Users, trying to clarify some specs on the renderbin, perhaps someone could help: whatI'm assuming: -there are two default renderbins created at startup "RenderBin" and "DepthSortedBin" -"DepthSortedBin" is always render after

Re: [osg-users] RenderBin understanding

2008-11-03 Thread Jeremy Moles
Here's a quick example you can use to play around with RenderBin settings; notice how you can make one object appear on top of another, just by changing the binNum. I'm not sure if this is a worth examples addition, but perhaps. On Mon, 2008-11-03 at 15:19 +0100, Peter Wraae Marino wrote:

Re: [osg-users] RenderBin understanding

2008-11-03 Thread Paul Martz
The way I've come to look at RenderBins... The bin details are instructions to the CullVisitor. As the CullVisitor walks your scene graph during the cull traversal, it uses these values to build a render graph. (You could say, then, that the structure of this render graph is specified or implied