Changeset 955 for GTP/trunk/Lib/Vis/OnlineCullingCHC
- Timestamp:
- 05/12/06 18:36:52 (19 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreOcclusionCullingSceneManager.cpp
r951 r955 1120 1120 mViewCellsManager->DeleteLocalMergeTree(viewCell); 1121 1121 } 1122 #if 0 1122 1123 //------------------------------------------------------------------------- 1123 1124 void OcclusionCullingSceneManager::TestVisible(SceneNode *node) … … 1151 1152 } 1152 1153 } 1153 1154 1154 #endif 1155 1155 //----------------------------------------------------------------------- 1156 1156 const String OcclusionCullingSceneManagerFactory::FACTORY_TYPE_NAME = "OcclusionCullingSceneManager"; -
GTP/trunk/Lib/Vis/OnlineCullingCHC/src/CoherentHierarchicalCullingManager.cpp
r938 r955 31 31 //if (mHierarchyInterface->GetQueue()->empty()) 32 32 // Ogre::LogManager::getSingleton().logMessage("distance queue empty!!"); 33 bool resultAvailable = false; 33 34 34 // only wait for result if there are no nodes to process35 //-- only wait for result if there are no nodes to process 35 36 while (!queryQueue.empty() && 36 37 37 queryQueue.front().second->GetQueryResult(visiblePixels, 38 mHierarchyInterface->GetQueue()->empty())) 38 39 { 40 41 /*while (!queryQueue.empty() && 42 ((resultAvailable = queryQueue.front().second->GetQueryResult(visiblePixels, false)) || 43 mHierarchyInterface->GetQueue()->empty())) 44 { 45 if (!resultAvailable) visiblePixels = 0;//1e20; // render if result not available 46 */ 39 47 HierarchyNode *node = queryQueue.front().first; 40 48 41 49 queryQueue.pop(); 42 50 43 51 if (visiblePixels > mVisibilityThreshold) 44 52 {
Note: See TracChangeset
for help on using the changeset viewer.