More more occlusion culling.

This commit is contained in:
Robert Osfield
2002-06-08 19:58:05 +00:00
parent bf6bf60e21
commit 0a8d0a255f
8 changed files with 324 additions and 28 deletions

View File

@@ -715,9 +715,11 @@ void CullVisitor::apply(osg::OccluderNode& node)
{
// need to check if occlusion node is in the occluder
// list, if so disable the appropriate ShadowOccluderVolume
_modelviewCullingStack.back()->disableOccluder(_nodePath);
std::cout<<"We are in an Occlusion node"<<&node<<std::endl;
if (isCulled(node)) return;
// push the culling mode.