Changeset 92 for trunk/VUT/GtpVisibility


Ignore:
Timestamp:
05/11/05 15:29:32 (20 years ago)
Author:
mattausch
Message:

exchanged halfbounding box with full bounding box

Location:
trunk/VUT/GtpVisibility
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibility/include/VisibilityManager.h

    r74 r92  
    3232        */ 
    3333        void SetCullingManager(VisibilityEnvironment::CullingManagerType ocmType); 
    34         /** Returns the current online occlusion culling manager. See set 
     34        /** Returns the current online occlusion culling manager. 
    3535        */ 
    3636        CullingManager *GetCullingManager(); 
     37        /** Returns the current online occlusion culling manager type. See set 
     38        */ 
     39        VisibilityEnvironment::CullingManagerType GetCullingManagerType(); 
    3740 
    3841        /** Applies the online visibility culling algorithm on a scene. 
  • trunk/VUT/GtpVisibility/src/StopAndWaitCullingManager.cpp

    r87 r92  
    3939 
    4040                        mHierarchyInterface->IssueOcclusionQuery(node)->GetQueryResult(visiblePixels, true); 
    41  
     41                         
    4242                        // node visible 
    4343                        if (visiblePixels > mVisibilityThreshold) 
  • trunk/VUT/GtpVisibility/src/VisibilityManager.cpp

    r74 r92  
    3030        if (mCullingManagerType != ocmType) 
    3131        { 
    32                 mCullingManagerType = ocmType; 
     32                // delete old culling manager 
    3333                delete mCullingManager; 
    3434 
     35                mCullingManagerType = ocmType; 
     36                 
    3537                switch (ocmType) 
    3638                { 
     
    6870        mCullingManager->RenderScene(); 
    6971} 
     72VisibilityEnvironment::CullingManagerType VisibilityManager::GetCullingManagerType() 
     73{ 
     74        return mCullingManagerType; 
     75} 
    7076//----------------------------------------------------------------------- 
    7177} // namespace GtpVisibility 
Note: See TracChangeset for help on using the changeset viewer.