-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsample.toml
71 lines (59 loc) · 1.39 KB
/
sample.toml
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
title = "SIMPLE SCENE"
spp = 8
background = [0.0,0.7,1.0]
[cameras]
[[cameras.camera]]
origin = [0.0,0.0,-10.0]
up = [0.0,1.0,0.0]
lookat = [0.0,0.0,0.0]
fov = 90.0
film_height = 768
film_width = 1024
type = "pinhole"
# [[cameras.camera]]
# origin = [1.0,2.0,0.0]
# up = [0.0,1.0,0.0]
# lookat = [0.0,0.0,-1.0]
# fov = 90.0
# film_height = 400
# film_width = 400
# type = "pinhole"
# [[cameras.camera]]
# origin = [0.0,0.0,5.0]
# up = [0.0,1.0,0.0]
# lookat = [0.0,0.0,-1.0]
# fov = 90.0
# film_height = 400
# film_width = 400
# type = "pinhole"
[objects]
[[objects.name]]
name = "sphere_red"
[[objects.material]]
name = "matte_red"
type = "matte"
albedo = [0.8,0.1,0.1]
emission = [20.0,0.7,0.7]
texture = "constant"
[[objects.transform]]
matrix4 = [1.0,0.0,0.0,0.0,
0.0,1.0,0.0,0.0,
0.0,0.0,1.0,-2.0,
0.0,0.0,0.0,1.0]
[[objects.shape]]
type="sphere"
[[objects.name]]
name = "sphere_blue"
[[objects.material]]
name = "checker"
type = "matte"
albedo = [[0.1,0.1,0.9],[0.1,0.9,0.1]]
texture = "checker"
[[objects.transform]]
matrix4 = [1.0,0.0,0.0,0.0,
0.0,1.0,0.0,-50.0,
0.0,0.0,1.0,-2.0,
0.0,0.0,0.0,1.0]
[[objects.shape]]
type="sphere"
radius = 49.0