Colin Branch wrote:
// 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);
That's interesting. CullVisitor::apply(Camera&) is the place where the RenderStage for the Camera is created/inserted into the render graph, so I'm not sure how that works if the SceneView is explicitly skipping the top level Camera. Maybe Robert can elaborate. Perhaps the Renderer does this automatically (for osgViewer based apps).
-Paul _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

