From e261cff9bf8f4f42a769fecc5414d42b582dc9f7 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 14 Jan 2010 00:07:46 -0500 Subject: Begin parsing finishes. --- tests/dimension/demo.pov | 10 ++++++++-- tests/dimension/demo.sh | 12 ++++++++---- 2 files changed, 16 insertions(+), 6 deletions(-) (limited to 'tests/dimension') diff --git a/tests/dimension/demo.pov b/tests/dimension/demo.pov index bb43573..c59148a 100644 --- a/tests/dimension/demo.pov +++ b/tests/dimension/demo.pov @@ -46,7 +46,13 @@ box { sphere { <0, 0, 0>, 1.25 - pigment { - color rgb <0, 1, 0> + texture { + pigment { + color rgb <0, 1, 0> + } + finish { + phong 0.2 + phong_size 40.0 + } } } diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh index c49e0ca..05225b6 100755 --- a/tests/dimension/demo.sh +++ b/tests/dimension/demo.sh @@ -42,15 +42,19 @@ demo_exp=$(echo -n \ (rotate (vector (integer 45) (integer 0) (integer 0) (integer 0) (integer 0))) (texture - (pigment (color (integer 0) (integer 0) (integer 1) - (float 0.25) (float 0.25)))))) + (pigment + (color (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 (texture - (pigment (color (integer 0) (integer 1) (integer 0) - (integer 0) (integer 0)))))))' \ + (pigment + (color (integer 0) (integer 1) (integer 0) (integer 0) (integer 0))) + (finish + (phong (float 0.2)) + (phong_size (float 40)))))))' \ | tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g') if [ "$demo" != "$demo_exp" ]; then -- cgit v1.2.3