include/sampler.h
branchpyrit
changeset 78 9569e9f35374
parent 53 228cb8bfdd54
child 82 930a2d3ecaed
--- a/include/sampler.h	Tue Apr 22 13:33:12 2008 +0200
+++ b/include/sampler.h	Wed Apr 23 10:38:33 2008 +0200
@@ -75,12 +75,12 @@
 class DefaultSampler: public Sampler
 {
 	int phase;
-	int subsample;
+	int subsample;  // 0,1 = no, 1+ = size of sampling grid
 	int oversample; // 0 = no, 1 = 5x, 2 = 9x, 3 = 16x
 	int sx,sy,osa_samp; // current sample properties
 public:
 	DefaultSampler(Float *abuffer, int &aw, int &ah):
-		Sampler(abuffer, aw, ah), phase(-1), subsample(8), oversample(0) {};
+		Sampler(abuffer, aw, ah), phase(-1), subsample(4), oversample(0) {};
 	void init();
 	int initSampleSet();
 	bool nextSample(Sample *s);