diff options
Diffstat (limited to 'tests/dimension')
-rw-r--r-- | tests/dimension/demo.pov | 8 | ||||
-rwxr-xr-x | tests/dimension/demo.sh | 11 |
2 files changed, 18 insertions, 1 deletions
diff --git a/tests/dimension/demo.pov b/tests/dimension/demo.pov index c6f99fb..67113cf 100644 --- a/tests/dimension/demo.pov +++ b/tests/dimension/demo.pov @@ -19,6 +19,14 @@ // Render demo scene +camera { + perspective + location <0, 0, -4> + right <768/480, 0, 0> + rotate <0, 53, 0> + look_at <0, 0, 0> +} + background { color rgbf <0, 0, 0.1, 0.1> } diff --git a/tests/dimension/demo.sh b/tests/dimension/demo.sh index 0d8da5a..31bb3ce 100755 --- a/tests/dimension/demo.sh +++ b/tests/dimension/demo.sh @@ -21,7 +21,16 @@ demo=$(${top_builddir}/dimension/dimension --parse ${srcdir}/demo.pov) demo_exp=$(echo -n \ -'((background +'((camera + perspective + (location (vector (integer 0) (integer 0) (integer -4) + (integer 0) (integer 0))) + (right (vector (float 1.6) (integer 0) (integer 0) (integer 0) (integer 0))) + (rotate (vector (integer 0) (integer 53) (integer 0) + (integer 0) (integer 0))) + (look_at (vector (integer 0) (integer 0) (integer 0) + (integer 0) (integer 0)))) + (background (vector (integer 0) (integer 0) (float 0.1) (float 0.1) (integer 0))) (light_source (vector (integer -15) (integer 20) (integer 10) (integer 0) (integer 0)) |