diff -r 09aedbf5f95f -r 20dee9819b17 demos/bunny.py --- a/demos/bunny.py Mon Apr 21 08:47:36 2008 +0200 +++ b/demos/bunny.py Mon Apr 21 09:05:09 2008 +0200 @@ -18,20 +18,20 @@ mat0 = Material(colour=(0.1, 0.2, 0.6)) box1 = Box(L=(-20.0, -1.7, -20.0), H=(20.0, -1.5, 20.0), material=mat0) -rt.addshape(box1) +rt.addShape(box1) mat1 = Material(colour=(0.5, 0.5, 0.2)) mat1.setReflectivity(0.0) box2 = Box(L=(-20.0, -20.0, -10.0), H=(20.0, 20.0, -12.0), material=mat1) -rt.addshape(box2) +rt.addShape(box2) light = Light(position=(-5.0, 3.0, 10.0), colour=(0.8, 0.5, 0.6)) #light.castshadows(0) -rt.addlight(light) +rt.addLight(light) light2 = Light(position=(4.0, 1.0, 10.0), colour=(0.5, 0.55, 0.7)) #light2.castshadows(0) -rt.addlight(light2) +rt.addLight(light2) imagesize = (800, 600) data = rt.render(imagesize)