branch | pyrit |
changeset 22 | 76b7bd51d64a |
parent 19 | 4e0955fca797 |
child 28 | ffe83ca074f3 |
21:79b516a3803d | 22:76b7bd51d64a |
---|---|
1 #!/usr/bin/python |
1 #!/usr/bin/python |
2 |
2 |
3 import sys |
3 import sys |
4 sys.path.append("..") |
4 sys.path.append(open('ModulePath').read().strip()) |
5 |
5 |
6 from raytracer import Raytracer, Light, Sphere, Triangle, Material |
6 from raytracer import Raytracer, Light, Sphere, Triangle, Material |
7 import Image |
7 import Image |
8 |
8 |
9 def LoadWavefrontObjFile(rt, mat, filename): |
9 def LoadWavefrontObjFile(rt, mat, filename): |