summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2011-04-25 22:28:15 -0600
committerTavian Barnes <tavianator@gmail.com>2011-04-25 22:28:15 -0600
commit3c37bf39733bb53267b046c5f0aafbffeb738990 (patch)
tree633943f2dcf26d9fec2c7f93cb8462f68982a35a /tests
parent13e11b2fafe60cad7d04d80c602adc12d6080036 (diff)
downloaddimension-3c37bf39733bb53267b046c5f0aafbffeb738990.tar.xz
Implement adaptive depth control.
Diffstat (limited to 'tests')
-rw-r--r--tests/dimension/demo.pov5
-rwxr-xr-xtests/dimension/demo.sh5
2 files changed, 9 insertions, 1 deletions
diff --git a/tests/dimension/demo.pov b/tests/dimension/demo.pov
index 390c4c6..91be9d2 100644
--- a/tests/dimension/demo.pov
+++ b/tests/dimension/demo.pov
@@ -19,6 +19,11 @@
// Render demo scene
+global_settings {
+ max_trace_level 5
+ adc_bailout 1/255
+}
+
camera {
perspective
location <0, 0.25, -4>
diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh
index 10cf13b..233b880 100755
--- a/tests/dimension/demo.sh
+++ b/tests/dimension/demo.sh
@@ -21,7 +21,10 @@
demo=$(${top_builddir}/dimension/dimension ${dimension_flags} -w768 -h480 --parse ${srcdir}/demo.pov)
demo_exp=$(echo -n \
-'((camera
+'((global_settings
+ (max_trace_level (integer 5))
+ (adc_bailout (float 0.00392157)))
+ (camera
perspective
(location (vector (integer 0) (float 0.25) (integer -4)
(integer 0) (integer 0)))