summaryrefslogtreecommitdiffstats
path: root/tests/dimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-07 17:39:23 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-07 17:39:23 -0500
commit4ddd6b7f2ec82155b7535062b4af67618ce70e30 (patch)
treed5a552473831b3b92030d0e33a1bafe7169737b8 /tests/dimension
parentd3250a168254ebc6aa0087dfcfee5d7dfead9703 (diff)
downloaddimension-4ddd6b7f2ec82155b7535062b4af67618ce70e30.tar.xz
Support checkered pigments in dimension.
Diffstat (limited to 'tests/dimension')
-rw-r--r--tests/dimension/demo.pov2
-rwxr-xr-xtests/dimension/demo.sh10
2 files changed, 9 insertions, 3 deletions
diff --git a/tests/dimension/demo.pov b/tests/dimension/demo.pov
index 3d6a879..544cd10 100644
--- a/tests/dimension/demo.pov
+++ b/tests/dimension/demo.pov
@@ -111,6 +111,6 @@ union {
plane {
y, -2
pigment {
- color rgb 1
+ checker color rgb 0, color rgb 1
}
}
diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh
index 20eebb9..05b01aa 100755
--- a/tests/dimension/demo.sh
+++ b/tests/dimension/demo.sh
@@ -134,8 +134,14 @@ demo_exp=$(echo -n \
(integer -2))
(object-modifiers
(pigment
- (vector (integer 1) (integer 1) (integer 1) (integer 0) (integer 0))
- pigment-modifiers))))' \
+ (pattern checker)
+ (pigment-modifiers
+ (color-list
+ (array
+ (vector (integer 0) (integer 0) (integer 0)
+ (integer 0) (integer 0))
+ (vector (integer 1) (integer 1) (integer 1)
+ (integer 0) (integer 0)))))))))' \
| tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g')
if [ "$demo" != "$demo_exp" ]; then