Hi Jannik, Thank you very much. This is exactly what I was looking for. For some reason I thought that only "RenderBin" and "DepthSortedBin" were possible, and I didn't find the right lines in the source code.
Thanks for your help ! Cheers, Pierre-Jean scrawl wrote: > Hi Pierre-Jean, > > put your objects in the SORT_FRONT_TO_BACK render bin. > > stateset->setRenderBinDetails(binNumber, "SORT_FRONT_TO_BACK"); > > Ensure that this particular binNumber is only used for objects you want > sorted front to back, so that the render bin can be created correctly. > > The render bin prototypes provided by default in OSG are documented here: > https://github.com/openscenegraph/osg/blob/master/src/osgUtil/RenderBin.cpp#L35 > > Cheers, > Jannik ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=65766#65766 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org