ed67f5c96ab79697d703b0fc475c893d0fb95799
[csgray] / scene
1 # vi:set ts=4 sts=4 sw=4 ai:
2 # test scene for the CSG raytracer
3 csgray_scene {
4         viewer {
5                 position = [0, 1, 5]
6                 target = [0, 0, 0]
7                 fov = 50
8         }
9
10         subtract {
11                 subtract {
12                         sphere {
13                                 position = [0, 0, 0]
14                                 radius = 1
15                                 color = [1, 0.1, 0.05]
16                                 roughness = 0.3
17                         }
18                         sphere {
19                                 position = [0.3, 0.7, 0.7]
20                                 radius = 0.7
21                                 color = [0.2, 0.3, 1]
22                                 roughness = 0.3
23                         }
24                 }
25                 sphere {
26                         position = [-0.9, -0.1, 0.7]
27                         radius = 0.5
28                         color = [1, 0.9, 0.2]
29                         roughness = 0.3
30                 }
31         }
32
33         plane {
34                 position = [0, -1, 0]
35                 normal = [0, 1, 0]
36                 color = [0.4, 0.7, 0.4]
37         }
38
39         null {
40                 position = [-4, 10, 10]
41                 emission = [80, 80, 80]
42         }
43 }