On 5/30/06, Stephan Huber <[EMAIL PROTECTED]> wrote:
Hi,

Stephan Maximilian Huber schrieb:

> stateset->setRenderBinDetails(10, "DepthSortedBin",
> osg::StateSet::OVERRIDE_RENDERBIN_DETAILS);

to answer my own question: it seems that OVERRIDE_RENDERBIN_DETAILS is
not implemented yet.

Yes, you beat me to it, OVERRIDE_RENDERBIN_DETAILS is not implementated yet.

Perhaps I can subclass CullVisitor to implement it or find another solution.

You can do it via a Cull callback - in this callback manually create
your own RenderBin add it into the current RenderBin and then make the
new one the current RenderBin, then pop this after traversal of the
subgraph.  Have a look at the existing code osg osgUtil for
inspiration.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to