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

Source

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

{
  "alias" : "Mesh.046_SKYLINE_GTR_INTERIOR_rear_Entity179_Carmat_Gloss_3",
  "vertices" : [-0.674184,19.926657,-30.459137,-0.674296,18.802963,-30.260273,0.508967,19.912443,-30.459133,0.508967,18.802963,-30.260273,1.115514,19.655773,-31.05574,1.185118,18.87855,-31.015968,1.115514,19.410082,-31.643497,1.185118,18.929289,-31.632458,1.026153,19.785646,-30.747631,1.125457,18.833996,-30.658009,0.83069,19.868784,-30.55434,0.896759,18.803337,-30.369648,1.606925,19.009819,-32.567768,-2.464107,19.410082,-31.643497,-2.53371,18.929289,-31.632458,-2.464107,19.655773,-31.05574,-2.53371,18.87855,-31.015968,-2.374745,19.785646,-30.747631,-2.47405,18.833996,-30.658009,-2.179283,19.868784,-30.55434,-2.245352,18.803337,-30.369648,-1.85756,19.912443,-30.459133,-1.85756,18.802963,-30.260273,-2.955518,19.009819,-32.567768],
  "indices" : [0,1,2,3,2,1,4,5,6,7,6,5,8,9,4,5,4,9,10,11,8,9,8,11,2,3,10,11,10,3,6,7,12,13,14,15,16,15,14,15,16,17,18,17,16,17,18,19,20,19,18,19,20,21,22,21,20,13,23,14,22,0,21,1,0,22],
  "Ni" : 1.00000,
  "Ka" : [0.00000,0.00000,0.00000],
  "d" : 1.00000,
  "Kd" : [0.64000,0.64000,0.64000],
  "illum" : 2,
  "Ks" : [0.50000,0.50000,0.50000],
  "Ns" : 96.07843
}