Ignore:
Timestamp:
05/18/05 02:06:32 (20 years ago)
Author:
mattausch
Message:

fixed bug with shadow maps

Location:
trunk/VUT/GtpVisibility/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibility/src/StopAndWaitCullingManager.cpp

    r100 r103  
    2727                else 
    2828                { 
    29                         //if intersects near plane => skip occlusion query because wrong results possible 
     29                        // if intersects near plane => skip occlusion query because wrong results possible 
    3030                        if (intersects) 
    3131                        { 
     
    3939                        unsigned int visiblePixels = 0; 
    4040 
    41                         mHierarchyInterface->IssueOcclusionQuery(node)-> 
    42                                 GetQueryResult(visiblePixels, true); 
     41                        mHierarchyInterface->IssueOcclusionQuery(node)->GetQueryResult(visiblePixels, true); 
    4342                         
    4443                        // node visible 
  • trunk/VUT/GtpVisibility/src/VisibilityManager.cpp

    r102 r103  
    1616{ 
    1717        //SetCullingManager(VisibilityEnvironment::COHERENT_HIERARCHICAL_CULLING); 
    18         SetCullingManager(VisibilityEnvironment::STOP_AND_WAIT_CULLING); 
    19         //SetCullingManager(VisibilityEnvironment::FRUSTUM_CULLING); 
     18        //SetCullingManager(VisibilityEnvironment::STOP_AND_WAIT_CULLING); 
     19        SetCullingManager(VisibilityEnvironment::FRUSTUM_CULLING); 
    2020} 
    2121//----------------------------------------------------------------------- 
     
    3333                // delete old culling manager 
    3434                if (mCullingManager) 
     35                { 
    3536                        delete mCullingManager; 
    36  
     37                } 
    3738                mCullingManagerType = ocmType; 
    3839                 
Note: See TracChangeset for help on using the changeset viewer.