demos/dragon.py
branchpyrit
changeset 25 b8232edee786
parent 24 d0d76e8a5203
child 28 ffe83ca074f3
--- a/demos/dragon.py	Wed Dec 05 18:54:23 2007 +0100
+++ b/demos/dragon.py	Fri Dec 07 14:56:39 2007 +0100
@@ -46,8 +46,11 @@
 mat = Material(colour=(0.9, 0.9, 0.9))
 LoadStanfordPlyFile(rt, mat, "../models/dragon/dragon_vrip_res4.ply", 29.0)
 
-light = Light(position=(-5.0, 2.0, 8.0), colour=(0.9, 0.3, 0.6))
-rt.addlight(light)
+light1 = Light(position=(-5.0, 2.0, 8.0), colour=(0.9, 0.3, 0.2))
+rt.addlight(light1)
+
+light2 = Light(position=(3.0, 0.0, 9.0), colour=(0.0, 1.0, 0.2))
+rt.addlight(light2)
 
 imagesize = (800, 600)
 data = rt.render(imagesize)