On 8/2/06, Riccardo Corsi <[EMAIL PROTECTED]> wrote:
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?

Not absolute, just relative to the custom RenderinBin parent.

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?

OVERRIDE override the RenderBin details of the objects below it in the
scene graph.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to