Thanks, Tim -- Now that I've had a closer look, let me regurgitate what you
said. Tell me if it seems I'm missing something.

CullVisitor encounters a Node, and it's StateSet bin mode is:

- INHERIT: The CullVisitor does not change the current RenderBin, and
continues traversal.

- Not INHERIT (and no parent Node's StateSet had bin mode set to OVERRIDE):
In this case, the CullVisitor creates (or reuses, if already created) a new
RenderBin using the StateSet's bin number and name, then continues
traversal.

- OVERRIDE: The CullVisitor increments a counter to indicate that a parent
Node's StateSet had bin mode OVERRIDE, then it continues traversal.

Users should use INHERIT to have Drawables stored in the current RenderBin.
Users should use USE or OVERRIDE to create a new RenderBin or change to a
RenderBin previously created. The reason you'd want to use OVERRIDE is to
suppress creation or switching to different RenderBins in the subgraph.

Hm. Interesting. Let me sleep on this now and grow a few neural connections.

Paul Martz
Skew Matrix Software LLC
http://www.skew-matrix.com
303 859 9466

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to