From 32f46ae1ccdb01533ea61265e4c977b9307c710d Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 25 Nov 2009 14:09:06 -0500 Subject: Support solid-color pigments. --- tests/dimension/demo.sh | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'tests/dimension/demo.sh') 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 -- cgit v1.2.3