Greetings All,
I added a CullCallback to the camera of a view. I found it was not
getting hit. After much searching I believe it is due to the
implementation in the SceneView:
Specifically at line 957:
// traverse the scene graph to generate the rendergraph.
for(unsigned int childNo=0;
childNo<_camera->getNumChildren();
++childNo)
{
_camera->getChild(childNo)->accept(*cullVisitor);
}
Is there a reason that it is simply not replace that whole section of
code with the following?
_camera->accept(*cullVisitor);
Shouldn't the main camera be culled?
I'm somewhat inclined to think so.
I'd appreciate any feedback on why this may not be the case.
-Regards,
Colin Branch
--
Colin Branch
VT MAK
work: (617) 876-8085 Ext. 159
email: [email protected]
--
Colin Branch
VT MAK
work: (617) 876-8085 Ext. 159
email: [email protected]
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org