mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-14 15:35:57 +10:00
Not sure about adding car models, they are quite big (even binary ones). To be removed if it makes troubles with git / GitHub.
108 lines
3.0 KiB
JavaScript
108 lines
3.0 KiB
JavaScript
// Converted from: ../../examples/obj/gallardo/GallardoNoUv.obj
|
|
// vertices: 77815
|
|
// faces: 75573
|
|
// materials: 7
|
|
//
|
|
// Generated with OBJ -> Three.js converter
|
|
// http://github.com/alteredq/three.js/blob/master/utils/exporters/convert_obj_threejs_slim.py
|
|
|
|
|
|
var model = {
|
|
'materials': [ {
|
|
"a_dbg_color" : 0xeeeeee,
|
|
"a_dbg_index" : 0,
|
|
"a_dbg_name" : "wire_255255255",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.80000000000000004, 0.80000000000000004, 0.80000000000000004],
|
|
"col_specular" : [0.17499999999999999, 0.17499999999999999, 0.17499999999999999],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 29.411765,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xee0000,
|
|
"a_dbg_index" : 1,
|
|
"a_dbg_name" : "wire_115115115",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.36080000000000001, 0.36080000000000001, 0.36080000000000001],
|
|
"col_specular" : [0.17499999999999999, 0.17499999999999999, 0.17499999999999999],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 29.411765,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x00ee00,
|
|
"a_dbg_index" : 2,
|
|
"a_dbg_name" : "03___Default",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.13175999999999999, 0.13175999999999999, 0.13175999999999999],
|
|
"col_specular" : [0.0, 0.0, 0.0],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 7.843137,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x0000ee,
|
|
"a_dbg_index" : 3,
|
|
"a_dbg_name" : "02___Default",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.80000000000000004, 0.0, 0.0],
|
|
"col_specular" : [0.65249999999999997, 0.65249999999999997, 0.65249999999999997],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 25.490196,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xeeee00,
|
|
"a_dbg_index" : 4,
|
|
"a_dbg_name" : "wire_255000000",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.80000000000000004, 0.0, 0.0],
|
|
"col_specular" : [0.17499999999999999, 0.17499999999999999, 0.17499999999999999],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 29.411765,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x00eeee,
|
|
"a_dbg_index" : 5,
|
|
"a_dbg_name" : "wire_252252000",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.79056000000000004, 0.79056000000000004, 0.0],
|
|
"col_specular" : [0.17499999999999999, 0.17499999999999999, 0.17499999999999999],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 29.411765,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xee00ee,
|
|
"a_dbg_index" : 6,
|
|
"a_dbg_name" : "wire_132132132",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.41408, 0.41408, 0.41408],
|
|
"col_specular" : [0.17499999999999999, 0.17499999999999999, 0.17499999999999999],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 29.411765,
|
|
"transparency" : 1.0
|
|
}],
|
|
|
|
'buffers': 'GallardoNoUv_bin.bin',
|
|
|
|
'end': (new Date).getTime()
|
|
}
|
|
|
|
postMessage( model );
|