summaryrefslogtreecommitdiffstats
path: root/tests/dimension/demo.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-04-15 20:21:14 -0400
committerTavian Barnes <tavianator@gmail.com>2010-04-15 20:21:14 -0400
commitcb85f91c28be53b4436d4cb4ff3ce4c87f501ba3 (patch)
treeeec660a09e2fb30d8a1bbc9da25925c4f18850d4 /tests/dimension/demo.sh
parentdf27a0fc92b4a26c92a1befd2fba21585fccc44a (diff)
downloaddimension-cb85f91c28be53b4436d4cb4ff3ce4c87f501ba3.tar.xz
Support transforming pigments and textures in dimension.
Diffstat (limited to 'tests/dimension/demo.sh')
-rwxr-xr-xtests/dimension/demo.sh9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh
index 7691093..f047f55 100755
--- a/tests/dimension/demo.sh
+++ b/tests/dimension/demo.sh
@@ -47,7 +47,8 @@ demo_exp=$(echo -n \
(texture
(pigment
(vector (integer 0) (integer 0) (integer 1)
- (float 0.25) (float 0.5)))
+ (float 0.25) (float 0.5))
+ pigment-modifiers)
(finish
(reflection
(vector (float 0.5) (float 0.5) (float 0.5)
@@ -64,7 +65,8 @@ demo_exp=$(echo -n \
(texture
(pigment
(vector (integer 0) (integer 1) (integer 0)
- (integer 0) (integer 0)))
+ (integer 0) (integer 0))
+ pigment-modifiers)
(finish
(phong (float 0.2))
(phong_size (float 40)))))))
@@ -75,7 +77,8 @@ demo_exp=$(echo -n \
(object-modifiers
(pigment
(vector (integer 1) (integer 1) (integer 1)
- (integer 0) (integer 0))))))' \
+ (integer 0) (integer 0))
+ pigment-modifiers))))' \
| tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g')
if [ "$demo" != "$demo_exp" ]; then