Ignore:
Timestamp:
10/24/08 12:29:30 (16 years ago)
Author:
mattausch
Message:

found bug with near plane intersection: q? why did it work with vbo rendering? (probably because of tighter bounds ...)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/StopAndWaitTraverser.cpp

    r2802 r3065  
    2525                { 
    2626                        // if intersects near plane assume visible and don't issue test 
    27                         if (IntersectsNearPlane(node)) 
     27                        if (mBvh->IntersectsNearPlane(node)) 
    2828                        { 
    2929                                TraverseNode(node); 
     
    3333                                OcclusionQuery *query = IssueOcclusionQuery(node); 
    3434 
    35                                 const bool visible = query->GetQueryResult() > mVisibilityThreshold; 
     35                                const bool visible = (query->GetQueryResult() > mVisibilityThreshold); 
    3636                         
    3737                                if (visible) 
Note: See TracChangeset for help on using the changeset viewer.