Changeset 553
- Timestamp:
- 01/19/06 02:41:54 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/VssPreprocessor.cpp
r552 r553 708 708 //Debug << "samples: " << samples << " construction samples " << mViewCellsManager->GetConstructionSamples() << endl; 709 709 // construct view cells after vss 710 if (!mViewCellsManager->ViewCellsConstructed() && 711 ((samples + mInitialSamples > nSamples) || (samples >= mVssSamples))) 710 if (!mViewCellsManager->ViewCellsConstructed() && (samples >= mVssSamples)) 712 711 { 713 712 Debug << "samples " << samples << " initial " << mInitialSamples << " " << samples + mInitialSamples << endl; … … 718 717 719 718 // test if we really have enough rays 720 if ( (samples >= mVssSamples) || (constructionRays.size() >= nSamples))719 if (constructionRays.size() >= nSamples) 721 720 mViewCellsManager->Construct(mObjects, constructionRays); 722 721 } … … 747 746 748 747 748 // at the latest create view cells here 749 if (!mViewCellsManager->ViewCellsConstructed()) 750 { 751 VssRayContainer constructionRays; 752 753 vssTree->CollectRays(constructionRays); 754 Debug << "collected rays: " << constructionRays.size() << endl; 755 756 mViewCellsManager->Construct(mObjects, constructionRays); 757 } 758 749 759 Debug << vssTree->stat << endl; 750 760 VssRayContainer viewCellRays;
Note: See TracChangeset
for help on using the changeset viewer.