Changeset 2171 for GTP/trunk/Lib/Vis/OnlineCullingCHC/src
- Timestamp:
- 02/27/07 10:25:01 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/src/CoherentHierarchicalCullingManager.cpp
r1816 r2171 25 25 unsigned int visiblePixels = 0; 26 26 27 // Ogre::LogManager::getSingleton().logMessage("chc");27 ///////////// 28 28 //-- PART 1: process finished occlusion queries 29 29 30 while (!mHierarchyInterface->GetQueue()->empty() || !queryQueue.empty()) 30 31 { -
GTP/trunk/Lib/Vis/OnlineCullingCHC/src/StopAndWaitCullingManager.cpp
r925 r2171 13 13 14 14 // interesting for visualization purpose 15 mHierarchyInterface->SetNodeVisible(node, false); 16 mHierarchyInterface->SetLastVisited(node, mHierarchyInterface->GetFrameId()); 15 if (mVisualizeCulledNodes) 16 { 17 mHierarchyInterface->SetNodeVisible(node, false); 18 mHierarchyInterface->SetLastVisited(node, mHierarchyInterface->GetFrameId()); 19 } 17 20 18 21 bool intersects = false; … … 30 33 else if (intersects) 31 34 { 32 mHierarchyInterface->SetNodeVisible(node, true); 35 if (mVisualizeCulledNodes) 36 { 37 mHierarchyInterface->SetNodeVisible(node, true); 38 } 39 33 40 mHierarchyInterface->TraverseNode(node); 34 41 } … … 42 49 43 50 // node visible 44 if ( 0 ||visiblePixels > mVisibilityThreshold)51 if (visiblePixels > mVisibilityThreshold) 45 52 { 46 53 mHierarchyInterface->TraverseNode(node);
Note: See TracChangeset
for help on using the changeset viewer.