mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-13 15:05:56 +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.
342 lines
10 KiB
JavaScript
342 lines
10 KiB
JavaScript
// Converted from: ../../examples/obj/f50/F50NoUv.obj
|
|
// vertices: 67006
|
|
// faces: 97474
|
|
// materials: 25
|
|
//
|
|
// 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" : "F50NEGRO",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.15376000000000001, 0.10983999999999999, 0.037679999999999998],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xee0000,
|
|
"a_dbg_index" : 1,
|
|
"a_dbg_name" : "F50CROMO",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.1004, 0.10352, 0.062719999999999998],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 17.647059,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x00ee00,
|
|
"a_dbg_index" : 2,
|
|
"a_dbg_name" : "F50CRIST",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.040800000000000003, 0.15687999999999999, 0.0031199999999999999],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 0.4
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x0000ee,
|
|
"a_dbg_index" : 3,
|
|
"a_dbg_name" : "F50ROJO",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.56159999999999999, 0.043920000000000001, 0.069040000000000004],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xeeee00,
|
|
"a_dbg_index" : 4,
|
|
"a_dbg_name" : "F50NEGRO1",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.15376000000000001, 0.10983999999999999, 0.037679999999999998],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x00eeee,
|
|
"a_dbg_index" : 5,
|
|
"a_dbg_name" : "F50ALFO",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.15376000000000001, 0.10983999999999999, 0.037679999999999998],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xee00ee,
|
|
"a_dbg_index" : 6,
|
|
"a_dbg_name" : "F50REJIL",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.15376000000000001, 0.10983999999999999, 0.037679999999999998],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xcf36d4,
|
|
"a_dbg_index" : 7,
|
|
"a_dbg_name" : "F50RIGHT",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.56159999999999999, 0.043920000000000001, 0.069040000000000004],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x571aa8,
|
|
"a_dbg_index" : 8,
|
|
"a_dbg_name" : "F50CAPO1",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.56159999999999999, 0.043920000000000001, 0.069040000000000004],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xf91e1c,
|
|
"a_dbg_index" : 9,
|
|
"a_dbg_name" : "F50CAPO",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.56159999999999999, 0.043920000000000001, 0.069040000000000004],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x562b0f,
|
|
"a_dbg_index" : 10,
|
|
"a_dbg_name" : "F50LEFT",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.56159999999999999, 0.043920000000000001, 0.069040000000000004],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x17be30,
|
|
"a_dbg_index" : 11,
|
|
"a_dbg_name" : "F50MOTOR",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.1004, 0.10352, 0.062719999999999998],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 17.647059,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x27cd80,
|
|
"a_dbg_index" : 12,
|
|
"a_dbg_name" : "F50GOOD",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.15376000000000001, 0.10983999999999999, 0.037679999999999998],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 17.647059,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xce9ff4,
|
|
"a_dbg_index" : 13,
|
|
"a_dbg_name" : "F50RUEDA",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.15376000000000001, 0.10983999999999999, 0.037679999999999998],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 17.647059,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xf50be9,
|
|
"a_dbg_index" : 14,
|
|
"a_dbg_name" : "F50SUELO",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.15376000000000001, 0.10983999999999999, 0.037679999999999998],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x01a9e7,
|
|
"a_dbg_index" : 15,
|
|
"a_dbg_name" : "F50DISCO",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.41095999999999999, 0.36080000000000001, 0.25728000000000001],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 17.647059,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x9a8dc9,
|
|
"a_dbg_index" : 16,
|
|
"a_dbg_name" : "F50FARYE",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.79056000000000004, 0.41095999999999999, 0.0062399999999999999],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 0.6
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x60e7a0,
|
|
"a_dbg_index" : 17,
|
|
"a_dbg_name" : "F5OLOGO",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.41095999999999999, 0.36080000000000001, 0.25728000000000001],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 17.647059,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x8d5288,
|
|
"a_dbg_index" : 18,
|
|
"a_dbg_name" : "F50FARED",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.63056000000000001, 0.07528, 0.050160000000000003],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 0.7
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x18c267,
|
|
"a_dbg_index" : 19,
|
|
"a_dbg_name" : "F50FARWD",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.40472000000000002, 0.40472000000000002, 0.40472000000000002],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 0.7
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xbacfb3,
|
|
"a_dbg_index" : 20,
|
|
"a_dbg_name" : "F50ASIEN",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.56159999999999999, 0.043920000000000001, 0.069040000000000004],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xce4a2a,
|
|
"a_dbg_index" : 21,
|
|
"a_dbg_name" : "F50MATR",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.59919999999999995, 0.58984000000000003, 0.56472],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0x89463d,
|
|
"a_dbg_index" : 22,
|
|
"a_dbg_name" : "F50AIRE",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.15376000000000001, 0.10983999999999999, 0.037679999999999998],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xb2b942,
|
|
"a_dbg_index" : 23,
|
|
"a_dbg_name" : "F50TOPAL",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.56159999999999999, 0.043920000000000001, 0.069040000000000004],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 1.0
|
|
},
|
|
|
|
{
|
|
"a_dbg_color" : 0xd8f563,
|
|
"a_dbg_index" : 24,
|
|
"a_dbg_name" : "F50TOPAL1",
|
|
"col_ambient" : [0.0, 0.0, 0.0],
|
|
"col_diffuse" : [0.56159999999999999, 0.043920000000000001, 0.069040000000000004],
|
|
"col_specular" : [0.025000000000000001, 0.025000000000000001, 0.025000000000000001],
|
|
"illumination" : 2,
|
|
"optical_density" : 1.0,
|
|
"specular_coef" : 98.039216,
|
|
"transparency" : 1.0
|
|
}],
|
|
|
|
'buffers': 'F50NoUv_bin.bin',
|
|
|
|
'end': (new Date).getTime()
|
|
}
|
|
|
|
postMessage( model );
|