Changeset 2210 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp
- Timestamp:
- 03/08/07 13:23:13 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp
r2205 r2210 238 238 { 239 239 const bool result = mPvs.AddSample(sample, pdf); 240 // have to recompute pvs size240 // we have to recompute pvs size 241 241 mPvsSizeValid = false; 242 242 … … 515 515 ///////////// 516 516 //-- fill merge queue 517 517 518 vector<MergeCandidate> candidates; 518 519 … … 527 528 } 528 529 529 Debug << "********************** *** merge ***********************************" << endl;530 Debug << "********************** merge ******************************" << endl; 530 531 Debug << "deviation: " << mDeviation << endl; 531 532 Debug << "avg render cost: " << mAvgRenderCost << endl; … … 648 649 totalRenderCost += renderCostIncr; 649 650 mDeviation += mc.GetDeviationIncr(); 650 651 651 652 /////////// 652 653 //-- merge the view cells of leaf1 and leaf2 654 653 655 float pvsDiff; 654 656 ViewCellInterior *mergedVc = … … 834 836 if (!obj->Mailed()) 835 837 { 836 renderCost += mViewCellsManager->EvalRenderCost(obj);838 renderCost += ViewCellsManager::EvalRenderCost(obj); 837 839 } 838 840 } … … 1028 1030 // set scalars 1029 1031 mViewCellsManager->UpdateScalarPvsSize(right, 1030 right->GetPvs().EvalPvsCost(),1031 right->GetPvs().GetSize());1032 right->GetPvs().EvalPvsCost(), 1033 right->GetPvs().GetSize()); 1032 1034 1033 1035 right->mPvsSizeValid = true; … … 1804 1806 return vc->GetPvs().GetSize(); 1805 1807 } 1806 1807 // interior node1808 1808 1809 1809 // interior nodes: pvs is either stored as a scalar or … … 1987 1987 Intersectable::NewMail(); 1988 1988 1989 ///////////////////////// ///////////////////////1990 // for interiors, pvs can be stored using different methods1989 ///////////////////////// 1990 //-- different storage methods for interiors 1991 1991 1992 1992 switch (mViewCellsStorage)
Note: See TracChangeset
for help on using the changeset viewer.