Re: [osg-users] Get RenderBinDetails

2017-05-29 Thread Bruno Oliveira
Thank you. Didn't realize the bin number was the same of bin details. 2017-05-24 11:43 GMT+01:00 Robert Osfield : > Hi Bruno, > > From the include/osg/StateSet header: > > /** Set the render bin details.*/ > void setRenderBinDetails(int binNum,const std::string& > binName,RenderBi

Re: [osg-users] Get RenderBinDetails

2017-05-24 Thread Robert Osfield
Hi Bruno, >From the include/osg/StateSet header: /** Set the render bin details.*/ void setRenderBinDetails(int binNum,const std::string& binName,RenderBinMode mode=USE_RENDERBIN_DETAILS); ... /** Set the render bin number.*/ inline void setBinNumber(int num) { _

[osg-users] Get RenderBinDetails

2017-05-24 Thread Bruno Oliveira
Hello, in order to sort my nodes by depth, I use the following code to a node's stateset nodeStateSet->setRenderBinDetails(order, "DepthSortedBin"); where "order" is an int. Now, how do I get that value when I'm iterating over my nodes? ___ osg-users m