- Timestamp:
- 11/24/05 18:38:19 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/SamplingPreprocessor.cpp
r429 r430 574 574 int pvsSize = 0; 575 575 576 Debug << "overall scene size: " << (int)objects.size() << endl; 577 576 578 BspViewCellsStatistics stat; 577 578 Debug << "overall scene size: " << (int)objects.size() << endl;579 579 mBspTree->EvaluateViewCellsStats(stat); 580 581 580 Debug << "original view cell partition:\n" << stat << endl; 582 581 … … 820 819 { 821 820 // store samples for vsp kd tree construction 822 if ((object || !ray.intersections.empty()) && 823 ((int)mVspSampleRays.size() < mVspConstructionSamples)) 824 { 825 ray.sourceObject = Ray::Intersection(0.0, object, faceIndex); 826 VssRay *sRay = new VssRay(ray); 827 mVspSampleRays.push_back(sRay); 821 if ((int)mVspSampleRays.size() < mVspConstructionSamples) 822 { 823 if (object || !ray.intersections.empty()) 824 { 825 ray.sourceObject = Ray::Intersection(0.0, object, faceIndex); 826 VssRay *sRay = new VssRay(ray); 827 mVspSampleRays.push_back(sRay); 828 } 828 829 } 829 830 else
Note: See TracChangeset
for help on using the changeset viewer.