Source

WebGL Beginner's Guide - Code / 1727_09 / models / cars / bmw / part7.json

Full commit
{
  "alias" : "Nr_Schild_Plane.007_nr_shild",
  "vertices" : [0.216155,0.329111,2.571408,-0.216155,0.329111,2.571408,0.2126,0.382439,2.572314,-0.2126,0.382439,2.572314,0.219725,0.275616,2.570491,-0.219725,0.275616,2.570491,0.125199,0.274266,2.594618,-0.125199,0.274266,2.594618,0.117669,0.328465,2.596268,-0.117669,0.328465,2.596268,0.110216,0.382188,2.597899,-0.110216,0.382188,2.597899,0.033832,0.273707,2.607208,-0.033832,0.273707,2.607208,0.029579,0.328198,2.607942,-0.029579,0.328198,2.607942,0.025373,0.382084,2.608667,-0.025373,0.382084,2.608667,0.034053,0.27087,2.611396,-0.034053,0.27087,2.611396,0.125584,0.271549,2.598759,-0.125584,0.271549,2.598759,0.21245,0.384698,2.576577,-0.21245,0.384698,2.576577,0.109907,0.384428,2.602193,-0.109907,0.384428,2.602193,0.025198,0.384316,2.612924,-0.025198,0.384316,2.612924,0.255512,0.382587,2.561692,-0.255512,0.382587,2.561692,0.219889,0.27319,2.57467,-0.219889,0.27319,2.57467,0.256716,0.276407,2.561692,-0.256716,0.276407,2.561692,0.256128,0.32949,2.561692,-0.256128,0.32949,2.561692,0.259377,0.32955,2.565122,-0.259377,0.32955,2.565122,0.25998,0.27366,2.565122,-0.25998,0.27366,2.565122,0.222126,0.270272,2.578414,-0.222126,0.270272,2.578414,0.258743,0.385455,2.565122,-0.258743,0.385455,2.565122,0.023952,0.387275,2.617784,-0.023952,0.387275,2.617784,0.109074,0.387393,2.606706,-0.109074,0.387393,2.606706,0.21448,0.387678,2.580375,-0.21448,0.387678,2.580375,0.125189,0.268545,2.603175,-0.125189,0.268545,2.603175,0.033053,0.26783,2.616214,-0.033053,0.26783,2.616214,0.031511,0.263901,2.616765,-0.031511,0.263901,2.616765,0.124556,0.264663,2.603114,-0.124556,0.264663,2.603114,0.217552,0.391528,2.579367,-0.217552,0.391528,2.579367,0.107773,0.391225,2.606791,-0.107773,0.391225,2.606791,0.022031,0.3911,2.618401,-0.022031,0.3911,2.618401,0.263653,0.389161,2.563553,-0.263653,0.389161,2.563553,0.225516,0.266502,2.577325,-0.225516,0.266502,2.577325,0.264942,0.27011,2.563553,-0.264942,0.27011,2.563553,0.264313,0.329628,2.563553,-0.264313,0.329628,2.563553,0.266001,0.329645,2.531208,-0.266001,0.329645,2.531208,0.266638,0.269307,2.523523,-0.266638,0.269307,2.523523,0.226669,0.26565,2.53577,-0.226669,0.26565,2.53577,0.265332,0.389999,2.538877,-0.265332,0.389999,2.538877,0.021358,0.391964,2.598239,-0.021358,0.391964,2.598239,0.104454,0.392091,2.585598,-0.104454,0.392091,2.585598,0.215746,0.392399,2.555953,-0.215746,0.392399,2.555953,0.124318,0.263785,2.559811,-0.124318,0.263785,2.559811,0.030968,0.263013,2.573212,-0.030968,0.263013,2.573212,0.213563,0.367978,2.572068,-0.213563,0.367978,2.572068,0.21875,0.290203,2.570744,-0.21875,0.290203,2.570744,0.123123,0.289174,2.595074,-0.123123,0.289174,2.595074,0.112234,0.367637,2.597458,-0.112234,0.367637,2.597458,0.032658,0.288748,2.607411,-0.032658,0.288748,2.607411,0.026511,0.367496,2.608471,-0.026511,0.367496,2.608471,0.177598,0.274883,2.583036,-0.177598,0.274883,2.583036,0.171547,0.32876,2.584594,-0.171547,0.32876,2.584594,0.165548,0.382303,2.586134,-0.165548,0.382303,2.586134,0.0,0.382084,2.608682,0.0,0.328198,2.60832,0.0,0.273707,2.607953,0.05927,0.38211,2.60596,-0.05927,0.38211,2.60596,0.066391,0.328265,2.604645,-0.066391,0.328265,2.604645,0.073589,0.273847,2.603316,-0.073589,0.273847,2.603316,0.0,0.27087,2.61216,0.033998,0.271579,2.608236,-0.033998,0.271579,2.608236,0.073962,0.27104,2.607473,-0.073962,0.27104,2.607473,0.125488,0.272228,2.59561,-0.125488,0.272228,2.59561,0.212488,0.384133,2.573398,-0.212488,0.384133,2.573398,0.165298,0.384551,2.590424,-0.165298,0.384551,2.590424,0.109984,0.383868,2.599007,-0.109984,0.383868,2.599007,0.058975,0.384344,2.610241,-0.058975,0.384344,2.610241,0.025242,0.383758,2.609746,-0.025242,0.383758,2.609746,0.0,0.384316,2.612924,0.244784,0.38255,2.562234,-0.244784,0.38255,2.562234,0.244732,0.384249,2.565413,-0.244732,0.384249,2.565413,0.177899,0.272299,2.587181,-0.177899,0.272299,2.587181,0.219848,0.273796,2.571512,-0.219848,0.273796,2.571512,0.247509,0.274475,2.564936,-0.247509,0.274475,2.564936,0.247468,0.276209,2.561779,-0.247468,0.276209,2.561779,0.256569,0.290806,2.561692,-0.256569,0.290806,2.561692,0.246135,0.329395,2.562007,-0.246135,0.329395,2.562007,0.25568,0.368178,2.561692,-0.25568,0.368178,2.561692,0.25694,0.329505,2.564662,-0.25694,0.329505,2.564662,0.257532,0.27572,2.564662,-0.257532,0.27572,2.564662,0.259829,0.28882,2.565122,-0.259829,0.28882,2.565122,0.220448,0.27246,2.577719,-0.220448,0.27246,2.577719,0.250517,0.271625,2.568445,-0.250517,0.271625,2.568445,0.258916,0.370284,2.565122,-0.258916,0.370284,2.565122,0.25632,0.383304,2.564662,-0.25632,0.383304,2.564662,0.024887,0.385056,2.616252,-0.024887,0.385056,2.616252,0.0,0.387275,2.617784,0.109699,0.385169,2.605435,-0.109699,0.385169,2.605435,0.057208,0.387305,2.615015,-0.057208,0.387305,2.615015,0.247663,0.387205,2.568935,-0.247663,0.387205,2.568936,0.212958,0.385443,2.57964,-0.212958,0.385443,2.57964,0.166011,0.387523,2.594584,-0.166011,0.387523,2.594584,0.125485,0.270798,2.601976,-0.125485,0.270798,2.601976,0.178964,0.269334,2.591251,-0.178964,0.269334,2.591251,0.0,0.26783,2.616999,0.033803,0.27011,2.614714,-0.033803,0.27011,2.614714,0.072614,0.268009,2.61217,-0.072614,0.268009,2.61217,0.0,0.263901,2.617583,0.032168,0.265328,2.616648,-0.032168,0.265328,2.616648,0.070528,0.264092,2.612535,-0.070528,0.264092,2.612535,0.124833,0.266072,2.603255,-0.124833,0.266072,2.603255,0.216262,0.39013,2.579909,-0.216262,0.39013,2.579909,0.167072,0.391364,2.59413,-0.167072,0.391364,2.59413,0.108332,0.389834,2.60687,-0.108332,0.389834,2.60687,0.054482,0.391131,2.615498,-0.054482,0.391131,2.615498,0.022848,0.389711,2.618255,-0.022848,0.389711,2.618255,0.0,0.3911,2.618401,0.261586,0.387816,2.564332,-0.261586,0.387816,2.564332,0.252113,0.391025,2.567507,-0.252113,0.391025,2.567507,0.180563,0.265503,2.590658,-0.180563,0.265503,2.590658,0.224092,0.267871,2.577901,-0.224092,0.267871,2.577901,0.255085,0.267943,2.566996,-0.255085,0.267943,2.566996,0.262853,0.271398,2.564332,-0.262853,0.271398,2.564332,0.264785,0.286254,2.563553,-0.264785,0.286254,2.563553,0.262235,0.3296,2.564332,-0.262235,0.3296,2.564332,0.263833,0.373006,2.563553,-0.263833,0.373006,2.563553,0.265579,0.329641,2.55508,-0.265579,0.329641,2.55508,0.266214,0.269508,2.553159,-0.266214,0.269508,2.553159,0.266479,0.285674,2.525444,-0.266479,0.285674,2.525444,0.256646,0.267111,2.526585,-0.256646,0.267111,2.526585,0.226381,0.265863,2.566633,-0.226381,0.265863,2.566633,0.264912,0.38979,2.556998,-0.264912,0.38979,2.556998,0.265515,0.373621,2.536967,-0.265515,0.373621,2.536967,0.0,0.391964,2.598283,0.021526,0.391748,2.613352,-0.021526,0.391748,2.613352,0.052811,0.391996,2.595035,-0.052811,0.391996,2.595035,0.106708,0.391875,2.601392,-0.106708,0.391875,2.601392,0.163145,0.392232,2.57191,-0.163145,0.392232,2.57191,0.217623,0.392181,2.573224,-0.217623,0.392181,2.573224,0.25292,0.391889,2.543138,-0.25292,0.391889,2.543138,0.181097,0.264637,2.547904,-0.181097,0.264637,2.547904,0.124378,0.264005,2.592162,-0.124378,0.264005,2.592162,0.06979,0.263206,2.569058,-0.06979,0.263206,2.569058,0.031104,0.263235,2.605857,-0.031104,0.263235,2.605857,0.0,0.263013,2.574016,0.030968,0.263013,2.529699,-0.030968,0.263013,2.529699,0.124318,0.263785,2.51676,-0.124318,0.263785,2.51676,0.212896,0.392399,2.533118,-0.212896,0.392399,2.533118,0.101603,0.392091,2.564607,-0.101603,0.392091,2.564607,0.021358,0.391964,2.578094,-0.021358,0.391964,2.578094,0.265332,0.389999,2.514973,-0.265332,0.389999,2.514973,0.226669,0.26565,2.494823,-0.226669,0.26565,2.494823,0.266638,0.269307,2.484266,-0.266638,0.269307,2.484266,0.266001,0.329645,2.499635,-0.266001,0.329645,2.499635,0.175934,0.289644,2.583466,-0.175934,0.289644,2.583466,0.167172,0.367793,2.585717,-0.167172,0.367793,2.585717,0.0,0.367496,2.608584,0.0,0.288748,2.608054,0.061198,0.367531,2.605604,-0.061198,0.367531,2.605604,0.071603,0.288855,2.603683,-0.071603,0.288855,2.603683,0.0,0.271579,2.608995,0.073869,0.271742,2.604321,-0.073869,0.271742,2.604321,0.177824,0.272945,2.584032,-0.177824,0.272945,2.584032,0.24033,0.274745,2.565117,-0.24033,0.274745,2.565117,0.245151,0.368128,2.562173,-0.245151,0.368128,2.562173,0.236384,0.383778,2.565955,-0.236384,0.383778,2.565955,0.16536,0.383989,2.587238,-0.16536,0.383989,2.587238,0.059049,0.383785,2.607058,-0.059049,0.383785,2.607058,0.0,0.383758,2.60975,0.247114,0.290655,2.561842,-0.247114,0.290655,2.561842,0.257384,0.290309,2.564662,-0.257384,0.290309,2.564662,0.0,0.385056,2.616252,0.058533,0.385084,2.613548,-0.058533,0.385084,2.613548,0.165476,0.385294,2.593577,-0.165476,0.385294,2.593577,0.245465,0.384988,2.568407,-0.245465,0.384988,2.568407,0.256489,0.368705,2.564662,-0.256489,0.368705,2.564662,0.248261,0.273763,2.567927,-0.248261,0.273763,2.567927,0.178166,0.271558,2.590312,-0.178166,0.271558,2.590312,0.073625,0.270282,2.61076,-0.073625,0.270282,2.61076,0.0,0.27011,2.615483,0.0,0.265328,2.617451,0.071418,0.265514,2.612496,-0.071418,0.265514,2.612496,0.179897,0.266894,2.591024,-0.179897,0.266894,2.591024,0.253163,0.26928,2.567724,-0.253163,0.26928,2.567724,0.261764,0.372018,2.564332,-0.261764,0.372018,2.564332,0.25024,0.389638,2.568226,-0.25024,0.389638,2.568226,0.166633,0.389969,2.594438,-0.166633,0.389969,2.594438,0.055643,0.389742,2.615409,-0.055643,0.389742,2.615409,0.0,0.389711,2.618255,0.262699,0.287185,2.564332,-0.262699,0.287185,2.564332,0.266055,0.285819,2.553639,-0.266055,0.285819,2.553639,0.0,0.391748,2.613363,0.053585,0.39178,2.610351,-0.053585,0.39178,2.610351,0.166265,0.392015,2.588381,-0.166265,0.392015,2.588381,0.253074,0.391673,2.561052,-0.253074,0.391673,2.561052,0.265094,0.373467,2.55652,-0.265094,0.373467,2.55652,0.256256,0.267319,2.556528,-0.256256,0.267319,2.556528,0.180964,0.264854,2.579752,-0.180964,0.264854,2.579752,0.069974,0.263428,2.601614,-0.069974,0.263428,2.601614,0.0,0.263235,2.606677,0.0,0.263013,2.530478,0.06979,0.263206,2.525685,-0.06979,0.263206,2.525685,0.181097,0.264637,2.505585,-0.181097,0.264637,2.505585,0.256646,0.267111,2.486905,-0.256646,0.267111,2.486905,0.265515,0.373621,2.511154,-0.265515,0.373621,2.511154,0.252207,0.391889,2.519494,-0.252207,0.391889,2.519494,0.15887,0.392232,2.550078,-0.15887,0.392232,2.550078,0.052098,0.391996,2.574635,-0.052098,0.391996,2.574635,0.0,0.391964,2.578182,0.266479,0.285674,2.488108,-0.266479,0.285674,2.488108],
  "indices" : [0,104,279,0,279,92,0,92,305,0,305,149,0,149,296,0,296,90,0,90,281,0,281,104,1,91,297,1,297,150,1,150,306,1,306,93,1,93,280,1,280,105,1,105,282,1,282,91,2,124,300,2,300,106,2,106,281,2,281,90,2,90,296,2,296,135,2,135,298,2,298,124,3,136,297,3,297,91,3,91,282,3,282,107,3,107,301,3,301,125,3,125,299,3,299,136,4,145,305,4,305,92,4,92,279,4,279,102,4,102,292,4,292,141,4,141,294,4,294,145,5,142,293,5,293,103,5,103,280,5,280,93,5,93,306,5,306,146,5,146,295,5,295,142,6,122,292,6,292,102,6,102,279,6,279,94,6,94,287,6,287,115,6,115,290,6,290,122,7,116,288,7,288,95,7,95,280,7,280,103,7,103,293,7,293,123,7,123,291,7,291,116,8,94,279,8,279,104,8,104,281,8,281,96,8,96,285,8,285,113,8,113,287,8,287,94,9,114,286,9,286,97,9,97,282,9,282,105,9,105,280,9,280,95,9,95,288,9,288,114,10,128,302,10,302,111,10,111,285,10,285,96,10,96,281,10,281,106,10,106,300,10,300,128,11,107,282,11,282,97,11,97,286,11,286,112,11,112,303,11,303,129,11,129,301,11,301,107,12,98,284,12,284,110,12,110,289,12,289,118,12,118,290,12,290,115,12,115,287,12,287,98,13,116,291,13,291,119,13,119,289,13,289,110,13,110,284,13,284,99,13,99,288,13,288,116,14,100,283,14,283,109,14,109,284,14,284,98,14,98,287,14,287,113,14,113,285,14,285,100,15,114,288,15,288,99,15,99,284,15,284,109,15,109,283,15,283,101,15,101,286,15,286,114,16,132,304,16,304,108,16,108,283,16,283,100,16,100,285,16,285,111,16,111,302,16,302,132,17,112,286,17,286,101,17,101,283,17,283,108,17,108,304,17,304,133,17,133,303,17,303,112,18,117,324,18,324,185,18,185,322,18,322,120,18,120,290,18,290,118,18,118,289,18,289,117,19,119,291,19,291,121,19,121,323,19,323,186,19,186,324,19,324,117,19,117,289,19,289,119,20,120,322,20,322,180,20,180,320,20,320,139,20,139,292,20,292,122,20,122,290,20,290,120,21,123,293,21,293,140,21,140,321,21,321,181,21,181,323,21,323,121,21,121,291,21,291,123,22,137,314,22,314,176,22,176,312,22,312,126,22,126,300,22,300,124,22,124,298,22,298,137,23,125,301,23,301,127,23,127,313,23,313,177,23,177,315,23,315,138,23,138,299,23,299,125,24,126,312,24,312,170,24,170,310,24,310,130,24,130,302,24,302,128,24,128,300,24,300,126,25,129,303,25,303,131,25,131,311,25,311,171,25,171,313,25,313,127,25,127,301,25,301,129,26,130,310,26,310,167,26,167,309,26,309,134,26,134,304,26,304,132,26,132,302,26,302,130,27,133,304,27,304,134,27,134,309,27,309,168,27,168,311,27,311,131,27,131,303,27,303,133,28,151,316,28,316,165,28,165,314,28,314,137,28,137,298,28,298,135,28,135,296,28,296,151,29,136,299,29,299,138,29,138,315,29,315,166,29,166,317,29,317,152,29,152,297,29,297,136,30,139,320,30,320,159,30,159,318,30,318,143,30,143,294,30,294,141,30,141,292,30,292,139,31,142,295,31,295,144,31,144,319,31,319,160,31,160,321,31,321,140,31,140,293,31,293,142,32,143,318,32,318,155,32,155,307,32,307,147,32,147,305,32,305,145,32,145,294,32,294,143,33,146,306,33,306,148,33,148,308,33,308,156,33,156,319,33,319,144,33,144,295,33,295,146,34,147,307,34,307,153,34,153,316,34,316,151,34,151,296,34,296,149,34,149,305,34,305,147,35,150,297,35,297,152,35,152,317,35,317,154,35,154,308,35,308,148,35,148,306,35,306,150],
  "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
}