--- a/demos/dragon.py Mon Nov 26 17:31:37 2007 +0100
+++ b/demos/dragon.py Mon Nov 26 23:12:40 2007 +0100
@@ -26,9 +26,9 @@
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]-3.5
- #v[2] = -v[2]
+ v[0] = -v[0]
+ v[1] = v[1]-3.6
+ v[2] = -v[2]
vertices.append(tuple(v))
vertex_num -= 1
@@ -44,9 +44,9 @@
rt = Raytracer()
mat = Material(colour=(0.9, 0.9, 0.9))
-LoadStanfordPlyFile(rt, mat, "dragon_vrip.ply", 30.0)
+LoadStanfordPlyFile(rt, mat, "dragon_vrip.ply", 29.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)