Changeset 2614 for GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp
- Timestamp:
- 01/18/08 16:28:30 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/Lib/Vis/Preprocessing/src/SamplingStrategy.cpp
r2588 r2614 584 584 } 585 585 586 586 587 for(; it != vssRays.end(); ++it) 587 588 { 588 589 VssRay *ray = *it; 589 590 590 //cout << " here4 " << ray->GetDir(); 591 //if (ray->mTerminationObject->Type() == Intersectable::TRANSFORMED_MESH_INSTANCE) 592 // cout << "found transofrmed mesh instance: " << Intersectable::GetTypeName(ray->mTerminationObject) << " " << endl; 591 593 592 594 for (i=0; i < mDistributions.size()-1; i++) … … 596 598 } 597 599 598 float contribution = 599 mPreprocessor.mViewCellsManager->ComputeSampleContribution(*ray, 600 true, 601 false); 600 const float contribution = 601 mPreprocessor.mViewCellsManager->ComputeSampleContribution(*ray, true, false); 602 602 603 603 mDistributions[i]->mContribution += contribution;
Note: See TracChangeset
for help on using the changeset viewer.