OK, good optimization :) So Maybe using the "apply" function is only a good point when defining custom visitors, no ?
Due to the updateVisitor behavior, seems that it's better using NodeCallbacks on predefined visitors... is it correct ? Where do you think I can find info about visitors application order in OSG ? I'm looking from the OcclusionQueryNode.cpp coming from you, and just to understand OSG design, could it possible to create an "apply" function in your node instead of create an "accept" one in the CullVisitor.cpp ? Just to know if when I create my own nodes, I must modify the cullvisitor.cpp because is not a good point for me. Thanks Eric ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=17040#17040 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

