Changeset 2497


Ignore:
Timestamp:
07/03/07 01:39:48 (17 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis/OnlineCullingCHC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/OGRE/src/OgrePlatformHierarchyInterface.cpp

    r2455 r2497  
    106106        solidBox->getRenderOperation(ro); 
    107107        ro.srcRenderable = solidBox; 
    108          
    109         //std::stringstream d; 
    110         //d << "vt2: " << ro.vertexData; 
    111         //LogManager::getSingleton().logMessage(d.str()); 
    112108 
    113109        mRenderSystem->_render(ro); 
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/scripts/terrainCulling.cfg

    r2455 r2497  
    4444#QueryObjectsMode=EXACT 
    4545QueryObjectsMode=NODE 
    46 #QueryObjectsMode=APPROXIMATE; 
     46#QueryObjectsMode=APPROXIMATE 
    4747         
    4848 
  • GTP/trunk/Lib/Vis/OnlineCullingCHC/src/RandomUpdateCullingManager.cpp

    r2455 r2497  
    144144                                         
    145145                                // if we assume node to be visible in this frame => skip query  
    146                                 const bool skipQuery = false;//wasVisible && mHierarchyInterface->HasGeometry(node); 
     146                                const bool skipQuery = false; 
     147                                //wasVisible && mHierarchyInterface->HasGeometry(node); 
    147148 
    148149                                if (skipQuery) 
     
    171172                                        const bool testGeometry = wasVisible && mHierarchyInterface->IsLeaf(node) && mTestGeometryForVisibleLeaves; 
    172173 
     174                                        // previously invisible node 
     175#if TODO         
     176                                        if (!mHierarchyInterface->IsNodeVisible(node)) 
     177                                        { 
     178                                                // batch queries so we can test invisible nodes 
     179                                        } 
     180#endif 
    173181                                        queryQueue.push(QueryPair(node, mHierarchyInterface-> 
    174182                                                IssueNodeOcclusionQuery(node, testGeometry))); 
Note: See TracChangeset for help on using the changeset viewer.