From cbdaf9ff41649174b72b0453b8a399f6abb11e8f Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 14 Jan 2010 01:00:09 -0500 Subject: Support reflective finishes. --- tests/dimension/demo.pov | 12 ++++++++++-- tests/dimension/demo.sh | 7 ++++++- 2 files changed, 16 insertions(+), 3 deletions(-) (limited to 'tests/dimension') diff --git a/tests/dimension/demo.pov b/tests/dimension/demo.pov index c59148a..1e1afff 100644 --- a/tests/dimension/demo.pov +++ b/tests/dimension/demo.pov @@ -38,14 +38,22 @@ light_source { box { <-1, -1, -1>, <1, 1, 1> + rotate <45, 0, 0> - pigment { - color rgbft <0, 0, 1, 0.25, 0.25> + + texture { + pigment { + color rgbft <0, 0, 1, 0.25, 0.25> + } + finish { + reflection { 1.0 } + } } } sphere { <0, 0, 0>, 1.25 + texture { pigment { color rgb <0, 1, 0> diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh index 05225b6..0d79874 100755 --- a/tests/dimension/demo.sh +++ b/tests/dimension/demo.sh @@ -44,7 +44,12 @@ demo_exp=$(echo -n \ (texture (pigment (color (integer 0) (integer 0) (integer 1) - (float 0.25) (float 0.25)))))) + (float 0.25) (float 0.25))) + (finish + (reflection + (color (float 1) (float 1) (float 1) (float 1) (float 1)) + (color (float 1) (float 1) (float 1) (float 1) (float 1)) + reflection-items))))) (sphere (vector (integer 0) (integer 0) (integer 0) (integer 0) (integer 0)) (float 1.25) -- cgit v1.2.3