Ignore:
Timestamp:
12/12/06 17:25:53 (18 years ago)
Author:
bittner
Message:

mixture distribution initial coding

File:
1 edited

Legend:

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

    r1771 r1883  
    1010#include "RenderSimulator.h" 
    1111#include "VssRay.h" 
     12#include "SamplingStrategy.h" 
    1213 
    1314 
     
    108109                  // cast rays in both directions to make the number of samples comparable 
    109110                  // with the global sampling method which also casts a "double" ray per sample 
    110                   rays.push_back(SimpleRay(origin, direction)); 
     111                  rays.push_back(SimpleRay(origin, 
     112                                                                   direction, 
     113                                                                   SamplingStrategy::DIRECTION_BASED_DISTRIBUTION, 
     114                                                                   1.0f)); 
    111115                  i++; 
    112116                  samples++; 
Note: See TracChangeset for help on using the changeset viewer.