branch | pyrit |
changeset 69 | 303583d2fb97 |
parent 62 | 07c2f8084719 |
child 75 | 20dee9819b17 |
--- a/demos/buddha.py Sat Apr 12 02:02:45 2008 +0200 +++ b/demos/buddha.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/happy/happy_vrip_res2.ply", - mat, smooth=True, scale=20.0, trans=(0,-3,0)) + mat, scale=20.0, trans=(0,-3,0)) light = Light(position=(-5.0, 2.0, 8.0), colour=(0.9, 0.3, 0.6)) rt.addlight(light)