Changeset 92 for trunk/VUT/GtpVisibility
- Timestamp:
- 05/11/05 15:29:32 (20 years ago)
- Location:
- trunk/VUT/GtpVisibility
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibility/include/VisibilityManager.h
r74 r92 32 32 */ 33 33 void SetCullingManager(VisibilityEnvironment::CullingManagerType ocmType); 34 /** Returns the current online occlusion culling manager. See set34 /** Returns the current online occlusion culling manager. 35 35 */ 36 36 CullingManager *GetCullingManager(); 37 /** Returns the current online occlusion culling manager type. See set 38 */ 39 VisibilityEnvironment::CullingManagerType GetCullingManagerType(); 37 40 38 41 /** Applies the online visibility culling algorithm on a scene. -
trunk/VUT/GtpVisibility/src/StopAndWaitCullingManager.cpp
r87 r92 39 39 40 40 mHierarchyInterface->IssueOcclusionQuery(node)->GetQueryResult(visiblePixels, true); 41 41 42 42 // node visible 43 43 if (visiblePixels > mVisibilityThreshold) -
trunk/VUT/GtpVisibility/src/VisibilityManager.cpp
r74 r92 30 30 if (mCullingManagerType != ocmType) 31 31 { 32 mCullingManagerType = ocmType;32 // delete old culling manager 33 33 delete mCullingManager; 34 34 35 mCullingManagerType = ocmType; 36 35 37 switch (ocmType) 36 38 { … … 68 70 mCullingManager->RenderScene(); 69 71 } 72 VisibilityEnvironment::CullingManagerType VisibilityManager::GetCullingManagerType() 73 { 74 return mCullingManagerType; 75 } 70 76 //----------------------------------------------------------------------- 71 77 } // namespace GtpVisibility
Note: See TracChangeset
for help on using the changeset viewer.