Ignore:
Timestamp:
12/15/06 18:01:34 (18 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

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

    r1898 r1899  
    99namespace GtpVisibilityPreprocessor { 
    1010 
    11 HaltonSequence SamplingStrategy::sHalton; 
     11 
     12HaltonSequence ObjectBasedDistribution::sHalton; 
     13HaltonSequence MixtureDistribution::sHalton; 
     14HaltonSequence GlobalLinesDistribution::sHalton; 
     15HaltonSequence SpatialBoxBasedDistribution::sHalton; 
     16HaltonSequence ObjectDirectionBasedDistribution::sHalton; 
     17 
    1218 
    1319SamplingStrategy::SamplingStrategy(Preprocessor &preprocessor):  
     
    132138  direction = Normalize(CosineRandomVector(r[2], r[3], normal)); 
    133139   
    134   origin += 1e-2*direction; 
     140  origin += 1e-2f*direction; 
    135141   
    136142  // $$ jb the pdf is yet not correct for all sampling methods! 
Note: See TracChangeset for help on using the changeset viewer.