demos/triangles_sphere.py
branchpyrit
changeset 6 d8d596d26f25
parent 1 e74bf781067e
child 19 4e0955fca797
equal deleted inserted replaced
5:2d97ea5e711a 6:d8d596d26f25
     1 #!/usr/bin/python
     1 #!/usr/bin/python
     2 
     2 
     3 import sys
     3 import sys
     4 sys.path.append("../")
     4 sys.path.append("..")
     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):