From 4ddd6b7f2ec82155b7535062b4af67618ce70e30 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sun, 7 Nov 2010 17:39:23 -0500 Subject: Support checkered pigments in dimension. --- tests/dimension/demo.pov | 2 +- tests/dimension/demo.sh | 10 ++++++++-- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3