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

Source

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

{
  "alias" : "Mesh.096_SKYLINE_GTR_BLK-PARTS_door-glass_Group12_Entity78_inner",
  "vertices" : [14.746614,16.780622,9.954563,14.794675,16.721596,7.943162,14.70644,16.969757,7.929373,14.658379,17.028778,9.940776,14.82559,16.722782,5.735093,14.737356,16.97094,5.721304,14.851911,16.828543,2.040881,14.76358,17.075787,2.051188,14.859204,17.001253,-1.752571,14.771052,17.246979,-1.718109,14.842892,17.211628,-5.613554,14.75526,17.455898,-5.55788,14.77379,17.470543,-10.317122,14.687511,17.714483,-10.246926,14.567839,17.079559,7.923275,14.51978,17.138582,9.934676,14.598757,17.080744,5.715206,14.624916,17.185165,2.055748,14.632432,17.355659,-1.702864,14.61685,17.563919,-5.533245,14.549781,17.82242,-10.215864,14.305459,17.079559,7.923275,14.257399,17.138582,9.934676,14.336374,17.080744,5.715206,14.362535,17.185165,2.055748,14.370047,17.355659,-1.702864,14.354465,17.563919,-5.533245,14.287396,17.82242,-10.215864,14.305459,16.721596,7.943162,14.257399,16.780622,9.954563,14.336374,16.722782,5.735093,14.362535,16.828226,2.059845,14.370047,17.001049,-1.734923,14.354465,17.211996,-5.606956,14.287396,17.472414,-10.319274],
  "indices" : [0,1,2,3,0,2,1,4,5,5,2,1,4,6,7,7,5,4,6,8,9,9,7,6,8,10,11,11,9,8,10,12,13,13,11,10,3,2,14,14,15,3,2,5,16,16,14,2,5,7,17,17,16,5,7,9,18,18,17,7,9,11,19,19,18,9,11,13,20,20,19,11,15,14,21,21,22,15,14,16,23,23,21,14,16,17,24,24,23,16,17,18,25,25,24,17,18,19,26,26,25,18,19,20,27,27,26,19,22,21,28,28,29,22,21,23,30,30,28,21,23,24,31,31,30,23,24,25,32,32,31,24,25,26,33,33,32,25,26,27,34,34,33,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
}