summaryrefslogtreecommitdiffstats
path: root/dimension/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-08-18 20:17:59 -0600
committerTavian Barnes <tavianator@gmail.com>2011-08-18 20:17:59 -0600
commite1a7c44bf102b5871a74fba8f168427f5fc118b5 (patch)
tree1ea2a51970c61c6d70861efcaaf414cfa686bd39 /dimension/tests
parent9c9fb9d59c2e90fc2bc9066dac514285c9479277 (diff)
downloaddimension-e1a7c44bf102b5871a74fba8f168427f5fc118b5.tar.xz
Handle reflection correctly in the client.
Diffstat (limited to 'dimension/tests')
-rw-r--r--dimension/tests/complex.dmnsn2
-rw-r--r--dimension/tests/demo.dmnsn4
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,