diff options
Diffstat (limited to 'tests/dimension')
-rw-r--r-- | tests/dimension/demo.pov | 10 | ||||
-rwxr-xr-x | tests/dimension/demo.sh | 12 |
2 files changed, 16 insertions, 6 deletions
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 |