Source

WebGL Beginner's Guide - Code / 1727_09 / models / cars / nissan / part33.json

Full commit
{
  "alias" : "Earth_Cube.003_earth",
  "vertices" : [-66.25853,-1.306265,-66.188866,-68.008781,-2.255296,-40.564068,-40.653885,-2.255296,-67.918968,-63.981525,1.504886,-87.427094,-87.472221,1.504886,-63.936405,-89.650681,0.638659,-38.84573,-42.205376,-3.233223,-42.089474,-38.903671,0.638659,-89.592735,-83.878723,4.07187,-83.848862,-67.581841,-1.317748,47.748325,-65.879013,1.488421,73.425133,-42.351757,-2.270029,47.117493,-68.687927,-2.261189,18.415243,-88.350983,1.497261,48.061302,-85.20295,4.060379,71.655319,-41.313564,0.617747,73.684822,-43.081692,-3.240827,17.284182,-90.088837,0.634856,19.6516,47.678658,-1.317748,-67.512161,47.02766,-2.270029,-42.261921,73.379997,1.488421,-65.833855,48.016178,1.497261,-88.30584,18.325424,-2.261189,-68.598106,17.168276,-3.240827,-42.965786,73.626854,0.617747,-41.255585,71.62545,4.060379,-85.173058,19.59366,0.634857,-90.030891,46.355335,-1.329231,46.425045,46.118675,1.480796,72.546402,72.501221,1.480796,46.16386,46.348503,-2.275922,16.717396,16.627537,-2.275922,46.438358,17.18376,0.613945,73.246674,70.301193,4.048888,70.331131,73.18869,0.613945,17.241751,16.291946,-3.248431,16.407873,111.138168,28.493162,47.434139,105.127762,28.78977,73.144432,113.178444,42.745972,47.670624,113.139343,28.382195,18.24206,105.017303,16.334332,46.724682,99.547661,17.466013,70.66468,106.987793,42.764221,73.971016,115.242004,42.727722,18.294706,106.831352,15.945208,18.084114,111.264771,28.494261,-64.109619,113.16127,28.382383,-39.422775,113.266106,42.746735,-64.145363,105.524574,28.793213,-84.706421,105.26075,16.336443,-64.002388,106.918991,15.945967,-39.712173,115.242027,42.727722,-39.326313,107.338356,42.767265,-85.187843,100.083221,17.470659,-83.262138,47.431778,28.493162,111.140518,18.239109,28.382195,113.142273,47.670559,42.745972,113.178497,73.142693,28.78977,105.129486,46.715416,16.334332,105.026558,18.072474,15.945208,106.842972,18.294653,42.727722,115.242043,73.970947,42.764221,106.987846,70.657928,17.466013,99.554413,-64.111946,28.494261,111.267067,-84.708115,28.793215,105.526237,-64.145401,42.746735,113.266106,-39.425709,28.382385,113.164169,-64.011612,16.336445,105.269958,-83.268845,17.470659,100.089912,-85.187866,42.767265,107.338341,-39.326347,42.727722,115.242027,-39.723789,15.945969,106.930588,-117.479881,28.51753,-61.428047,-110.863205,28.808443,-82.951363,-119.049797,42.770309,-61.428802,-120.622482,28.412327,-35.972301,-112.770119,16.358803,-61.425777,-106.715652,17.485952,-81.499786,-112.24572,42.782478,-83.435226,-122.252571,42.758141,-35.821068,-115.732185,15.974483,-36.425999,-117.606461,28.516432,50.115692,-111.259979,28.805002,74.89946,-113.013542,16.356691,49.301266,-120.644379,28.412134,21.692526,-119.137444,42.769547,50.387169,-112.596252,42.779434,75.72361,-107.25119,17.481306,72.427017,-115.819817,15.973722,21.370275,-122.252571,42.758141,21.799944,50.113411,28.516434,-117.604156,74.897812,28.805,-111.258308,50.387188,42.769547,-119.137444,21.689648,28.412136,-120.641495,49.292072,16.356691,-113.004341,72.420341,17.481304,-107.244492,75.723633,42.779434,-112.596245,21.799963,42.758141,-122.252571,21.358704,15.973722,-115.808235,-61.43034,28.51753,-117.477585,-35.975182,28.412325,-120.619568,-61.428795,42.770302,-119.049805,-82.953026,28.808443,-110.861542,-61.434975,16.358801,-112.760918,-36.437576,15.974483,-115.720604,-35.821049,42.758141,-122.252571,-83.435211,42.782471,-112.245735,-81.506462,17.485952,-106.708969,-81.135155,9.134071,-98.225563,-62.074711,7.089472,-103.28302,-37.362362,6.3986,-105.922653,70.569977,9.12691,-99.050758,48.425545,7.085304,-103.763161,20.696812,6.396698,-106.141724,-99.066589,9.126911,70.5858,-103.785957,7.085305,48.448322,-106.1707,6.396698,20.725773,-98.241394,9.134071,-81.119331,-103.305801,7.089472,-62.051926,-105.951622,6.3986,-37.333401,-82.79287,9.119686,89.357048,-64.411568,7.069194,93.310677,-40.319954,6.372935,94.463425,68.912239,9.112526,88.531883,46.088657,7.065027,92.830551,17.739206,6.371035,94.244362,89.341209,9.119686,-82.777016,93.28788,7.069193,-64.388756,94.434433,6.372934,-40.290951,88.515984,9.112526,68.928131,92.807709,7.065027,46.111507,94.215347,6.371035,17.768229,-10.445243,0.629783,-90.431938,-12.008995,-2.265755,-68.823212,-13.419878,-3.245081,-43.023026,-90.495682,0.629783,-10.381508,-68.922012,-2.265755,-11.910193,-43.15052,-3.245081,-13.292383,-13.096126,0.606781,73.327591,-13.876662,-2.281961,46.55283,-14.383834,-3.253445,16.525898,73.263817,0.606781,-13.032348,46.454002,-2.281961,-13.777831,16.398392,-3.253445,-14.256326,106.846382,15.936476,-11.86038,113.143105,28.373167,-11.640635,115.242012,42.718597,-11.567387,115.242004,58.027527,18.294706,113.178444,58.045776,47.67062,106.987793,58.064026,73.971016,88.676506,18.217491,88.681976,93.123985,28.984484,93.125389,94.606476,42.773346,94.606537,89.698921,18.226362,-97.62999,94.03685,28.992405,-100.620277,95.482834,42.780952,-101.617043,115.24202,58.027527,-39.326313,113.266106,58.046532,-64.14537,107.338356,58.067062,-85.187843,18.294653,58.027527,115.242058,47.670559,58.045776,113.178505,73.970955,58.064026,106.987846,-11.87317,15.936476,106.859146,-11.643866,28.373167,113.146324,-11.567431,42.718597,115.242043,-39.326347,58.027527,115.242027,-64.145401,58.046532,113.266106,-85.187866,58.067062,107.338341,-97.635399,18.226362,89.704315,-100.621635,28.992405,94.038193,-101.617058,42.780952,95.482811,-116.462036,15.96784,-8.245596,-121.330727,28.406103,-7.845112,-122.953613,42.752052,-7.711618,-122.252571,58.057938,-35.821068,-119.049805,58.070107,-61.428802,-112.245728,58.082275,-83.435226,-96.613037,18.235235,-96.607628,-99.708794,29.000326,-99.707458,-100.74073,42.788559,-100.74073,-122.252571,58.057938,21.799944,-119.137444,58.069344,50.387169,-112.596252,58.079231,75.72361,-8.258329,15.967842,-116.449287,-7.848281,28.406103,-121.327538,-7.711599,42.752052,-122.953629,21.799963,58.057938,-122.252571,50.387188,58.069344,-119.137444,75.723633,58.079231,-112.596245,-35.821053,58.057938,-122.252571,-61.428795,58.070107,-119.049805,-83.435219,58.082275,-112.245735,-93.584053,11.875501,83.824051,-92.428612,11.885526,-92.416939,83.812378,11.875501,-93.57238,82.656914,11.865473,82.66864,-9.078422,6.39112,-106.69278,-106.724655,6.39112,-9.046562,-12.331779,6.362889,94.284813,94.252914,6.362889,-12.299869,-14.328089,-3.257782,-14.18784,115.242012,58.018402,-11.567388,-11.56743,58.018402,115.242043,-122.953613,58.051857,-7.711617,-7.711599,58.051857,-122.953629,94.606476,58.073151,94.606537,95.482834,58.08075,-101.617043,-100.74073,58.088356,-100.74073,-101.617058,58.08075,95.482819],
  "indices" : [0,4,5,0,5,1,1,5,135,1,135,136,4,118,119,4,119,5,5,119,197,5,197,135,0,1,6,0,6,2,2,6,134,2,134,133,1,136,137,1,137,6,6,137,200,6,200,134,0,2,7,0,7,3,3,7,110,3,110,109,2,133,132,2,132,7,7,132,196,7,196,110,0,3,8,0,8,4,4,8,117,4,117,118,3,109,108,3,108,8,8,108,193,8,193,117,9,13,14,9,14,10,10,14,120,10,120,121,13,115,114,13,114,14,14,114,192,14,192,120,9,10,15,9,15,11,11,15,138,11,138,139,10,121,122,10,122,15,15,122,198,15,198,138,9,11,16,9,16,12,12,16,137,12,137,136,11,139,140,11,140,16,16,140,200,16,200,137,9,12,17,9,17,13,13,17,116,13,116,115,12,136,135,12,135,17,17,135,197,17,197,116,18,22,23,18,23,19,19,23,143,19,143,142,22,133,134,22,134,23,23,134,200,23,200,143,18,19,24,18,24,20,20,24,128,20,128,127,19,142,141,19,141,24,24,141,199,24,199,128,18,20,25,18,25,21,21,25,111,21,111,112,20,127,126,20,126,25,25,126,194,25,194,111,18,21,26,18,26,22,22,26,132,22,132,133,21,112,113,21,113,26,26,113,196,26,196,132,27,31,32,27,32,28,28,32,125,28,125,124,31,139,138,31,138,32,32,138,198,32,198,125,27,28,33,27,33,29,29,33,129,29,129,130,28,124,123,28,123,33,33,123,195,33,195,129,27,29,34,27,34,30,30,34,141,30,141,142,29,130,131,29,131,34,34,131,199,34,199,141,27,30,35,27,35,31,31,35,140,31,140,139,30,142,143,30,143,35,35,143,200,35,200,140,36,40,41,36,41,37,37,41,150,37,150,151,40,130,129,40,129,41,41,129,195,41,195,150,36,37,42,36,42,38,38,42,149,38,149,148,37,151,152,37,152,42,42,152,205,42,205,149,36,38,43,36,43,39,39,43,146,39,146,145,38,148,147,38,147,43,43,147,201,43,201,146,36,39,44,36,44,40,40,44,131,40,131,130,39,145,144,39,144,44,44,144,199,44,199,131,45,49,50,45,50,46,46,50,144,46,144,145,49,127,128,49,128,50,50,128,199,50,199,144,45,46,51,45,51,47,47,51,156,47,156,157,46,145,146,46,146,51,51,146,201,51,201,156,45,47,52,45,52,48,48,52,155,48,155,154,47,157,158,47,158,52,52,158,206,52,206,155,45,48,53,45,53,49,49,53,126,49,126,127,48,154,153,48,153,53,53,153,194,53,194,126,54,58,59,54,59,55,55,59,162,55,162,163,58,124,125,58,125,59,59,125,198,59,198,162,54,55,60,54,60,56,56,60,159,56,159,160,55,163,164,55,164,60,60,164,202,60,202,159,54,56,61,54,61,57,57,61,152,57,152,151,56,160,161,56,161,61,61,161,205,61,205,152,54,57,62,54,62,58,58,62,123,58,123,124,57,151,150,57,150,62,62,150,195,62,195,123,63,67,68,63,68,64,64,68,168,64,168,169,67,121,120,67,120,68,68,120,192,68,192,168,63,64,69,63,69,65,65,69,167,65,167,166,64,169,170,64,170,69,69,170,208,69,208,167,63,65,70,63,70,66,66,70,164,66,164,163,65,166,165,65,165,70,70,165,202,70,202,164,63,66,71,63,71,67,67,71,122,67,122,121,66,163,162,66,162,71,71,162,198,71,198,122,72,76,77,72,77,73,73,77,177,73,177,178,76,118,117,76,117,77,77,117,193,77,193,177,72,73,78,72,78,74,74,78,176,74,176,175,73,178,179,73,179,78,78,179,207,78,207,176,72,74,79,72,79,75,75,79,173,75,173,172,74,175,174,74,174,79,79,174,203,79,203,173,72,75,80,72,80,76,76,80,119,76,119,118,75,172,171,75,171,80,80,171,197,80,197,119,81,85,86,81,86,82,82,86,170,82,170,169,85,181,182,85,182,86,86,182,208,86,208,170,81,82,87,81,87,83,83,87,114,83,114,115,82,169,168,82,168,87,87,168,192,87,192,114,81,83,88,81,88,84,84,88,171,84,171,172,83,115,116,83,116,88,88,116,197,88,197,171,81,84,89,81,89,85,85,89,180,85,180,181,84,172,173,84,173,89,89,173,203,89,203,180,90,94,95,90,95,91,91,95,153,91,153,154,94,112,111,94,111,95,95,111,194,95,194,153,90,91,96,90,96,92,92,96,188,92,188,187,91,154,155,91,155,96,96,155,206,96,206,188,90,92,97,90,97,93,93,97,185,93,185,184,92,187,186,92,186,97,97,186,204,97,204,185,90,93,98,90,98,94,94,98,113,94,113,112,93,184,183,93,183,98,98,183,196,98,196,113,99,103,104,99,104,100,100,104,183,100,183,184,103,109,110,103,110,104,104,110,196,104,196,183,99,100,105,99,105,101,101,105,189,101,189,190,100,184,185,100,185,105,105,185,204,105,204,189,99,101,106,99,106,102,102,106,179,102,179,178,101,190,191,101,191,106,106,191,207,106,207,179,99,102,107,99,107,103,103,107,108,103,108,109,102,178,177,102,177,107,107,177,193,107,193,108],
  "Ni" : 1.00000,
  "Ka" : [0.00000,0.00000,0.00000],
  "d" : 1.00000,
  "Kd" : [0.2,0.2,0.2],
  "illum" : 2,
  "Ks" : [0.5,0.5,0.5],
  "Ns" : 96.07843
}