summaryrefslogtreecommitdiffstats
path: root/dimension
diff options
context:
space:
mode:
Diffstat (limited to 'dimension')
-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,