Hi Bob,

Calling

    osgUtil::RenderBin::addRenderBinProptotype("mybin",new MyRenderBin);

Should be sufficient.
Robert.


On 24 April 2013 15:44, Bob Smith <[email protected]> wrote:

> Hi,
>
> I try to use a library which is made for osg 2.8 and uses the method
> osgUtil::RegisterRenderBinProxy to register a new renderbin. This is not
> supported anymore in OSG 3, as I see, a replacement would be
> osgUtil::addRenderBinPrototype, but I can't get it working. What is the
> proper way of using this functionality? The orignial code was this:
>
>
> Code:
> osgUtil::RegisterRenderBinProxy
> s_registerRenderBinProxy("HapticRenderBin",new
> HapticRenderBin(osgUtil::RenderBin::getDefaultRenderBinSortMode()));
>
>
>
> Thank you!
>
> Cheers,
> Bob
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=53786#53786
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to