summaryrefslogtreecommitdiffstats
path: root/tests/dimension/demo.pov
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-08 02:07:31 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-08 02:07:31 -0500
commit60190f7766be07d4fdee26eff6e2edc3d1842d99 (patch)
tree2c4207967a98e16c663b517f915cefb98506d57a /tests/dimension/demo.pov
parente2d6da1e349d84b491dbbea40a34200c2d58dfe6 (diff)
downloaddimension-60190f7766be07d4fdee26eff6e2edc3d1842d99.tar.xz
Add gradient pattern support to dimension.
Diffstat (limited to 'tests/dimension/demo.pov')
-rw-r--r--tests/dimension/demo.pov13
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/dimension/demo.pov b/tests/dimension/demo.pov
index 544cd10..197fe23 100644
--- a/tests/dimension/demo.pov
+++ b/tests/dimension/demo.pov
@@ -81,7 +81,18 @@ union {
}
pigment {
- color rgb <1, 0, 0>
+ gradient y
+ color_map {
+ [0 color rgb <1, 0, 0>]
+ [1/6 color rgb <1, 0.5, 0>]
+ [2/6 color rgb <1, 1, 0>]
+ [3/6 color rgb <0, 1, 0>]
+ [4/6 color rgb <0, 0, 1>]
+ [5/6 color rgb <1, 0, 1>]
+ [1 color rgb <1, 0, 0>]
+ }
+ scale <1, 2.75, 1>
+ translate -1.25*y
}
rotate -45*x
}