From 7b09710392d35fb55b52031d447a542d99fc6b4b Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 19 Aug 2014 17:10:03 -0400 Subject: Modularize the libdimension codebase. --- libdimension-python/tests/demo.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libdimension-python/tests') diff --git a/libdimension-python/tests/demo.py b/libdimension-python/tests/demo.py index d290a7f..2110606 100755 --- a/libdimension-python/tests/demo.py +++ b/libdimension-python/tests/demo.py @@ -49,12 +49,11 @@ scene = Scene(canvas = canvas, objects = objects, lights = lights, camera = camera) -scene.default_texture = Texture(finish = Ambient(sRGB(0.1)) - + Diffuse(sRGB(0.7))) +scene.default_texture = Texture(finish = Ambient(sRGB(0.1)) + Diffuse(sRGB(0.7))) scene.background = background scene.adc_bailout = 1/255 scene.recursion_limit = 5 -scene.ray_trace() +scene.render() if have_PNG: canvas.write_PNG("demo.png") -- cgit v1.2.3