include/raytracer.h
branchpyrit
changeset 31 b4e09433934a
parent 22 76b7bd51d64a
child 32 8af5c17d368b
--- a/include/raytracer.h	Sat Dec 08 16:02:37 2007 +0100
+++ b/include/raytracer.h	Sun Dec 09 10:45:26 2007 +0100
@@ -39,7 +39,7 @@
 	Vector3 SphereDistribute(int i, int n, Float extent, Vector3 &normal);
 public:
 	Raytracer(): top(NULL), camera(NULL), lights(), bg_colour(0.0, 0.0, 0.0),
-		ao_samples(0), num_threads(4), subsample(8), max_depth(4) {};
+		ao_samples(0), num_threads(2), subsample(8), max_depth(3) {};
 	void render(int w, int h, Float *buffer);
 	Colour raytrace(Ray &ray, int depth, Shape *origin_shape);
 	void addshape(Shape *shape) { top->addShape(shape); };