--- a/demos/buddha.py Tue Dec 04 08:58:05 2007 +0100
+++ b/demos/buddha.py Wed Dec 05 18:54:23 2007 +0100
@@ -4,7 +4,7 @@
# http://graphics.stanford.edu/data/3Dscanrep/
import sys
-sys.path.append("..")
+sys.path.append(open('ModulePath').read().strip())
from raytracer import Raytracer, Light, Sphere, Triangle, Material
import Image
@@ -42,7 +42,7 @@
rt = Raytracer()
mat = Material(colour=(0.9, 0.9, 0.9))
-LoadStanfordPlyFile(rt, mat ,"happy_vrip_res2.ply", 20.0)
+LoadStanfordPlyFile(rt, mat ,"../models/happy/happy_vrip_res2.ply", 20.0)
light = Light(position=(-5.0, 2.0, 8.0), colour=(0.9, 0.3, 0.6))
rt.addlight(light)