summaryrefslogtreecommitdiffstats
path: root/tests/dimension/demo.pov
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-11-25 20:10:13 -0500
committerTavian Barnes <tavianator@gmail.com>2009-11-25 20:10:13 -0500
commit48ded3e40b77d2c072429854e2ebf81744c3e552 (patch)
treeff693e40dd3185c9e89ca07bef468e9b2a294d0e /tests/dimension/demo.pov
parentcc79ac6130baca3179de24004420ce1d0199a140 (diff)
downloaddimension-48ded3e40b77d2c072429854e2ebf81744c3e552.tar.xz
Implement point lights.
Diffstat (limited to 'tests/dimension/demo.pov')
-rw-r--r--tests/dimension/demo.pov8
1 files changed, 6 insertions, 2 deletions
diff --git a/tests/dimension/demo.pov b/tests/dimension/demo.pov
index 5aa044e..b6833bc 100644
--- a/tests/dimension/demo.pov
+++ b/tests/dimension/demo.pov
@@ -19,17 +19,21 @@
// Render demo scene
+light_source {
+ <-15, 20, 10>, rgb <1, 1, 1>
+}
+
box {
<-1, -1, -1>, <1, 1, 1>
rotate <45, 0, 0>
pigment {
- color rgbft <0, 0, 1, 0.25, 0.25>
+ rgbft <0, 0, 1, 0.25, 0.25>
}
}
sphere {
<0, 0, 0>, 1.25
pigment {
- color rgb <0, 1, 0>
+ rgb <0, 1, 0>
}
}