Ignore:
Timestamp:
10/31/06 10:57:14 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/Pvs.cpp

    r1586 r1703  
    7676 
    7777 
    78 /** Returns the the number of different objects in the leaves of the node. 
    79         We eliminate already accounted kd nodes and objects using mailboxing.  
     78/** Returns the the number of new (unmailed) objects in the leaves of the node. 
     79        We eliminate already accounted bvh nodes and objects using mailboxing.  
    8080*/ 
    8181static int EvalBvhNodeContribution(BvhIntersectable *bvhobj) 
     
    115115 
    116116                                // add #objects exclusivly in this node 
    117                                 pvs += (int)leaf->mObjects.size(); 
     117                                pvs += BvHierarchy::EvalAbsCost(leaf->mObjects); 
    118118                        } 
    119119                        else // traverse tree 
Note: See TracChangeset for help on using the changeset viewer.