Ignore:
Timestamp:
03/06/06 22:22:38 (18 years ago)
Author:
bittner
Message:

changes for visualization of distant view space sampling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/RssPreprocessor.cpp

    r608 r677  
    472472  // if not already loaded, construct view cells from file 
    473473  if (!mLoadViewCells) {         
    474          
     474 
     475        if (0)  
    475476          mViewCellsManager->SetViewSpaceBox(mKdTree->GetBox()); 
     477        else { 
     478          AxisAlignedBox3 box = mKdTree->GetBox(); 
     479          float s = box.Size(0); 
     480          box.Scale(0.1f); 
     481          box.SetMin(0, box.Min(0) + s); 
     482          box.SetMax(0, box.Max(0) + s); 
     483          mViewCellsManager->SetViewSpaceBox(box); 
     484        } 
    476485 
    477486          // construct view cells using it's own set of samples 
Note: See TracChangeset for help on using the changeset viewer.