Changeset 1179 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp
- Timestamp:
- 08/02/06 17:40:16 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp
r1178 r1179 251 251 float &contribution) 252 252 { 253 Debug << "here9 "<< endl;254 Debug << "here2 " << mVolume << endl;255 253 const bool result = mPvs.AddSample(sample, pdf, contribution); 256 Debug << "here4" << endl; 257 // update pvs size scalar 258 //mPvsSize = mPvs.GetSize(); 259 mPvsSizeValid = false; // recompute pvs size 254 255 mPvsSizeValid = false; // have to recompute pvs size 260 256 261 257 return result; … … 1526 1522 1527 1523 ViewCellContainer::const_iterator it, it_end = interior->mChildren.end(); 1528 Debug << "\nhere92" << endl; 1524 1529 1525 for (it = interior->mChildren.begin(); it != it_end; ++ it) 1530 1526 { 1531 Debug << "here15" << endl;1532 1527 ViewCell *vc = *it; 1533 1528 … … 1543 1538 } 1544 1539 1545 Debug << "\nhere1005" << endl; 1540 1546 1541 const float costDecr = (parentCost - childCost) / vol; 1547 1542 … … 1734 1729 if (vc->mPvsSizeValid) 1735 1730 { 1736 Debug << "here5"<<endl;1737 1731 return vc->mPvsSize; 1738 1732 } 1739 1733 1740 Debug << "here2"<<endl;1741 1742 1734 // if no valid pvs size stored as a scalar => 1743 1735 // compute current pvs size of interior from it's leaf nodes
Note: See TracChangeset
for help on using the changeset viewer.