Hi Robert, Thanks for your comments on this.
> if you need RenderStage you can always use a dynamic_cast<> Yes, but with a stack, to retrieve the current RenderStage you have to go throught the stack and try to dynamic_cast the RenderBin until you find a RenderStage. I think this could be realy CPU consuming in some situations (a RenderStage with 10 stacked RenderBins below will need 11 dynamic_cast to retrieve the current RenderStage) Maybe we could store : - RenderBin stack - the current RenderStage pointer for quick and easy access ? > I can implement this if you want. I'm really interested ! I've got plenty of work these days ! Thank you! Cheers, Aurelien ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=55534#55534 _______________________________________________ osg-submissions mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org
