diff options
author | Tavian Barnes <tavianator@gmail.com> | 2010-01-14 01:00:09 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2010-01-14 01:00:09 -0500 |
commit | cbdaf9ff41649174b72b0453b8a399f6abb11e8f (patch) | |
tree | feecf5e43b7b4487b883514b2744fe17edf1f903 /tests/dimension | |
parent | e261cff9bf8f4f42a769fecc5414d42b582dc9f7 (diff) | |
download | dimension-cbdaf9ff41649174b72b0453b8a399f6abb11e8f.tar.xz |
Support reflective finishes.
Diffstat (limited to 'tests/dimension')
-rw-r--r-- | tests/dimension/demo.pov | 12 | ||||
-rwxr-xr-x | tests/dimension/demo.sh | 7 |
2 files changed, 16 insertions, 3 deletions
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) |