Hi Farshid, On 26 May 2015 at 23:16, Farshid Lashkari <[email protected]> wrote:
> I understand not wanting to add extra overhead. I'll look into the custom > RenderBin approach. Also, I noticed the "RenderLeaf::render" method is > virtual, but I don't see any way to provide a custom RenderLeaf class. The > creation seems to be hard-coded within CullVisitor. Was this class > originally designed to allow custom implementations? > I don't recall the exact details, but don't recall a plan to allow for custom RenderLead implementations. We a talking parts of the OSG were written over a decade ago and haven't actually been touched much since - they've just worked. My guess is that it was originally made non virtual and then made virtual by request. from the community. If CullVisitor is hardwired then having it cloning a prototype RenderLeaf would work. Robert.
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

