Changeset 2281 for GTP/trunk/Lib/Vis/OnlineCullingCHC/src
- Timestamp:
- 03/22/07 18:51:14 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/src/RandomUpdateCullingManager.cpp
r2280 r2281 33 33 ///////////// 34 34 //-- PART 1: process finished occlusion queries 35 CullingLogManager::GetSingleton()->LogMessage("here55");35 36 36 while (!mHierarchyInterface->GetQueue()->empty() || !queryQueue.empty()) 37 37 { … … 111 111 { 112 112 if (mHierarchyInterface->IsNodeVisible(node)) 113 Ogre::LogManager::getSingleton().logMessage("u");113 CullingLogManager::GetSingleton()->LogMessage("u"); 114 114 else 115 Ogre::LogManager::getSingleton().logMessage("g");115 CullingLogManager::GetSingleton()->LogMessage("g"); 116 116 } 117 117 118 118 if (mHierarchyInterface->IsNodeFullyVisible(node)) 119 {Ogre::LogManager::getSingleton().logMessage("here8"); 119 { 120 CullingLogManager::GetSingleton()->LogMessage("here8"); 120 121 // node fully visible => test only random leaves 121 122 for (int i = 0; i < mRandomCandidates; ++ i) 122 123 { 123 Ogre::LogManager::getSingleton().logMessage("z");124 CullingLogManager::GetSingleton()->LogMessage("z"); 124 125 HierarchyNode *randomLeaf = mHierarchyInterface->GetRandomLeaf(node); 126 CullingLogManager::GetSingleton()->LogMessage("c"); 127 if (!randomLeaf) 128 continue; 125 129 126 130 mHierarchyInterface->SetNodeVisible(randomLeaf, false); … … 133 137 mHierarchyInterface->IssueNodeOcclusionQuery(node))); 134 138 139 CullingLogManager::GetSingleton()->LogMessage("a"); 135 140 mHierarchyInterface->TraverseNode2(node); 141 CullingLogManager::GetSingleton()->LogMessage("b"); 136 142 } 137 143
Note: See TracChangeset
for help on using the changeset viewer.