Changeset 2289 for GTP/trunk/Lib/Vis
- Timestamp:
- 03/23/07 18:43:02 (18 years ago)
- Location:
- GTP/trunk/Lib/Vis/OnlineCullingCHC
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgreOcclusionCullingSceneManager.cpp
r2283 r2289 322 322 LogManager::getSingleton().logMessage("Using stop and wait algorithm"); 323 323 } 324 else if (val == "RUC") 325 { 326 algorithm = 327 GtpVisibility::VisibilityEnvironment::RANDOM_UPDATE_CULLING; 328 329 LogManager::getSingleton().logMessage("Using random update culling"); 330 } 324 331 else if (val == "VFC") 325 332 { -
GTP/trunk/Lib/Vis/OnlineCullingCHC/include/VisibilityEnvironment.h
r2278 r2289 23 23 enum CullingManagerType {COHERENT_HIERARCHICAL_CULLING, 24 24 FRUSTUM_CULLING, 25 RANDOM_UPDATE_CULLING, 25 26 STOP_AND_WAIT_CULLING, 26 27 NUM_CULLING_MANAGERS}; -
GTP/trunk/Lib/Vis/OnlineCullingCHC/scripts/terrainCulling.cfg
r2256 r2289 3 3 # 4 4 5 OnlineCullingAlgorithm=CHC 5 OnlineCullingAlgorithm=RUC 6 #OnlineCullingAlgorithm=CHC 6 7 #OnlineCullingAlgorithm=SWC 7 8 #OnlineCullingAlgorithm=VFC -
GTP/trunk/Lib/Vis/OnlineCullingCHC/src/CoherentHierarchicalCullingManager.cpp
r2288 r2289 24 24 void CoherentHierarchicalCullingManager::RenderScene() 25 25 { 26 //CullingLogManager::GetSingleton()->LogMessage("chc");26 CullingLogManager::GetSingleton()->LogMessage("chc"); 27 27 QueryQueue queryQueue; 28 28 unsigned int visiblePixels = 0; -
GTP/trunk/Lib/Vis/OnlineCullingCHC/src/FrustumCullingManager.cpp
r2280 r2289 1 1 #include "FrustumCullingManager.h" 2 #include "CullingLogManager.h" 2 3 3 4 … … 7 8 void FrustumCullingManager::RenderScene() 8 9 { 10 CullingLogManager::GetSingleton()->LogMessage("vfc"); 11 9 12 while (!mHierarchyInterface->GetQueue()->empty()) 10 { ;13 { 11 14 HierarchyNode *node = mHierarchyInterface->GetQueue()->top(); 12 15 mHierarchyInterface->GetQueue()->pop(); -
GTP/trunk/Lib/Vis/OnlineCullingCHC/src/RandomUpdateCullingManager.cpp
r2287 r2289 29 29 void RandomUpdateCullingManager::RenderScene() 30 30 { 31 //CullingLogManager::GetSingleton()->LogMessage("random");31 CullingLogManager::GetSingleton()->LogMessage("ruc"); 32 32 33 33 QueryQueue queryQueue; -
GTP/trunk/Lib/Vis/OnlineCullingCHC/src/StopAndWaitCullingManager.cpp
r2280 r2289 1 1 #include "StopAndWaitCullingManager.h" 2 2 #include "CullingLogManager.h" 3 3 4 4 namespace GtpVisibility { … … 7 7 void StopAndWaitCullingManager::RenderScene() 8 8 { 9 CullingLogManager::GetSingleton()->LogMessage("swc"); 10 9 11 while (!mHierarchyInterface->GetQueue()->empty()) 10 12 { -
GTP/trunk/Lib/Vis/OnlineCullingCHC/src/VisibilityManager.cpp
r2287 r2289 58 58 59 59 case VisibilityEnvironment::FRUSTUM_CULLING: 60 //mCullingManager = new FrustumCullingManager(); 60 mCullingManager = new FrustumCullingManager(); 61 break; 62 63 case VisibilityEnvironment::RANDOM_UPDATE_CULLING: 61 64 mCullingManager = new RandomUpdateCullingManager(); 62 65 break;
Note: See TracChangeset
for help on using the changeset viewer.