[osg-users] StateSet bin mode

2008-01-10 Thread Paul Martz
Hi Robert -- The bin mode parameter of setRenderBinDetails doesn't appear to be clearly documented. Looking into it, it's somewhat confusing. I'm hoping you can tell me what affect one should expect when setting one of INHERIT_RENDERBIN_DETAILS (default), USE_RENDERBIN_DETAILS, or OVERRIDE_RENDERBI

Re: [osg-users] StateSet bin mode

2008-01-10 Thread Tim Moore
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Martz wrote: | Hi Robert -- The bin mode parameter of setRenderBinDetails doesn't appear to | be clearly documented. Looking into it, it's somewhat confusing. I'm hoping | you can tell me what affect one should expect when setting one of | INHERIT

Re: [osg-users] StateSet bin mode

2008-01-10 Thread Paul Martz
> Stare hard at CullVisitor::pushStateSet :) Been there. :-) But with the info you've provided, perhaps a second stare is in order. Thanks. -Paul ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.c

Re: [osg-users] StateSet bin mode

2008-01-10 Thread Paul Martz
Thanks, Tim -- Now that I've had a closer look, let me regurgitate what you said. Tell me if it seems I'm missing something. CullVisitor encounters a Node, and it's StateSet bin mode is: - INHERIT: The CullVisitor does not change the current RenderBin, and continues traversal. - Not INHERIT (and

Re: [osg-users] StateSet bin mode

2008-01-11 Thread Robert Osfield
Hi Paul and Tim, First thanks to Tim for being me to it, and providing a clearer explanation. Truth be told I would have to review the source code to be doubly sure :-) Paul, you explanation below looks reasonable to be. A few things I'd add are: o OVERRIDE is effectively an instruction to

Re: [osg-users] StateSet bin mode

2008-01-11 Thread Robert Osfield
On Jan 11, 2008 4:46 PM, Wojciech Lewandowski <[EMAIL PROTECTED]> wrote: > Hi, > > >>o OVERRIDE is effectively an instruction to ignore an > >> attempts of StateSet below it to set RenderBin's. > > > > Understood. Can you give me an example of why someone would want to do > > this? > > Pardon m

Re: [osg-users] StateSet bin mode

2008-01-11 Thread Wojciech Lewandowski
Hi, >>o OVERRIDE is effectively an instruction to ignore an >> attempts of StateSet below it to set RenderBin's. > > Understood. Can you give me an example of why someone would want to do > this? Pardon me, to step into this discussion but I think I have a situation where renderBin override

Re: [osg-users] StateSet bin mode

2008-01-11 Thread Paul Martz
Thanks for the info, Robert. >o OVERRIDE is effectively an instruction to ignore an > attempts of StateSet below it to set RenderBin's. Understood. Can you give me an example of why someone would want to do this? >o USE says to either use the RenderBinDetails to create a > new RenderBi