summaryrefslogtreecommitdiffstats
path: root/dimension/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-08-21 13:24:13 -0600
committerTavian Barnes <tavianator@gmail.com>2011-08-21 13:24:13 -0600
commit942fd9ff8e267b361de580a95fa247e486120891 (patch)
tree683835731d05db901d98d10ba0023bb1ef3fb285 /dimension/tests
parent6b1fcde7af64ca81079dffe1d62096228693b5d6 (diff)
downloaddimension-942fd9ff8e267b361de580a95fa247e486120891.tar.xz
Replace sky_spheres with a single background pigment.
Diffstat (limited to 'dimension/tests')
-rw-r--r--dimension/tests/demo.dmnsn19
1 files changed, 6 insertions, 13 deletions
diff --git a/dimension/tests/demo.dmnsn b/dimension/tests/demo.dmnsn
index 04783a0..fbf51da 100644
--- a/dimension/tests/demo.dmnsn
+++ b/dimension/tests/demo.dmnsn
@@ -23,19 +23,12 @@ camera = PerspectiveCamera(location = (0, 0.25, -4),
camera.transform(rotate(53*Y))
# Background
-background = Clear
-
-# Sky sphere
-sky_sphere = SkySphere(
- [
- PigmentMap(
- pattern = Gradient(Y),
- map = {
- 0: Orange,
- 0.35: Color(0, 0.1, 0.2, trans = 0.1, filter = 0.0),
- },
- ),
- ]
+background = PigmentMap(
+ pattern = Gradient(Y),
+ map = {
+ 0: Orange,
+ 0.35: Color(0, 0.1, 0.2, trans = 0.1, filter = 0.0),
+ },
)
# Lights