Ignore:
Timestamp:
08/21/06 18:39:49 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1199 r1251  
    2626   
    2727RssPreprocessor::RssPreprocessor(): 
    28   mPass(0), 
    2928  mVssRays() 
    3029{ 
     
    8786{ 
    8887  for (int i=0; i < rays.size(); i++) { 
    89         CastRay(rays[i].mOrigin, rays[i].mDirection, rays[i].mPdf, vssRays); 
     88        CastRay(rays[i].mOrigin, rays[i].mDirection, rays[i].mPdf, vssRays, mViewCellsManager->GetViewSpaceBox()); 
    9089        if (i % 10000 == 0) 
    9190          cout<<"."; 
     
    101100} 
    102101 
    103 void 
    104 RssPreprocessor::SetupRay(Ray &ray,  
    105                                                   const Vector3 &point,  
    106                                                   const Vector3 &direction 
    107                                                   ) 
    108 { 
    109   ray.intersections.clear(); 
    110   // do not store anything else then intersections at the ray 
    111   ray.Init(point, direction, Ray::LOCAL_RAY); 
    112 } 
    113  
     102 
     103#if 0 //matt: this moved up to preprocessor 
    114104int 
    115105RssPreprocessor::CastRay( 
     
    212202  return hits; 
    213203} 
    214  
     204#endif 
    215205 
    216206void 
Note: See TracChangeset for help on using the changeset viewer.