Changeset 100 for trunk/VUT/GtpVisibility
- Timestamp:
- 05/16/05 20:22:32 (20 years ago)
- Location:
- trunk/VUT/GtpVisibility/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibility/src/StopAndWaitCullingManager.cpp
r96 r100 39 39 unsigned int visiblePixels = 0; 40 40 41 mHierarchyInterface->IssueOcclusionQuery(node)->GetQueryResult(visiblePixels, true); 41 mHierarchyInterface->IssueOcclusionQuery(node)-> 42 GetQueryResult(visiblePixels, true); 42 43 43 44 // node visible -
trunk/VUT/GtpVisibility/src/VisibilityEnvironment.cpp
r74 r100 2 2 3 3 namespace GtpVisibility { 4 4 5 //----------------------------------------------------------------------- 5 6 VisibilityEnvironment::VisibilityEnvironment() -
trunk/VUT/GtpVisibility/src/VisibilityManager.cpp
r99 r100 10 10 //----------------------------------------------------------------------- 11 11 VisibilityManager::VisibilityManager(VisibilityEnvironment *visEnvironment): 12 mVisibilityThreshold(0), mCullingManager(NULL) 12 mVisibilityThreshold(0), mCullingManager(NULL), 13 mQueryManager(new DummyQueryManager(NULL)), 14 mPreprocessingManager(new DummyPreprocessingManager(NULL)), 15 mVisibilityEnvironment(visEnvironment) 13 16 { 14 mVisibilityEnvironment = visEnvironment; 15 16 //SetCullingManager(VisibilityEnvironment::COHERENT_HIERARCHICAL_CULLING); 17 SetCullingManager(VisibilityEnvironment::FRUSTUM_CULLING); 18 19 mQueryManager = new DummyQueryManager(0); 20 mPreprocessingManager = new DummyPreprocessingManager(0); 17 SetCullingManager(VisibilityEnvironment::COHERENT_HIERARCHICAL_CULLING); 18 //SetCullingManager(VisibilityEnvironment::FRUSTUM_CULLING); 21 19 } 22 20 //----------------------------------------------------------------------- … … 33 31 { 34 32 // delete old culling manager 35 if (mCullingManager)33 if (mCullingManager) 36 34 delete mCullingManager; 37 35 … … 73 71 mCullingManager->RenderScene(); 74 72 } 73 //----------------------------------------------------------------------- 75 74 VisibilityEnvironment::CullingManagerType VisibilityManager::GetCullingManagerType() 76 75 { 77 76 return mCullingManagerType; 78 77 } 79 //----------------------------------------------------------------------- 78 80 79 } // namespace GtpVisibility
Note: See TracChangeset
for help on using the changeset viewer.