-
Notifications
You must be signed in to change notification settings - Fork 0
/
triangles.json
23 lines (23 loc) · 1.02 KB
/
triangles.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[
{
"material": {"ambient": [0.1,0.1,0.1], "diffuse": [0.6,0.4,0.4], "specular": [0.3,0.3,0.3], "n": 11, "alpha": 0.9, "texture": "abe.png"},
"vertices": [[0.1, 0.3, 0.75],[0.25, 0.6, 0.75],[0.4, 0.3, 0.75]],
"normals": [[0, 0, -1],[0, 0,-1],[0, 0,-1]],
"uvs": [[0,0], [0.5,1], [1,0]],
"triangles": [[0,1,2]]
},
{
"material": {"ambient": [0.1,0.1,0.1], "diffuse": [0.6,0.6,0.4], "specular": [0.3,0.3,0.3], "n":17, "alpha": 0.3, "texture": "tree.png"},
"vertices": [[0.3, 0.1, 0.65],[0.3, 0.4, 0.65],[0.6,0.4,0.65],[0.6,0.1,0.65]],
"normals": [[0, 0, -1],[0, 0, -1],[0, 0, -1],[0, 0, -1]],
"uvs": [[0,0], [0,1], [1,1], [1,0]],
"triangles": [[0,1,2],[2,3,0]]
},
{
"material": {"ambient": [0.1,0.1,0.1], "diffuse": [0.0,0.6,0.0], "specular": [0.3,0.3,0.3], "n":15, "alpha": 1.0, "texture": "billie.jpg"},
"vertices": [[0.65, 0.4, 0.45],[0.75, 0.6, 0.45],[0.85,0.4,0.45]],
"normals": [[0, 0, -1],[0, 0,-1],[0, 0,-1]],
"uvs": [[0,0], [0.5,1], [1,0]],
"triangles": [[0,1,2]]
}
]