- Timestamp:
- 11/16/05 18:33:18 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/SamplingPreprocessor.cpp
r416 r418 167 167 168 168 int 169 SamplingPreprocessor::CastRay(Intersectable *object, 170 Ray &ray 171 ) 169 SamplingPreprocessor::CastRay(Intersectable *object, Ray &ray) 172 170 { 173 171 int sampleContributions = 0; … … 520 518 } 521 519 else 522 {523 Debug << "contr: " << passSampleContributions << " pvs: " << pvsSize << " objects: " << objects.size() << endl;524 520 pvsSize += passSampleContributions; 525 }521 526 522 float avgRayContrib = (passContributingSamples > 0) ? 527 523 passSampleContributions/(float)passContributingSamples : 0; … … 641 637 exporter->ExportKdTree(*mKdTree); 642 638 643 if (mBspTree && (ViewCell::sHierarchy == ViewCell:: BSP))644 exporter->Export BspTree(*mBspTree);639 if (mBspTree && (ViewCell::sHierarchy == ViewCell::VSP)) 640 exporter->ExportVspKdTree(*mVspKdTree); 645 641 646 642 delete exporter;
Note: See TracChangeset
for help on using the changeset viewer.