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

Source

WebGL Beginner's Guide - Code / 1727_09 / models / cars / squares / part3.json

{
  "alias" : "objectRed_meshRed_red",
  "vertices" : [3.0,0.0,-4.0,3.0,0.0,-2.0,1.0,0.0,-2.0,1.0,0.0,-4.0,3.0,0.0,-3.014029,1.0,0.0,-3.014029],
  "indices" : [5,2,1,5,1,4],
  "Ni" : 1.00000,
  "Ka" : [0.00000,0.00000,0.00000],
  "d" : 1.00000,
  "Kd" : [0.43600,0.00519,0.02740],
  "illum" : 2,
  "Ks" : [0.75500,0.20216,0.29883],
  "Ns" : 96.07843
}