Ignore:
Timestamp:
12/15/06 23:40:27 (18 years ago)
Author:
bittner
Message:

experiments with different contribution computations

File:
1 edited

Legend:

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

    r1883 r1900  
    8787  int intersectables, faces; 
    8888  mSceneGraph->GetStatistics(intersectables, faces); 
     89  HaltonSequence halton; 
    8990   
    9091  int samples = 0; 
     
    99100                  cout<<"+"; 
    100101 
     102                float r[5]; 
     103                halton.GetNext(5, r); 
    101104                Vector3 origin, direction; 
    102                 mViewCellsManager->GetViewPoint( origin ); 
     105                mViewCellsManager->GetViewPoint(origin, Vector3(r[0], r[1], r[2])); 
    103106                 
    104                 direction = UniformRandomVector(); 
     107                direction = UniformRandomVector(r[3],r[4]); 
    105108                ViewCell *viewcell = mViewCellsManager->GetViewCell(origin); 
    106109                 
Note: See TracChangeset for help on using the changeset viewer.