- Timestamp:
- 01/25/06 17:45:45 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/RssPreprocessor.cpp
r576 r577 467 467 468 468 mViewSpaceBox = NULL; 469 mViewCellsManager->SetViewSpaceBox(mKdTree->GetBox()); 470 471 472 //-- load view cells from file if requested 473 if (mLoadViewCells) { 474 // load now because otherwise bounding box not correct 475 mViewCellsManager->LoadViewCells(mViewCellsFilename, &mObjects); 476 // $$JB tmp make all viewcelss valid 477 mViewCellsManager->SetValidity(0, 9999999999); 478 479 } 480 else 481 { 469 470 // if not already loaded, construct view cells from file 471 if (!mLoadViewCells) { 472 473 mViewCellsManager->SetViewSpaceBox(mKdTree->GetBox()); 474 482 475 // construct view cells using it's own set of samples 483 476 mViewCellsManager->Construct(this); … … 487 480 mViewCellsManager->PrintStatistics(Debug); 488 481 } 489 482 483 490 484 int rssPass = 0; 491 485 int rssSamples = 0; … … 515 509 516 510 if (mExportRays) { 511 517 512 char filename[64]; 518 513 sprintf(filename, "rss-rays-initial.x3d"); 519 514 ExportRays(filename, mVssRays, mExportNumRays); 515 520 516 } 521 517
Note: See TracChangeset
for help on using the changeset viewer.