added cylinder primitive
[csgray] / scene
diff --git a/scene b/scene
index 6cf673d..cbbc3d8 100644 (file)
--- a/scene
+++ b/scene
@@ -1,16 +1,18 @@
 # vi:set ts=4 sts=4 sw=4 ai:
+# test scene for the CSG raytracer
 csgray_scene {
        viewer {
-               position = [0, 0, 5]
+               position = [-2, 1.5, 5]
                target = [0, 0, 0]
                fov = 50
        }
 
        subtract {
                subtract {
-                       sphere {
+                       cylinder {
                                position = [0, 0, 0]
                                radius = 1
+                               height = 2
                                color = [1, 0.1, 0.05]
                                roughness = 0.3
                        }