demos/spheres_shadow.py
branchpyrit
changeset 22 76b7bd51d64a
parent 19 4e0955fca797
child 60 a23b5089b9c3
equal deleted inserted replaced
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, Material, Box, Sphere, Light
     6 from raytracer import Raytracer, Material, Box, Sphere, Light
     7 import Image
     7 import Image
     8 
     8 
     9 rt = Raytracer()
     9 rt = Raytracer()