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);
Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org