- Timestamp:
- 03/22/07 18:24:13 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/src/RandomUpdateCullingManager.cpp
r2278 r2280 1 1 #include "RandomUpdateCullingManager.h" 2 #include <OgreLogManager.h> 2 #include <time.h> 3 #include "CullingLogManager.h" 4 3 5 4 6 namespace GtpVisibility { … … 31 33 ///////////// 32 34 //-- PART 1: process finished occlusion queries 33 35 CullingLogManager::GetSingleton()->LogMessage("here55"); 34 36 while (!mHierarchyInterface->GetQueue()->empty() || !queryQueue.empty()) 35 37 { … … 113 115 Ogre::LogManager::getSingleton().logMessage("g"); 114 116 } 115 117 116 118 if (mHierarchyInterface->IsNodeFullyVisible(node)) 117 119 {Ogre::LogManager::getSingleton().logMessage("here8"); … … 183 185 mThreshold = RAND_MAX; 184 186 } 185 //std::stringstream d; d << "*** setting assumed vis: " << mAssumedVisibility; Ogre::LogManager::getSingleton().logMessage(d.str()); 187 186 188 } 187 189 //----------------------------------------------------------------------- 188 190 inline bool RandomUpdateCullingManager::DecideVisible(HierarchyNode *node) const 189 191 { 190 //bool result = rand() < mThreshold; std::stringstream d; d << "Assumed vis: " << mAssumedVisibility << ", result: " << result;191 //Ogre::LogManager::getSingleton().logMessage(d.str()); return result;192 193 192 return rand() < mThreshold; 194 193 }
Note: See TracChangeset
for help on using the changeset viewer.