Robert Osfield wrote:
1) Removed osg::StateSet::ENCLOSE_RENDERBIN_DETAILS
2) Implemented support for osg::StateSet::OVERRIDE_RENDERBIN_DETAILS
in CullVisitor.
The nesting feature is part of 1.0 though, just need to set the render
bin details on the StateSet which decorates your subgraph.
Robert.
Hi Robert,
I got the RenderBin nesting to work for my app.
However I'm still a bit puzzled by the relationship between the nesting
feature and the RenderBinMode.
If a StateSet INHERIT_RENDERBIN_DETAILS (default) from above and
specifies a different bin number, this will create a nested bin.
Instead with the USE mode, the bin number is considered in "absolute"
terms, am I correct?
something like:
A (bin num 0)
|\
| \
| C (USE - bin num 1)
|
B (INHERIT - bin num 2) renders A, B (nested within bin 0), C
A (bin num 0)
|\
| \
| C (USE - bin num 1)
|
B (USE - bin num 2) renders A, C, B (follows renderbin numbers)
If this is the case, the OVERRIDE mode would just "prevent" the nesting
feature.
Did I get it?
thank you_ricky
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/