summaryrefslogtreecommitdiffstats
path: root/tests/dimension/demo.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-11-25 14:09:06 -0500
committerTavian Barnes <tavianator@gmail.com>2009-11-25 14:09:06 -0500
commit32f46ae1ccdb01533ea61265e4c977b9307c710d (patch)
tree79e0137ea2a30fa65f9fc2b0a8c441094ec22050 /tests/dimension/demo.sh
parentaa6106d8f1d60077aea53f216d9098a686e170f1 (diff)
downloaddimension-32f46ae1ccdb01533ea61265e4c977b9307c710d.tar.xz
Support solid-color pigments.
Diffstat (limited to 'tests/dimension/demo.sh')
-rwxr-xr-xtests/dimension/demo.sh19
1 files changed, 16 insertions, 3 deletions
diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh
index 0e0303a..ae65a9d 100755
--- a/tests/dimension/demo.sh
+++ b/tests/dimension/demo.sh
@@ -25,9 +25,16 @@ demo_exp="$(echo -n \
< - (integer "1") , - (integer "1") , - (integer "1") > ,
< (integer "1") , (integer "1") , (integer "1") >
rotate < (integer "45") , (integer "0") , (integer "0") >
+ pigment {
+ color rgbft < (integer "0") , (integer "0") , (integer "1") ,
+ (float "0.25") , (float "0.25") >
+ }
}
sphere {
< (integer "0") , (integer "0") , (integer "0") > , (float "1.25")
+ pigment {
+ color rgb < (integer "0") , (integer "1") , (integer "0") >
+ }
})' \
| tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g')
$(echo -n \
@@ -35,12 +42,18 @@ $(echo -n \
(vector (integer -1) (integer -1) (integer -1) (integer 0) (integer 0))
(vector (integer 1) (integer 1) (integer 1) (integer 0) (integer 0))
(object-modifiers
- (rotate (vector (integer 45) (integer 0) (integer 0) (integer 0)
- (integer 0)))))
+ (rotate (vector (integer 45) (integer 0) (integer 0)
+ (integer 0) (integer 0)))
+ (texture
+ (pigment (vector (integer 0) (integer 0) (integer 1)
+ (float 0.25) (float 0.25))))))
(sphere
(vector (integer 0) (integer 0) (integer 0) (integer 0) (integer 0))
(float 1.25)
- object-modifiers))' \
+ (object-modifiers
+ (texture
+ (pigment (vector (integer 0) (integer 1) (integer 0)
+ (integer 0) (integer 0)))))))' \
| tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g')"
if [ "$demo" != "$demo_exp" ]; then