summaryrefslogtreecommitdiffstats
path: root/tests/dimension/demo.pov
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-11-26 13:51:20 -0500
committerTavian Barnes <tavianator@gmail.com>2009-11-26 13:51:20 -0500
commitc0a0ee5ae71b97b1400efddb4c374e1d13701fa3 (patch)
tree4a121e6b3069442444e54d83fcf3fa69f08cd30c /tests/dimension/demo.pov
parent02c0213ab823a0c838d295017298cf8cd3493342 (diff)
downloaddimension-c0a0ee5ae71b97b1400efddb4c374e1d13701fa3.tar.xz
Implement background colors.
Diffstat (limited to 'tests/dimension/demo.pov')
-rw-r--r--tests/dimension/demo.pov10
1 files changed, 7 insertions, 3 deletions
diff --git a/tests/dimension/demo.pov b/tests/dimension/demo.pov
index b6833bc..c6f99fb 100644
--- a/tests/dimension/demo.pov
+++ b/tests/dimension/demo.pov
@@ -19,21 +19,25 @@
// Render demo scene
+background {
+ color rgbf <0, 0, 0.1, 0.1>
+}
+
light_source {
- <-15, 20, 10>, rgb <1, 1, 1>
+ <-15, 20, 10>, color rgb <1, 1, 1>
}
box {
<-1, -1, -1>, <1, 1, 1>
rotate <45, 0, 0>
pigment {
- rgbft <0, 0, 1, 0.25, 0.25>
+ color rgbft <0, 0, 1, 0.25, 0.25>
}
}
sphere {
<0, 0, 0>, 1.25
pigment {
- rgb <0, 1, 0>
+ color rgb <0, 1, 0>
}
}