branch | pyrit |
changeset 48 | a4913301c626 |
parent 47 | 320d5d466864 |
child 60 | a23b5089b9c3 |
--- a/ccdemos/spheres_shadow.cc Wed Mar 26 14:29:21 2008 +0100 +++ b/ccdemos/spheres_shadow.cc Wed Mar 26 17:03:38 2008 +0100 @@ -56,8 +56,6 @@ int main(int argc, char **argv) { Raytracer rt; - rt.setOversample(0); - rt.setSubsample(8); Octree top; rt.setTop(&top); @@ -111,8 +109,8 @@ { pyrit_verbosity = 2; Float *fdata = (Float *) malloc(w*h*3*sizeof(Float)); - rt.setOversample(2); DefaultSampler sampler(fdata, w, h); + sampler.setOversample(2); rt.setSampler(&sampler); rt.render();