Changeset 1890 for GTP


Ignore:
Timestamp:
12/13/06 22:15:25 (18 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
2 edited

Legend:

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

    r1877 r1890  
    630630        splitCandidate.SetPvsEntriesIncr(pvsEntriesIncr); 
    631631 
     632        const int numViewCells = CountViewCells(leaf->mObjects); 
     633 
     634        const float avgRayContrib =  
     635                (float)splitCandidate.mParentData.mNumRays / (float)numViewCells; 
     636 
     637        cout << "avgRayContrib: " << avgRayContrib << endl; 
    632638#ifdef GTP_DEBUG 
    633639        Debug << "old render cost: " << oldRenderCost << endl; 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp

    r1877 r1890  
    24462446                // on the other hand: we could store a tag with the compression scheme, 
    24472447        // then some scheme were pvs is in the interiors could be used 
    2448                 if (0) ExportPvs(viewCell, stream); 
    2449                  
     2448                if (exportPvs) 
     2449                { 
     2450                        ExportPvs(viewCell, stream); 
     2451                } 
     2452 
    24502453                stream << "\" >" << endl; 
    24512454 
Note: See TracChangeset for help on using the changeset viewer.