Changeset 1290 for GTP/trunk/Lib


Ignore:
Timestamp:
08/28/06 13:58:58 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1289 r1290  
    16111611                        BvhLeaf *oLeaf = mHierarchyManager->mBvHierarchy->GetLeaf(ray->mOriginObject); 
    16121612 
    1613                         UpdateBvNodePvsContri(tLeaf, cf, pvsFront, pvsBack, totalPvs); 
    1614                         UpdateBvNodePvsContri(oLeaf, cf, pvsFront, pvsBack, totalPvs); 
     1613                        UpdateBvhLeafPvsContri(tLeaf, cf, pvsFront, pvsBack, totalPvs); 
     1614                        UpdateBvhLeafPvsContri(oLeaf, cf, pvsFront, pvsBack, totalPvs); 
    16151615                         
    16161616                        break; 
     
    17861786{ 
    17871787        if (!leaf) return; 
    1788  
     1788/* 
    17891789        const int renderCost = (int)leaf->mObjects.size(); 
    17901790 
     
    18151815        if (cf <= 0) // back pvs 
    18161816        { 
    1817                 if (!leaf->Mailed(1) && !obj->Mailed(2)) 
     1817                if (!leaf->Mailed(1) && !leaf->Mailed(2)) 
    18181818                { 
    18191819                        backPvs += renderCost; 
     
    18251825                                leaf->Mail(1); 
    18261826                } 
    1827         } 
     1827        }*/ 
    18281828} 
    18291829 
Note: See TracChangeset for help on using the changeset viewer.