mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-25 04:46:02 +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.
134 lines
3.4 KiB
JavaScript
134 lines
3.4 KiB
JavaScript
// Converted from: ../../examples/obj/camaro/CamaroNoUv.obj
|
|
// vertices: 53139
|
|
// faces: 93251
|
|
// materials: 9
|
|
//
|
|
// 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" : "Body",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.22700000000000001, 0.40799999999999997, 0.46300000000000002],
|
|
"col_specular" : [2.0, 2.0, 2.0],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 782.352941,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xee0000,
|
|
"a_dbg_index" : 1,
|
|
"a_dbg_name" : "mirror",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.29999999999999999, 0.29999999999999999, 0.29999999999999999],
|
|
"col_specular" : [2.0, 2.0, 2.0],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 782.352941,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x00ee00,
|
|
"a_dbg_index" : 2,
|
|
"a_dbg_name" : "black",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.10199999999999999, 0.10199999999999999, 0.10199999999999999],
|
|
"col_specular" : [0.20000000000000001, 0.20000000000000001, 0.20000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 7.843137,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x0000ee,
|
|
"a_dbg_index" : 3,
|
|
"a_dbg_name" : "mizo",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.0, 0.0, 0.0],
|
|
"col_specular" : [0.0, 0.0, 0.0],
|
|
"illumination" : 1,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 0.0,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xeeee00,
|
|
"a_dbg_index" : 4,
|
|
"a_dbg_name" : "glass",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.20000000000000001, 0.31, 0.30599999999999999],
|
|
"col_specular" : [2.0, 2.0, 2.0],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 782.352941,
|
|
"transparency" : 0.34
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x00eeee,
|
|
"a_dbg_index" : 5,
|
|
"a_dbg_name" : "Interieur",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.10199999999999999, 0.10199999999999999, 0.10199999999999999],
|
|
"col_specular" : [0.44, 0.44, 0.44],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xee00ee,
|
|
"a_dbg_index" : 6,
|
|
"a_dbg_name" : "tire",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.27100000000000002, 0.27100000000000002, 0.26300000000000001],
|
|
"col_specular" : [0.10000000000000001, 0.10000000000000001, 0.10000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 17.647059,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x392456,
|
|
"a_dbg_index" : 7,
|
|
"a_dbg_name" : "tireling",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.5, 0.5, 0.5],
|
|
"col_specular" : [0.20000000000000001, 0.20000000000000001, 0.20000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 17.647059,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x466852,
|
|
"a_dbg_index" : 8,
|
|
"a_dbg_name" : "black2",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.0, 0.0, 0.0],
|
|
"col_specular" : [0.0, 0.0, 0.0],
|
|
"illumination" : 1,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 0.0,
|
|
"transparency" : 1.0
|
|
}],
|
|
|
|
'buffers': 'CamaroNoUv_bin.bin',
|
|
|
|
'end': (new Date).getTime()
|
|
}
|
|
|
|
postMessage( model );
|