--- a/demos/spheres_ao.py Thu May 08 09:21:25 2008 +0200
+++ b/demos/spheres_ao.py Sat May 10 14:29:37 2008 +0200
@@ -5,7 +5,7 @@
rt = Raytracer()
top = KdTree()
rt.setTop(top)
-rt.setCamera(Camera())
+rt.setCamera(Camera(eye=(0,1,6)))
rt.ambientOcclusion(samples=100, distance=16.0, angle=0.5)
light1 = Light(position=(0.0, 5.0, -5.0), colour=(0.7, 0.3, 0.6))
@@ -17,7 +17,6 @@
rt.addLight(light2)
mat0 = Material(colour=(0.7, 0.7, 0.7))
-
box = Box(L=(-20.0, -1.2, -20.0), H=(20.0, -1.0, 20.0), material=mat0)
rt.addShape(box)