- Timestamp:
- 11/25/05 14:29:09 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/VssPreprocessor.cpp
r430 r433 11 11 12 12 13 bool useViewSpaceBox = true;13 bool useViewSpaceBox = false;//true; 14 14 bool use2dSampling = false; 15 bool useViewspacePlane = false; 15 bool useViewspacePlane = false;//true; 16 16 17 17 VssPreprocessor::VssPreprocessor(): … … 413 413 414 414 415 // int numExportRays = 10000; 416 417 int numExportRays = 0; 415 int numExportRays = 10000; 416 //int numExportRays = 0; 418 417 419 418 if (numExportRays) { … … 498 497 for (int i = 0; i < (int)vssRays.size(); ++ i) 499 498 { 500 CastRay(*mBspTree, * mVssRays[i]);499 CastRay(*mBspTree, *vssRays[i]); 501 500 } 502 501 } … … 539 538 Ray ray(vssRay); 540 539 541 /*Debug << ray << endl;540 Debug << ray << endl; 542 541 if (ray.intersections.empty()) 543 542 Debug << "empty ray" << endl; 544 543 else 545 544 Debug << "intersection: " << ray.intersections[0].mT << " " << ray.intersections[0].mObject << endl; 546 */ 545 547 546 mBspTree->CastRay(ray); 548 547 549 if (ray.sourceObject.mObject)548 //if (0 && ray.sourceObject.mObject) 550 549 //sampleContributions += 551 AddObjectSamples(ray.sourceObject.mObject, ray);550 //AddObjectSamples(ray.sourceObject.mObject, ray); 552 551 553 552 if (!ray.intersections.empty()) // second intersection found
Note: See TracChangeset
for help on using the changeset viewer.