demos/car.py
branchpyrit
changeset 60 a23b5089b9c3
parent 59 64e456ab823d
child 62 07c2f8084719
--- a/demos/car.py	Fri Apr 04 13:54:47 2008 +0200
+++ b/demos/car.py	Tue Apr 08 01:05:12 2008 +0200
@@ -1,8 +1,5 @@
 #!/usr/bin/python
 
-import sys
-sys.path.append(open('ModulePath').read().strip())
-
 from raytracer import Raytracer, Light, Sphere, Triangle, Material, Camera
 from lworeader import LoadLightwaveLwoFile
 import Image
@@ -18,7 +15,7 @@
 mat = Material(colour=(0.9, 0.9, 0.9))
 LoadLightwaveLwoFile(rt, "../models/car/Nissan300ZX.lwo", mat, smooth=False, scale=0.4)
 
-light = Light(position=(-5.0, 2.0, 8.0), colour=(0.7, 0.7, 0.7))
+light = Light(position=(-5.0, 10.0, 8.0), colour=(0.9, 0.9, 0.9))
 rt.addlight(light)
 
 imagesize = (800, 600)