-
Notifications
You must be signed in to change notification settings - Fork 0
/
should.cfg
104 lines (104 loc) · 2.42 KB
/
should.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
scene = {
id = "sphere";
textures = (
{
id = "texture_lime";
type = "solid";
args = {
color = (0.75, 1.0, 0.0)
};
},
{
id = "texture_blue";
type = "solid";
args = {
color = (0.0, 0.2, 1.0)
};
},
);
effects = ();
materials = (
{
id = "material_lime";
type = "lambertian";
args = {
texture = "texture_lime"
};
},
{
id = "material_blue";
type = "lambertian";
args = {
texture = "texture_blue"
};
},
{
id = "material_metal";
type = "metal";
args = {
color = (1.0, 1.0, 1.0);
fuzz = 0.32
};
},
{
id = "material_light";
type = "diffuse_light";
args = {
color = (15.0, 15.0, 15.0)
};
}
);
shapes = (
{
id = "main_cylinder";
type = "cylinder";
args = {
center = (0.0, 0.0, -5.0);
radius = 2.0;
height = 4.0;
material = "material_lime"
};
},
{
id = "light_sphere";
type = "sphere";
args = {
center = (0.0, 7.0, 0.0);
radius = 1.0;
material = "material_light"
};
},
{
id = "main_cone";
type = "cone";
args = {
center = (0.0, 0.0, 5.0);
radius = 2.0;
height = 4.0;
material = "material_metal"
};
},
{
id = "plane";
type = "plane";
args = {
point = (0.0, 0.0, 0.0);
normal = (0.0, 1.0, 0.0);
material = "material_blue"
};
},
);
camera = {
aspect_ratio = 1.777;
image_width = 1200;
samples_per_pixel = 500;
max_depth = 100;
v_fov = 18;
look_from = (26.0, 8.0, 0.0);
look_at = (0.0, 2.5, 0.0);
v_up = (0.0, 1.0, 0.0);
defocus_angle = 0.0
background_color = (0.0, 0.0, 0.0);
};
imports = ();
};