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 me, to step into this discussion but I think I have a situation where > renderBin override could become useful. I hope Robert will verify this as > reasonable scenario. > > I think for performance reasons it could be useful to turn OVERRIDE to > render all geometry into one unsorted bin for faster ShadowMap generation. > ShadowMap contains only depths so using render bins for transparency sorting > may not change anything. Does it make sense ?
Yep this is a reasonable usage of OVERRIDE, although one would have to be careful to use so a heavy handed approach, for most scene graphs it'd probably work fine. Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org