Changeset 955 for GTP/trunk/Lib/Vis/OnlineCullingCHC/src
- Timestamp:
- 05/12/06 18:36:52 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.