src/sampler.cc
branchpyrit
changeset 82 930a2d3ecaed
parent 77 dbe8438d5dca
child 87 1081e3dd3f3e
equal deleted inserted replaced
81:9dbb9c8c115b 82:930a2d3ecaed
    30 #include "scene.h"
    30 #include "scene.h"
    31 
    31 
    32 void DefaultSampler::init()
    32 void DefaultSampler::init()
    33 {
    33 {
    34 	phase = 0;
    34 	phase = 0;
       
    35 	packetable = (subsample <= 1);
    35 }
    36 }
    36 
    37 
    37 int DefaultSampler::initSampleSet()
    38 int DefaultSampler::initSampleSet()
    38 {
    39 {
    39 	static const int gridsamples[] = {1,5,9,16};
    40 	static const int gridsamples[] = {1,5,9,16};