forked from vkoskiv/c-ray
-
Notifications
You must be signed in to change notification settings - Fork 0
/
glowmetal.json
119 lines (119 loc) · 1.74 KB
/
glowmetal.json
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
{
"version": 1.0,
"renderer": {
"threads": 0,
"samples": 100,
"bounces": 30,
"antialiasing": true,
"tileWidth": 64,
"tileHeight": 64,
"tileOrder": "random",
"outputFilePath": "output/",
"outputFileName": "rendered",
"fileType": "png",
"count": 0,
"width": 800,
"height": 800
},
"display": {
"isFullscreen": false,
"isBorderless": false,
"windowScale": 1.0
},
"camera": {
"FOV": 18,
"focalDistance": 0.7,
"fstops": 0,
"transforms": [
{
"type": "translate",
"x": 0,
"y": 0,
"z": -0.7
}
]
},
"scene": {
"ambientColor": {
"offset": 0,
"down": {
"r": 0.1,
"g": 0.1,
"b": 0.1
},
"up": {
"r": 0.1,
"g": 0.1,
"b": 0.1
}
},
"primitives": [
{
"type": "sphere",
"instances": [
{
"transforms": [
{
"type": "rotateY",
"degrees": 0
}
]
}
],
"material": {
"type": "mix",
"A": {
"type": "mix",
"A": {
"type": "metal",
"roughness": 0.0
},
"B": {
"type": "emissive",
"color": {
"type": "blackbody",
"degrees": 2000
},
"strength": 40
},
"factor": 0.5
},
"B": {
"type": "glass",
"color": [1.0, 1.0, 1.0]
},
"factor": {
"type": "checkerboard",
"size": 50
}
},
"color": {
"r": 0.8,
"g": 0.8,
"b": 0.8
},
"radius": 0.05
}
],
"meshes": [
{
"fileName": "shapes/gridplane.obj",
"bsdf": "lambertian",
"instances": [
{
"transforms": [
{
"type": "scaleUniform",
"scale": 0.25
},
{
"type": "translate",
"Y": -0.05
}
]
}
]
}
]
}
}