Ignore:
Timestamp:
08/20/07 12:51:12 (17 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r2539 r2542  
    792792         
    793793        mPlaneTimer.Exit(); 
    794  
    795794        mEvalTimer.Entry(); 
    796795 
    797796        VspLeaf *leaf = static_cast<VspLeaf *>(splitCandidate.mParentData.mNode); 
     797 
    798798 
    799799        ////////////// 
     
    832832 
    833833#if COUNT_ORIGIN_OBJECTS 
    834  
    835834                obj = (*ray).mOriginObject; 
    836835 
     
    838837                { 
    839838                        leaf = mBvHierarchy->GetLeaf(obj); 
    840  
    841839                        UpdateContributionsToPvs(leaf, cf, sData);  
    842840                } 
     
    32273225 
    32283226void VspTree::AddCandidateToDirtyList(const VssRay &ray,  
    3229                                                                 const bool isTermination, 
    3230                                                                 vector<SubdivisionCandidate *> &dirtyList, 
    3231                                                                 const bool onlyUnmailed) const 
     3227                                                                          const bool isTermination, 
     3228                                                                          vector<SubdivisionCandidate *> &dirtyList, 
     3229                                                                          const bool onlyUnmailed) const 
    32323230 
    32333231{ 
    32343232#if HACK_PERFORMANCE 
    3235  
    32363233        Intersectable *obj = isTermination ? ray.mTerminationObject : ray.mOriginObject;  
    32373234 
     
    32513248        } 
    32523249#else 
    3253  
    32543250        SubdivisionCandidate *candidate = NULL; 
    32553251 
     
    33793375                        // simple render cost evaluation 
    33803376                        if (-- leaf->mCounter == 0) 
    3381                                 //pvs += (int)leaf->mObjects.size(); 
    33823377                                pvs += BvHierarchy::EvalAbsCost(leaf->mObjects); 
     3378 
    33833379                        break; 
    33843380                } 
     
    34663462        return pvsSize; 
    34673463#endif 
    3468          
    34693464} 
    34703465 
Note: See TracChangeset for help on using the changeset viewer.