On 8/21/06, Thrall, Bryan <[EMAIL PROTECTED]> wrote:
I suspect that Optimizer::MergeGeometryVisitor should be checking
whether or not Drawables pass isOperationPermissibleForObject(), but it
doesn't look like it is doing that (from code inspection, at least). It
also doesn't look like the
isOperationPermissibleForObjectImplementation() code checks for the
presence of StateSets on the Drawables.

You definitely shouldn't have to create Geode subclasses just to avoid
this kind of merging, IMHO.

isOperationPermissibleForObject() should be the mechanism used to
disable certain objects from being optimized, so in this case it
should be a case of tweaking MergeGeometryVisitor to do this check on
the Geode and all of the geometries that are contained within it.

Right now Stephen should be able to get things to work by disabling
the optimization of the geode above the geometries in question.

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

Reply via email to