mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-21 02:45:59 +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.
121 lines
3.2 KiB
JavaScript
121 lines
3.2 KiB
JavaScript
// Converted from: ../../examples/obj/veyron/VeyronNoUv.obj
|
|
// vertices: 36210
|
|
// faces: 33034
|
|
// materials: 8
|
|
//
|
|
// 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" : "08___Default",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.18823999999999999, 0.18823999999999999, 0.18823999999999999],
|
|
"col_specular" : [0.14824999999999999, 0.14824999999999999, 0.14824999999999999],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 17.647059,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xee0000,
|
|
"a_dbg_index" : 1,
|
|
"a_dbg_name" : "03___Default",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.52703999999999995, 0.52703999999999995, 0.52703999999999995],
|
|
"col_specular" : [0.59999999999999998, 0.59999999999999998, 0.59999999999999998],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 37.254902,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x00ee00,
|
|
"a_dbg_index" : 2,
|
|
"a_dbg_name" : "ColorBlack",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.21648000000000001, 0.21648000000000001, 0.21648000000000001],
|
|
"col_specular" : [0.75, 0.75, 0.75],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 56.862745,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x0000ee,
|
|
"a_dbg_index" : 3,
|
|
"a_dbg_name" : "04___Default",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.54271999999999998, 0.57408000000000003, 0.58984000000000003],
|
|
"col_specular" : [0.75, 0.75, 0.75],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 66.666667,
|
|
"transparency" : 0.5
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xeeee00,
|
|
"a_dbg_index" : 4,
|
|
"a_dbg_name" : "02___Default",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.48311999999999999, 0.0, 0.0],
|
|
"col_specular" : [0.75, 0.75, 0.75],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 56.862745,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x00eeee,
|
|
"a_dbg_index" : 5,
|
|
"a_dbg_name" : "Aluminium",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.47055999999999998, 0.47055999999999998, 0.47055999999999998],
|
|
"col_specular" : [0.40000000000000002, 0.40000000000000002, 0.40000000000000002],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 17.647059,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xee00ee,
|
|
"a_dbg_index" : 6,
|
|
"a_dbg_name" : "glassRed",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.57408000000000003, 0.0, 0.0],
|
|
"col_specular" : [0.75, 0.75, 0.75],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 66.666667,
|
|
"transparency" : 0.5
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x06671a,
|
|
"a_dbg_index" : 7,
|
|
"a_dbg_name" : "glassOranje",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.80000000000000004, 0.49568000000000001, 0.1004],
|
|
"col_specular" : [0.75, 0.75, 0.75],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 66.666667,
|
|
"transparency" : 0.5
|
|
}],
|
|
|
|
'buffers': 'VeyronNoUv_bin.bin',
|
|
|
|
'end': (new Date).getTime()
|
|
}
|
|
|
|
postMessage( model );
|