demos/dragon.py
branchpyrit
changeset 69 303583d2fb97
parent 62 07c2f8084719
child 75 20dee9819b17
--- a/demos/dragon.py	Sat Apr 12 02:02:45 2008 +0200
+++ b/demos/dragon.py	Mon Apr 14 12:51:50 2008 +0200
@@ -9,8 +9,9 @@
 
 rt = Raytracer()
 mat = Material(colour=(0.9, 0.9, 0.9))
+mat.setSmooth(True)
 LoadStanfordPlyFile(rt, "../models/ply/dragon/dragon_vrip_res2.ply",
-	mat, smooth=True, scale=(-29.0, 29.0, -29.0), trans=(0.0, -3.6, 0.0))
+	mat, scale=(-29.0, 29.0, -29.0), trans=(0.0, -3.6, 0.0))
 
 light1 = Light(position=(-5.0, 2.0, 8.0), colour=(0.9, 0.3, 0.2))
 rt.addlight(light1)