Changeset 1133 for GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp
- Timestamp:
- 07/13/06 09:06:21 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/ViewCell.cpp
r1121 r1133 252 252 const bool result = mPvs.AddSample(sample, pdf, contribution); 253 253 254 // update pvs size 254 // update pvs size scalar 255 255 mPvsSize = mPvs.GetSize(); 256 256 mPvsSizeValid = true; … … 260 260 261 261 262 bool ViewCell::AddKdPvsSample(KdLeaf *sample, 263 const float pdf, 264 float &contribution) 265 { 266 const bool result = mKdPvs.AddSample(sample, pdf, contribution); 267 268 return result; 269 } 262 270 263 271 /************************************************************************/ … … 1687 1695 Intersectable *obj = (*oit).first; 1688 1696 1689 set<KdLeaf *>::const_iterator kit, kit_end = obj->mKdLeaves.end(); 1690 1691 for (kit = obj->mKdLeaves.begin(); kit != kit_end; ++ kit) 1692 { 1693 KdLeaf *leaf = *kit; 1697 /* KdLeaf *leaf = ; 1694 1698 1695 1699 pvsSize += ((int)leaf->mObjects.size() - (int)leaf->mMultipleObjects.size()); … … 1709 1713 } 1710 1714 } 1711 } 1715 }*/ 1712 1716 } 1713 1717
Note: See TracChangeset
for help on using the changeset viewer.