--- a/ccdemos/textures.cc Wed Mar 26 14:29:21 2008 +0100
+++ b/ccdemos/textures.cc Wed Mar 26 17:03:38 2008 +0100
@@ -187,8 +187,6 @@
int main(int argc, char **argv)
{
Raytracer rt;
- rt.setOversample(0);
- rt.setSubsample(8);
Octree top;
rt.setTop(&top);
@@ -276,10 +274,10 @@
{
pyrit_verbosity = 2;
Float *fdata = (Float *) malloc(w*h*3*sizeof(Float));
- rt.setOversample(2);
- rt.setSubsample(1);
rt.ambientocclusion(300, 5.0, 0.5);
DefaultSampler sampler(fdata, w, h);
+ sampler.setOversample(2);
+ sampler.setSubsample(1);
rt.setSampler(&sampler);
rt.render();