From 3c37bf39733bb53267b046c5f0aafbffeb738990 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 25 Apr 2011 22:28:15 -0600 Subject: Implement adaptive depth control. --- tests/dimension/demo.pov | 5 +++++ tests/dimension/demo.sh | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'tests/dimension') 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))) -- cgit v1.2.3