demos/bunny.py
branchpyrit
changeset 38 5d043eeb09d9
parent 34 28f6e8b9d5d1
child 40 929aad02c5f2
equal deleted inserted replaced
37:5f954c0d34fc 38:5d043eeb09d9
     4 # http://graphics.stanford.edu/data/3Dscanrep/
     4 # http://graphics.stanford.edu/data/3Dscanrep/
     5 
     5 
     6 import sys
     6 import sys
     7 sys.path.append(open('ModulePath').read().strip())
     7 sys.path.append(open('ModulePath').read().strip())
     8 
     8 
     9 from raytracer import Raytracer, Light, Box, Triangle, NormalVertex, Material
     9 from raytracer import Raytracer, Light, Box, Triangle, Material
    10 from plyreader import LoadStanfordPlyFile
    10 from plyreader import LoadStanfordPlyFile
    11 import Image
    11 import Image
    12 
    12 
    13 rt = Raytracer()
    13 rt = Raytracer()
    14 #rt.ambientocclusion(samples=100, distance=16.0, angle=0.5)
    14 #rt.ambientocclusion(samples=100, distance=16.0, angle=0.5)