Commit 1fe94923 authored by Kevin Modzelewski's avatar Kevin Modzelewski

I thought I had already pushed these changes

parent 12669dbc
...@@ -226,7 +226,7 @@ class Scene(object): ...@@ -226,7 +226,7 @@ class Scene(object):
canvas.plot(x,y,colour[0], colour[1], colour[2]) canvas.plot(x,y,colour[0], colour[1], colour[2])
print 'Complete.' print 'Complete.'
canvas.save() # canvas.save()
def rayColour(self, ray): def rayColour(self, ray):
if self.recursionDepth > 3: if self.recursionDepth > 3:
...@@ -350,8 +350,8 @@ def _main(): ...@@ -350,8 +350,8 @@ def _main():
# c = Canvas(4,2,'test_raytrace_tiny') # c = Canvas(4,2,'test_raytrace_tiny')
# c = Canvas(80,60,'test_raytrace_small') # c = Canvas(80,60,'test_raytrace_small')
# c = Canvas(160,120,'test_raytrace') # c = Canvas(160,120,'test_raytrace')
# c = Canvas(320,240,'test_raytrace') c = Canvas(320,240,'test_raytrace')
c = Canvas(640,480,'test_raytrace_big') # c = Canvas(640,480,'test_raytrace_big')
s = Scene() s = Scene()
s.addLight(Point(30, 30, 10)) s.addLight(Point(30, 30, 10))
s.addLight(Point(-10, 100, 30)) s.addLight(Point(-10, 100, 30))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment