diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-08-18 20:17:59 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-08-18 20:17:59 -0600 |
commit | e1a7c44bf102b5871a74fba8f168427f5fc118b5 (patch) | |
tree | 1ea2a51970c61c6d70861efcaaf414cfa686bd39 /dimension | |
parent | 9c9fb9d59c2e90fc2bc9066dac514285c9479277 (diff) | |
download | dimension-e1a7c44bf102b5871a74fba8f168427f5fc118b5.tar.xz |
Handle reflection correctly in the client.
Diffstat (limited to 'dimension')
-rw-r--r-- | dimension/tests/complex.dmnsn | 2 | ||||
-rw-r--r-- | dimension/tests/demo.dmnsn | 4 |
2 files changed, 3 insertions, 3 deletions
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, |