Ignore:
Timestamp:
06/28/08 16:12:59 (16 years ago)
Author:
mattausch
Message:

worked on renderqueue

File:
1 edited

Legend:

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

    r2800 r2802  
    3333                                OcclusionQuery *query = IssueOcclusionQuery(node); 
    3434 
    35                                 waitTimer.Entry(); 
    36                                 bool visible = query->GetQueryResult() > mVisibilityThreshold; 
    37                                 waitTimer.Exit(); 
    38  
     35                                const bool visible = query->GetQueryResult() > mVisibilityThreshold; 
     36                         
    3937                                if (visible) 
    4038                                { 
     
    4341                                else 
    4442                                { 
    45                                         node->SetVisible(false); 
    4643                                        ++ mStats.mNumQueryCulledNodes; 
    4744                                } 
    48                                  
    49                                 // update node's visited flag (could be interesting for the visualization) 
    50                                 node->SetVisible(visible);               
    5145                        } 
    5246                } 
Note: See TracChangeset for help on using the changeset viewer.