-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Argentieri, John-P63223 wrote:
> Robert,
> 
> We are using getOrCreateStateSet()->setRenderBinDetails. What we have is
> this:
> 
> osg::group1->osg::group2->osg::group3->osg::geode->osg::geometry, where
> group3 contains multiple geode->geometry children.
> 
> group3 has setRenderBinDetails called without specifying
> INHERIT_RENDERBIN_DETAILS,
> Which means it is setting to USE_RENDERBIN_DETAILS by default, correct?
> 
> geode has setRenderBinDetails called, specifying
> INHERIT_RENDERBIN_DETAILS.
> 
> None of the other stuff has renderbin details set in the statesets,
> HOWEVER, there may be other statesets in the chain that do exist (I call
> getOrCreate). Maybe they all exist regardless of whether I call
> getOrCreate, but I am not sure of this.
> 
> The geode/geometry subtrees also have a texture associated with them.
> They also have GL_DEPTH_TEST disabled, so that we should see the most
> recently drawn (highest renderbin #) when two geometries overlap or
> would normally conceal one another. This is not what's happenning
> however. Any ideas why this might be the case? I have been over the code
> and I'm quite sure that I've described the situation more accurately.

If you want the geodes to be drawn in a relative order, you have to 
setRenderBinDetails
on them too, with the appropriate number in the order. It doesn't sound like 
you're
doing that.

Tim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHYrHBeDhWHdXrDRURAq0qAKDEB9PWXr85UIIdR6own7bIQTfA+QCg3ovt
XfwXEcua0KfRfP4X/M5paIc=
=vFy+
-----END PGP SIGNATURE-----
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to