Ignore:
Timestamp:
11/13/08 13:14:55 (16 years ago)
Author:
mattausch
Message:

changed tm so no values out of bounds, somehow occlusion error missing again

File:
1 edited

Legend:

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

    r3124 r3125  
    201201                mGeometry[mStaticGeometrySize + i] = dynamicEntities[i]; 
    202202        } 
     203 
     204        cout << "max depth for testing children" << mMaxDepthForTestingChildren << endl; 
    203205} 
    204206 
     
    227229 
    228230        mMaxDepthForTestingChildren = maxDepthForTestingChildren; 
     231        cout << "max depth for testing children" << mMaxDepthForTestingChildren << endl; 
    229232} 
    230233 
     
    592595        return numNodes; 
    593596} 
    594  
    595 #if TODO 
    596 void Bvh::RenderBoundsImmediate(const BvhNodeContainer &nodes, RenderState *state) 
    597 { 
    598         ///////// 
    599         //-- Render the tight bounds in immediate mode 
    600         BvhNodeContainer::const_iterator nit, nit_end = nodes.end(); 
    601  
    602         for (nit = nodes.begin(); nit != nit_end; ++ nit) 
    603         { 
    604                 BvhNode *node = *nit; 
    605  
    606                 for (int size_t i = 0; i < node->mNumTestNodes; ++ i) 
    607                 { 
    608                         BvhNode *testNode = node->mTestNodesIdx 
    609                         RenderBoundingBoxImmediate((*nit)->GetBox()); 
    610                 } 
    611         } 
    612 } 
    613 #endif 
    614597 
    615598 
Note: See TracChangeset for help on using the changeset viewer.