summaryrefslogtreecommitdiffstats
path: root/tests/dimension/demo.sh
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-10-26 19:25:07 -0400
committerTavian Barnes <tavianator@gmail.com>2010-10-26 19:25:07 -0400
commit71b149ad617a7cbca08a2a7cb8ca5e3b0d8143db (patch)
tree9dc0ba264561066a9128292b8ba0d34be424232a /tests/dimension/demo.sh
parent3950b4f0d2483cadf006bf2a957aeb820402503a (diff)
downloaddimension-71b149ad617a7cbca08a2a7cb8ca5e3b0d8143db.tar.xz
Add torii to dimension.
Diffstat (limited to 'tests/dimension/demo.sh')
-rwxr-xr-xtests/dimension/demo.sh30
1 files changed, 28 insertions, 2 deletions
diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh
index fc37226..20eebb9 100755
--- a/tests/dimension/demo.sh
+++ b/tests/dimension/demo.sh
@@ -102,13 +102,39 @@ demo_exp=$(echo -n \
(rotation (vector (integer -45) (integer 0) (integer 0)
(integer 0) (integer 0))))))
(object
+ (union
+ (object
+ (torus (float 0.15) (float 0.05))
+ (object-modifiers
+ (transformation
+ (translation (vector (integer 0) (integer -1) (integer 0)
+ (integer 0) (integer 0))))))
+ (object
+ (torus (float 0.15) (float 0.05))
+ object-modifiers)
+ (object
+ (torus (float 0.15) (float 0.05))
+ (object-modifiers
+ (transformation
+ (translation (vector (integer 0) (integer 1) (integer 0)
+ (integer 0) (integer 0)))))))
+ (object-modifiers
+ (pigment
+ (vector (integer 0) (integer 0) (integer 1) (integer 0) (integer 0))
+ pigment-modifiers)
+ (finish
+ (ambient
+ (vector (integer 1) (integer 1) (integer 1) (integer 1) (integer 1))))
+ (transformation
+ (rotation (vector (integer -45) (integer 0) (integer 0)
+ (integer 0) (integer 0))))))
+ (object
(plane
(vector (integer 0) (integer 1) (integer 0) (integer 0) (integer 0))
(integer -2))
(object-modifiers
(pigment
- (vector (integer 1) (integer 1) (integer 1)
- (integer 0) (integer 0))
+ (vector (integer 1) (integer 1) (integer 1) (integer 0) (integer 0))
pigment-modifiers))))' \
| tr '\n' ' ' | sed -r 's/[[:space:]]+/ /g')