diff -r 25b7c445cf61 -r 4e0955fca797 demos/buddha.py --- a/demos/buddha.py Mon Nov 26 17:31:37 2007 +0100 +++ b/demos/buddha.py Mon Nov 26 23:12:40 2007 +0100 @@ -26,9 +26,7 @@ while (vertex_num): tokens = fp.readline().split() v = [scale*float(x) for x in tokens[0:3]] - v[0] = -v[0] - v[1] = v[1]-5 - v[2] = -v[2] + v[1] = v[1]-3 vertices.append(tuple(v)) vertex_num -= 1 @@ -44,9 +42,9 @@ rt = Raytracer() mat = Material(colour=(0.9, 0.9, 0.9)) -LoadStanfordPlyFile(rt, mat, "happy_vrip_res2.ply", 30.0) +LoadStanfordPlyFile(rt, mat ,"happy_vrip_res2.ply", 20.0) -light = Light(position=(-5.0, 2.0, -8.0), colour=(0.9, 0.3, 0.6)) +light = Light(position=(-5.0, 2.0, 8.0), colour=(0.9, 0.3, 0.6)) rt.addlight(light) imagesize = (800, 600)