-
Notifications
You must be signed in to change notification settings - Fork 3
/
scene.json
105 lines (105 loc) · 1.62 KB
/
scene.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
{
"camera": {
"loc": {
"v": [5.7, 3, 6.7],
"d": [-0.8, -0.5, -1]
},
"width": 1,
"haov": 75,
"aspect": 1
},
"ambient": "#000",
"plights": [
{
"pos": [5, 4.5, 6],
"color": "#0AF"
},
{
"pos": [7, 2.5, 3],
"color": "#FA0"
},
{
"pos": [6, 1, 8],
"color": "#2FA"
}
],
"materials": {
"red-1": {
"color": "#E22",
"specular": "#FFF",
"ka": 1,
"kd": 1,
"ks": 0,
"alpha": 1
},
"green-1": {
"color": "#2E2",
"specular": "#FFF",
"ka": 1,
"kd": 1,
"ks": 0,
"alpha": 1
},
"blue-1": {
"color": "#24E",
"specular": "#FFF",
"ka": 1,
"kd": 1,
"ks": 0,
"alpha": 1
},
"gray-1": {
"color": "#AAA",
"specular": "#FFF",
"ka": 1,
"kd": 1,
"ks": 0,
"alpha": 1
},
"white-1": {
"color": "#FFF",
"specular": "#FFF",
"ka": 1,
"kd": 1,
"ks": 0,
"alpha": 1
}
},
"planes": [
{
"v1": [0,0,0],
"v2": [1,0,0],
"v3": [0,0,1],
"mat": "white-1"
},
{
"v1": [0,0,0],
"v2": [1,0,0],
"v3": [0,1,0],
"mat": "white-1"
},
{
"v1": [0,0,0],
"v2": [0,1,0],
"v3": [0,0,1],
"mat": "white-1"
}
],
"rprisms": [
{
"pos": [3, 1.5, 5],
"dim": [1, 1, 1],
"mat": "gray-1"
},
{
"pos": [4.5, 1.5, 4.6],
"dim": [1, 1, 1],
"mat": "gray-1"
},
{
"pos": [3.75, 2.75, 4.2],
"dim": [1, 1, 1],
"mat": "gray-1"
}
]
}