1. Diego Cantor
  2. WebGL Beginner's Guide - Code

Source

WebGL Beginner's Guide - Code / 1727_01 / models / nissan / part15.json

{
  "alias" : "Mesh.009_SKYLINE_GTR_BOTTOM_tire-house_Entity105_inner",
  "vertices" : [16.433228,6.127454,35.232468,16.229465,2.442047,35.358604,9.269094,6.142676,35.232838,9.269094,2.442047,35.358604,16.582855,8.496868,34.609604,9.269092,8.50411,34.610527,16.597374,10.307392,33.425339,9.269094,10.307392,33.425339,16.605846,11.466894,31.966839,9.269094,11.485395,31.966797,16.598846,12.341285,30.15427,9.269094,12.340592,30.154251,16.607315,12.695419,27.831242,9.269094,12.695419,27.831242,16.605476,12.463004,25.700172,9.269094,12.481797,25.70071,16.609161,11.744169,23.671394,9.269096,11.741996,23.671329,16.607315,10.366235,21.915817,9.269094,10.366235,21.915817,16.576019,8.504698,20.690929,9.269094,8.501965,20.689777,16.391701,6.134771,20.007694,9.269096,6.130092,20.007027,15.811845,4.010514,19.796814,9.269094,4.010514,19.796814,9.269094,3.191829,19.794758,14.916941,3.191829,19.794758],
  "indices" : [0,1,2,3,2,1,4,0,5,5,0,2,6,4,7,5,7,4,8,6,9,7,9,6,10,8,11,9,11,8,12,10,13,11,13,10,14,12,15,13,15,12,16,14,17,15,17,14,18,16,19,17,19,16,20,18,21,19,21,18,22,20,23,21,23,20,24,22,25,23,25,22,25,23,3,2,3,23,23,21,2,5,2,21,21,19,5,7,5,19,19,17,7,9,7,17,13,11,15,17,15,9,11,9,15,25,26,24,27,24,26,25,3,26],
  "Ni" : 1.00000,
  "Ka" : [0.00000,0.00000,0.00000],
  "d" : 1.00000,
  "Kd" : [0.06971,0.06971,0.06971],
  "illum" : 2,
  "Ks" : [0.50000,0.50000,0.50000],
  "Ns" : 96.07843
}