Changeset 114 for trunk/VUT/GtpVisibility
- Timestamp:
- 05/27/05 18:59:23 (20 years ago)
- Location:
- trunk/VUT/GtpVisibility
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibility/include/CullingManager.h
r112 r114 43 43 /** basic initializations on beginning of each frame, e.g., 44 44 resets statistics. 45 @param visualizeCulledNodes46 45 */ 47 46 void InitFrame(bool visualizeCulledNodes); -
trunk/VUT/GtpVisibility/include/VisibilityManager.h
r92 r114 52 52 void SetVisibilityCullingThreshold(unsigned int threshold); 53 53 54 /** Determines if optimization for coherent hierarchical culling is used. 55 */ 56 void SetUseChcOptimization(bool useOptimization); 57 54 58 protected: 55 59 56 57 58 59 60 60 CullingManager *mCullingManager; 61 QueryManager *mQueryManager; 62 PreprocessingManager *mPreprocessingManager; 63 VisibilityEnvironment *mVisibilityEnvironment; 64 VisibilityEnvironment::CullingManagerType mCullingManagerType; 61 65 62 66 unsigned int mVisibilityThreshold; 63 67 64 68 }; -
trunk/VUT/GtpVisibility/src/StopAndWaitCullingManager.cpp
r113 r114 23 23 {//if (mHierarchyInterface->mIsShadowPass) 24 24 mNumFrustumCulledNodes ++; 25 if (mVisualizeCulledNodes)25 if (mVisualizeCulledNodes) 26 26 { 27 27 mHierarchyInterface->VisualizeCulledNode(node, FRUSTUM_CULLED); … … 52 52 { //if (mHierarchyInterface->mIsShadowPass) 53 53 mNumQueryCulledNodes ++; 54 if (mVisualizeCulledNodes)54 if (mVisualizeCulledNodes) 55 55 { 56 56 mHierarchyInterface->VisualizeCulledNode(node, QUERY_CULLED); -
trunk/VUT/GtpVisibility/src/VisibilityManager.cpp
r107 r114 51 51 mCullingManager = new FrustumCullingManager(); 52 52 break; 53 53 54 default: 54 55 mCullingManager = new StopAndWaitCullingManager(); 55 56 break; 57 56 58 } 59 60 // -- set threshold 61 mCullingManager->SetVisibilityThreshold(mVisibilityThreshold); 57 62 } 58 63 }
Note: See TracChangeset
for help on using the changeset viewer.