-
Notifications
You must be signed in to change notification settings - Fork 0
/
sombra.js
108 lines (39 loc) · 1.19 KB
/
sombra.js
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
// Converted from: sombra.obj
// vertices: 4
// faces: 1
// normals: 1
// colors: 0
// uvs: 4
// materials: 1
// edges: 0
//
// Generated with OBJ -> Three.js converter
// http://github.com/alteredq/three.js/blob/master/utils/exporters/convert_obj_three.py
var model = {
"version" : 2,
"scale" : 1.000000,
"materials": [ {
"DbgColor" : 15658734,
"DbgIndex" : 0,
"DbgName" : "04___Default",
"colorAmbient" : [0.5882, 0.5882, 0.5882],
"colorDiffuse" : [0.5882, 0.5882, 0.5882],
"colorSpecular" : [0.0, 0.0, 0.0],
"illumination" : 2,
"mapAmbient" : "sombra.jpg",
"mapDiffuse" : "sombra.jpg",
"opticalDensity" : 1.5,
"specularCoef" : 10.0,
"transparency" : 0.0
}],
"vertices": [78.286400,0.000000,-182.418600,-78.286400,0.000000,-182.418600,-78.286400,0.000000,182.418600,78.286400,0.000000,182.418600],
"morphTargets": [],
"morphColors": [],
"normals": [0,1,-0],
"colors": [],
"uvs": [[0.9995,0.0005,0.0005,0.0005,0.0005,0.9995,0.9995,0.9995]],
"faces": [43,0,1,2,3,0,0,1,2,3,0,0,0,0],
"edges" : []
};
postMessage( model );
close();