From e1a7c44bf102b5871a74fba8f168427f5fc118b5 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 18 Aug 2011 20:17:59 -0600 Subject: Handle reflection correctly in the client. --- dimension/tests/complex.dmnsn | 2 +- dimension/tests/demo.dmnsn | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'dimension') diff --git a/dimension/tests/complex.dmnsn b/dimension/tests/complex.dmnsn index a6d7889..b081d14 100644 --- a/dimension/tests/complex.dmnsn +++ b/dimension/tests/complex.dmnsn @@ -54,7 +54,7 @@ def make_sphere(x, y, z, size): texture = Texture( pigment = Color(x/size, y/size, z/size), - finish = Ambient(0.25) + Diffuse(0.8) + Reflection(0.5) + finish = Ambient(0.25) + Diffuse(0.8) + Reflection(0.0, 0.25) ) ) diff --git a/dimension/tests/demo.dmnsn b/dimension/tests/demo.dmnsn index f20be39..04783a0 100644 --- a/dimension/tests/demo.dmnsn +++ b/dimension/tests/demo.dmnsn @@ -19,7 +19,7 @@ # Camera camera = PerspectiveCamera(location = (0, 0.25, -4), - look_at = 0) + look_at = 0) camera.transform(rotate(53*Y)) # Background @@ -52,7 +52,7 @@ hollow_cube = Difference( texture = Texture( pigment = Color(0, 0, 1, trans = 0.75, filter = 1/3), - finish = Reflection(0.5), + finish = Reflection(min = 0, max = 0.5), ), interior = Interior( ior = 1.1, -- cgit v1.2.3