Hi Robert, On Fri, Oct 1, 2010 at 9:41 AM, Robert Osfield <[email protected]>wrote:
> Hi Javier, > > On Thu, Sep 30, 2010 at 6:54 PM, Javier Taibo <[email protected]> > wrote: > > I searched the list and the web but I couldn't found any reference to > this > > fact. I was wondering the reason to remove it, just pure curiosity :) > > Is it not the recommended way to define RenderBins anymore? > > In RenderBin there is now a static method: > > static void addRenderBinPrototype(const std::string& binName,RenderBin* > proto); > > Which you call : > > RenderBin::addRenderBinPrototype("MyRenderBinName",new MyRenderBin); > Thanks for the answer. Actually, it was the method called by the proxy class RegisterRenderBinProxy. It is not indispensable, but was an easy method to automatically register RenderBin's. Anyway, it can be easily solved including the proxy in my code :) Cheers!
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

