Source

WebGL Beginner's Guide - Code / 1727_09 / models / cars / audi / part60.json

Full commit
{
  "alias" : "Front_Glass.007_Plane.079_glass",
  "vertices" : [0.139354,1.533054,-0.97964,-0.152058,1.533054,-0.97964,0.139274,1.533618,-0.975004,-0.151978,1.533618,-0.975004,0.142482,1.511727,-1.087473,-0.155186,1.511727,-1.087473,0.172443,1.209294,-2.224479,-0.185146,1.209294,-2.224479,0.166649,1.241577,-2.115331,-0.179352,1.241577,-2.115331,0.153534,1.345231,-1.764085,-0.166238,1.345231,-1.764085,0.152103,1.380772,-1.628975,-0.164807,1.380772,-1.628975,0.157249,1.29822,-1.924555,-0.169952,1.29822,-1.924555,0.150761,1.406818,-1.529301,-0.163465,1.406818,-1.529301,0.14731,1.466882,-1.291059,-0.160014,1.466882,-1.291059,0.150097,1.421358,-1.474365,-0.162801,1.421358,-1.474365,0.149447,1.43501,-1.421577,-0.16215,1.43501,-1.421577,0.537685,1.407406,-1.406122,-0.550389,1.407406,-1.406122,0.383698,1.422453,-1.413544,-0.396402,1.422453,-1.413544,0.538985,1.393753,-1.458911,-0.551689,1.393753,-1.458911,0.384998,1.408801,-1.466333,-0.397702,1.408801,-1.466333,0.533412,1.439545,-1.275598,-0.546116,1.439545,-1.275598,0.379425,1.454592,-1.28302,-0.392129,1.454592,-1.28302,0.540313,1.379214,-1.513846,-0.553017,1.379214,-1.513846,0.386326,1.394261,-1.521268,-0.39903,1.394261,-1.521268,0.557379,1.276805,-1.882811,-0.570083,1.276805,-1.882811,0.401629,1.288266,-1.906029,-0.414333,1.288266,-1.906029,0.542997,1.353168,-1.61352,-0.555701,1.353168,-1.61352,0.38901,1.368215,-1.620942,-0.401714,1.368215,-1.620942,0.54586,1.317627,-1.748631,-0.558564,1.317627,-1.748631,0.391873,1.332674,-1.756052,-0.404577,1.332674,-1.756052,0.581177,1.235589,-1.995167,-0.593881,1.235589,-1.995167,0.423968,1.237819,-2.067367,-0.436671,1.237819,-2.067367,0.603304,1.212165,-2.044398,-0.616008,1.212165,-2.044398,0.443099,1.209379,-2.152611,-0.455803,1.209379,-2.152611,0.525215,1.484654,-1.072007,-0.537919,1.484654,-1.072007,0.369769,1.499701,-1.079429,-0.382473,1.499701,-1.079429,0.520258,1.506278,-0.959543,-0.532962,1.506278,-0.959543,0.363353,1.521325,-0.966965,-0.376057,1.521325,-0.966965,0.520419,1.505977,-0.964175,-0.533122,1.505977,-0.964175,0.363513,1.521024,-0.971596,-0.376217,1.521024,-0.971596,0.598871,1.497926,-0.960475,-0.611575,1.497926,-0.960475,0.598711,1.49849,-0.955838,-0.611415,1.49849,-0.955838,0.602209,1.476599,-1.068308,-0.614912,1.476599,-1.068308,0.671647,1.215541,-1.980011,-0.684351,1.215541,-1.980011,0.654067,1.235612,-1.950294,-0.666771,1.235612,-1.950294,0.621394,1.310103,-1.744919,-0.634098,1.310103,-1.744919,0.618531,1.345644,-1.609809,-0.631235,1.345644,-1.609809,0.632349,1.27099,-1.869738,-0.645053,1.27099,-1.869738,0.615848,1.37169,-1.510135,-0.628551,1.37169,-1.510135,0.608947,1.431754,-1.271893,-0.621651,1.431754,-1.271893,0.61452,1.38623,-1.4552,-0.627223,1.38623,-1.4552,0.613219,1.399882,-1.402411,-0.625923,1.399882,-1.402411,0.285909,1.429354,-1.417408,-0.298613,1.429354,-1.417408,0.287047,1.415702,-1.470196,-0.29975,1.415702,-1.470196,0.28217,1.461293,-1.286888,-0.294874,1.461293,-1.286888,0.288209,1.401162,-1.525132,-0.300912,1.401162,-1.525132,0.300144,1.293578,-1.915732,-0.312848,1.293578,-1.915732,0.290557,1.375116,-1.624806,-0.303261,1.375116,-1.624806,0.293062,1.339575,-1.759916,-0.305766,1.339575,-1.759916,0.317479,1.239885,-2.093021,-0.330182,1.239885,-2.093021,0.329504,1.209653,-2.192491,-0.342208,1.209653,-2.192491,0.273721,1.506204,-1.083301,-0.286425,1.506204,-1.083301,0.268107,1.528028,-0.970833,-0.280811,1.528028,-0.970833,0.268247,1.52753,-0.975469,-0.280951,1.52753,-0.975469,0.140171,1.527473,-1.008758,-0.152875,1.527473,-1.008758,-0.006352,1.535571,-0.981801,0.1393,1.533445,-0.976322,-0.152004,1.533445,-0.976322,0.139263,1.533682,-0.974685,-0.151967,1.533682,-0.974685,-0.006352,1.536135,-0.977165,0.145219,1.490102,-1.190127,-0.157922,1.490102,-1.190127,-0.006352,1.514244,-1.089634,0.171175,1.219573,-2.191787,-0.183879,1.219573,-2.191787,-0.006352,1.208956,-2.2385,0.172081,1.204878,-2.23529,-0.184785,1.204878,-2.23529,0.161221,1.269671,-2.018469,-0.173925,1.269671,-2.018469,-0.006352,1.24233,-2.12565,0.152941,1.363234,-1.696292,-0.165645,1.363234,-1.696292,-0.006352,1.347748,-1.766246,0.154698,1.324361,-1.838218,-0.167402,1.324361,-1.838218,0.151287,1.395936,-1.570516,-0.16399,1.395936,-1.570516,-0.006352,1.383289,-1.631135,-0.006352,1.300374,-1.928746,0.150405,1.414823,-1.49927,-0.163108,1.414823,-1.49927,-0.006352,1.409335,-1.531462,-0.006352,1.469398,-1.29322,0.148729,1.446905,-1.373724,-0.161433,1.446905,-1.373724,0.149793,1.42767,-1.449998,-0.162496,1.42767,-1.449998,-0.006352,1.423874,-1.476526,-0.006352,1.437527,-1.423738,0.538377,1.400066,-1.434543,-0.55108,1.400066,-1.434543,0.38439,1.415113,-1.441965,-0.397093,1.415113,-1.441965,0.53625,1.419368,-1.358268,-0.548954,1.419368,-1.358268,0.382263,1.434415,-1.365689,-0.394967,1.434415,-1.365689,0.385614,1.402266,-1.491237,-0.398317,1.402266,-1.491237,0.539601,1.387219,-1.483815,-0.552304,1.387219,-1.483815,0.529594,1.462965,-1.174662,-0.542297,1.462965,-1.174662,0.375242,1.478013,-1.182084,-0.387946,1.478013,-1.182084,0.541365,1.368332,-1.555062,-0.554069,1.368332,-1.555062,0.387378,1.383379,-1.562484,-0.400082,1.383379,-1.562484,0.568618,1.255207,-1.943976,-0.581322,1.255207,-1.943976,0.411622,1.262567,-1.987336,-0.424326,1.262567,-1.987336,0.54921,1.298304,-1.816191,-0.561914,1.298304,-1.816191,0.394782,1.312455,-1.827562,-0.407486,1.312455,-1.827562,0.544674,1.33563,-1.680838,-0.557378,1.33563,-1.680838,0.390687,1.350677,-1.688259,-0.403391,1.350677,-1.688259,0.435512,1.218572,-2.128373,-0.448216,1.218572,-2.128373,0.593318,1.220419,-2.030578,-0.606022,1.220419,-2.030578,0.612213,1.207369,-2.047422,-0.624916,1.207369,-2.047422,0.448708,1.205212,-2.158463,-0.461412,1.205212,-2.158463,0.365146,1.515444,-1.000714,-0.37785,1.515444,-1.000714,0.521687,1.500396,-0.993292,-0.53439,1.500396,-0.993292,0.520236,1.506078,-0.95923,-0.53294,1.506078,-0.95923,0.363331,1.521125,-0.966652,-0.376035,1.521125,-0.966652,0.52031,1.506302,-0.960858,-0.533013,1.506302,-0.960858,0.363404,1.521349,-0.96828,-0.376108,1.521349,-0.96828,0.461421,1.41493,-1.409833,-0.474125,1.41493,-1.409833,0.462721,1.401277,-1.462622,-0.475425,1.401277,-1.462622,0.457148,1.447203,-1.279306,-0.469852,1.447203,-1.279306,0.464049,1.386737,-1.517557,-0.476753,1.386737,-1.517557,0.480957,1.282577,-1.895153,-0.49366,1.282577,-1.895153,0.466733,1.360691,-1.617231,-0.479437,1.360691,-1.617231,0.469596,1.325151,-1.752342,-0.4823,1.325151,-1.752342,0.505429,1.236136,-2.035654,-0.518133,1.236136,-2.035654,0.529081,1.20978,-2.103644,-0.541785,1.20978,-2.103644,0.447857,1.492443,-1.075713,-0.460561,1.492443,-1.075713,0.441806,1.513933,-0.963251,-0.45451,1.513933,-0.963252,0.441966,1.513764,-0.96788,-0.45467,1.513764,-0.96788,0.598762,1.498317,-0.957157,-0.611466,1.498317,-0.957157,0.599774,1.492345,-0.989592,-0.612478,1.492345,-0.989592,0.659727,1.210713,-1.999837,-0.672431,1.210713,-1.999837,0.664314,1.223344,-1.969608,-0.677018,1.223344,-1.969608,0.579081,1.500419,-0.956527,-0.591785,1.500419,-0.956527,0.624603,1.291208,-1.810139,-0.637307,1.291208,-1.810139,0.620208,1.328106,-1.677127,-0.632912,1.328106,-1.677127,0.616899,1.360808,-1.551351,-0.629603,1.360808,-1.551351,0.642786,1.251706,-1.91827,-0.65549,1.251706,-1.91827,0.615135,1.379695,-1.480104,-0.627839,1.379695,-1.480104,0.611784,1.411777,-1.354558,-0.624488,1.411777,-1.354558,0.605493,1.454974,-1.170961,-0.618197,1.454974,-1.170961,0.613911,1.392542,-1.430832,-0.626615,1.392542,-1.430832,0.286514,1.422014,-1.445829,-0.299218,1.422014,-1.445829,0.27851,1.484563,-1.185955,-0.291214,1.484563,-1.185955,0.284653,1.441266,-1.369554,-0.297357,1.441266,-1.369554,0.287585,1.409167,-1.495101,-0.300289,1.409167,-1.495101,0.307607,1.266273,-2.003947,-0.320311,1.266273,-2.003947,0.289129,1.39028,-1.566347,-0.301832,1.39028,-1.566347,0.292024,1.357578,-1.692123,-0.304728,1.357578,-1.692123,0.295244,1.318958,-1.832885,-0.307948,1.318958,-1.832885,0.268088,1.528027,-0.970516,-0.280792,1.528027,-0.970516,0.326022,1.219362,-2.16264,-0.338726,1.219362,-2.16264,0.330454,1.205351,-2.202457,-0.343158,1.205351,-2.202457,0.269676,1.521949,-1.004586,-0.28238,1.521949,-1.004586,0.268152,1.527905,-0.972151,-0.280856,1.527905,-0.972151,-0.006352,1.535962,-0.978483,-0.006352,1.529989,-1.010919,-0.006352,1.204488,-2.248915,-0.006352,1.219533,-2.20508,-0.006352,1.536199,-0.976846,-0.006352,1.326787,-1.840886,-0.006352,1.365751,-1.698453,-0.006352,1.398453,-1.572677,-0.006352,1.271294,-2.025207,-0.006352,1.41734,-1.501431,-0.006352,1.449422,-1.375885,-0.006352,1.492619,-1.192288,-0.006352,1.430187,-1.452159,0.462113,1.40759,-1.438254,-0.474816,1.40759,-1.438254,0.459986,1.426925,-1.361978,-0.47269,1.426925,-1.361978,0.463337,1.394742,-1.487526,-0.47604,1.394742,-1.487526,0.453056,1.470722,-1.178368,-0.46576,1.470722,-1.178368,0.465101,1.375856,-1.558773,-0.477805,1.375856,-1.558773,0.492285,1.258798,-1.967668,-0.504989,1.258798,-1.967668,0.472906,1.30539,-1.82206,-0.48561,1.30539,-1.82206,0.46841,1.343153,-1.684548,-0.481114,1.343153,-1.684548,0.518368,1.218495,-2.085511,-0.531072,1.218495,-2.085511,0.538681,1.205528,-2.105915,-0.551385,1.205528,-2.105915,0.443508,1.508184,-0.996997,-0.456211,1.508184,-0.996997,0.441784,1.513602,-0.962941,-0.454487,1.513602,-0.962941,0.441857,1.514056,-0.964564,-0.454561,1.514056,-0.964564],
  "indices" : [0,123,284,0,284,118,0,118,282,0,282,120,0,120,287,0,287,122,0,122,286,0,286,123,1,122,287,1,287,121,1,121,283,1,283,119,1,119,285,1,285,124,1,124,286,1,286,122,2,116,284,2,284,123,2,123,286,2,286,127,2,127,290,2,290,125,2,125,276,2,276,116,3,126,290,3,290,127,3,127,286,3,286,124,3,124,285,3,285,117,3,117,277,3,277,126,4,120,282,4,282,114,4,114,262,4,262,128,4,128,297,4,297,130,4,130,287,4,287,120,5,130,297,5,297,129,5,129,263,5,263,115,5,115,283,5,283,121,5,121,287,5,287,130,6,112,280,6,280,134,6,134,288,6,288,133,6,133,289,6,289,131,6,131,278,6,278,112,7,132,289,7,289,133,7,133,288,7,288,135,7,135,281,7,281,113,7,113,279,7,279,132,8,110,278,8,278,131,8,131,289,8,289,138,8,138,294,8,294,136,8,136,268,8,268,110,9,137,294,9,294,138,9,138,289,9,289,132,9,132,279,9,279,111,9,111,269,9,269,137,10,108,274,10,274,142,10,142,291,10,291,141,10,141,292,10,292,139,10,139,272,10,272,108,11,140,292,11,292,141,11,141,291,11,291,143,11,143,275,11,275,109,11,109,273,11,273,140,12,106,272,12,272,139,12,139,292,12,292,146,12,146,293,12,293,144,12,144,270,12,270,106,13,145,293,13,293,146,13,146,292,13,292,140,13,140,273,13,273,107,13,107,271,13,271,145,14,142,274,14,274,104,14,104,268,14,268,136,14,136,294,14,294,147,14,147,291,14,291,142,15,147,294,15,294,137,15,137,269,15,269,105,15,105,275,15,275,143,15,143,291,15,291,147,16,102,270,16,270,144,16,144,293,16,293,150,16,150,295,16,295,148,16,148,266,16,266,102,17,149,295,17,295,150,17,150,293,17,293,145,17,145,271,17,271,103,17,103,267,17,267,149,18,100,264,18,264,152,18,152,296,18,296,151,18,151,297,18,297,128,18,128,262,18,262,100,19,129,297,19,297,151,19,151,296,19,296,153,19,153,265,19,265,101,19,101,263,19,263,129,20,98,266,20,266,148,20,148,295,20,295,156,20,156,298,20,298,154,20,154,260,20,260,98,21,155,298,21,298,156,21,156,295,21,295,149,21,149,267,21,267,99,21,99,261,21,261,155,22,152,264,22,264,96,22,96,260,22,260,154,22,154,298,22,298,157,22,157,296,22,296,152,23,157,298,23,298,155,23,155,261,23,261,97,23,97,265,23,265,153,23,153,296,23,296,157,24,94,258,24,258,158,24,158,299,24,299,210,24,210,301,24,301,162,24,162,254,24,254,94,25,163,302,25,302,211,25,211,300,25,300,159,25,159,259,25,259,95,25,95,255,25,255,163,26,210,299,26,299,160,26,160,260,26,260,96,26,96,264,26,264,164,26,164,301,26,301,210,27,165,265,27,265,97,27,97,261,27,261,161,27,161,300,27,300,211,27,211,302,27,302,165,28,158,258,28,258,92,28,92,252,28,252,168,28,168,303,28,303,212,28,212,299,28,299,158,29,213,304,29,304,169,29,169,253,29,253,93,29,93,259,29,259,159,29,159,300,29,300,213,30,160,299,30,299,212,30,212,303,30,303,166,30,166,266,30,266,98,30,98,260,30,260,160,31,99,267,31,267,167,31,167,304,31,304,213,31,213,300,31,300,161,31,161,261,31,261,99,32,170,256,32,256,90,32,90,254,32,254,162,32,162,301,32,301,214,32,214,305,32,305,170,33,215,302,33,302,163,33,163,255,33,255,91,33,91,257,33,257,171,33,171,306,33,306,215,34,172,305,34,305,214,34,214,301,34,301,164,34,164,264,34,264,100,34,100,262,34,262,172,35,101,265,35,265,165,35,165,302,35,302,215,35,215,306,35,306,173,35,173,263,35,263,101,36,168,252,36,252,88,36,88,248,36,248,174,36,174,307,36,307,216,36,216,303,36,303,168,37,217,308,37,308,175,37,175,249,37,249,89,37,89,253,37,253,169,37,169,304,37,304,217,38,166,303,38,303,216,38,216,307,38,307,176,38,176,270,38,270,102,38,102,266,38,266,166,39,103,271,39,271,177,39,177,308,39,308,217,39,217,304,39,304,167,39,167,267,39,267,103,40,86,250,40,250,178,40,178,309,40,309,218,40,218,311,40,311,182,40,182,244,40,244,86,41,183,312,41,312,219,41,219,310,41,310,179,41,179,251,41,251,87,41,87,245,41,245,183,42,218,309,42,309,180,42,180,268,42,268,104,42,104,274,42,274,184,42,184,311,42,311,218,43,185,275,43,275,105,43,105,269,43,269,181,43,181,310,43,310,219,43,219,312,43,312,185,44,174,248,44,248,84,44,84,246,44,246,186,44,186,313,44,313,220,44,220,307,44,307,174,45,221,314,45,314,187,45,187,247,45,247,85,45,85,249,45,249,175,45,175,308,45,308,221,46,176,307,46,307,220,46,220,313,46,313,188,46,188,272,46,272,106,46,106,270,46,270,176,47,107,273,47,273,189,47,189,314,47,314,221,47,221,308,47,308,177,47,177,271,47,271,107,48,186,246,48,246,82,48,82,244,48,244,182,48,182,311,48,311,222,48,222,313,48,313,186,49,223,312,49,312,183,49,183,245,49,245,83,49,83,247,49,247,187,49,187,314,49,314,223,50,188,313,50,313,222,50,222,311,50,311,184,50,184,274,50,274,108,50,108,272,50,272,188,51,109,275,51,275,185,51,185,312,51,312,223,51,223,314,51,314,189,51,189,273,51,273,109,52,178,250,52,250,80,52,80,240,52,240,192,52,192,315,52,315,224,52,224,309,52,309,178,53,225,316,53,316,193,53,193,241,53,241,81,53,81,251,53,251,179,53,179,310,53,310,225,54,180,309,54,309,224,54,224,315,54,315,190,54,190,278,54,278,110,54,110,268,54,268,180,55,111,279,55,279,191,55,191,316,55,316,225,55,225,310,55,310,181,55,181,269,55,269,111,56,192,240,56,240,78,56,78,238,56,238,194,56,194,317,56,317,226,56,226,315,56,315,192,57,227,318,57,318,195,57,195,239,57,239,79,57,79,241,57,241,193,57,193,316,57,316,227,58,190,315,58,315,226,58,226,317,58,317,196,58,196,280,58,280,112,58,112,278,58,278,190,59,113,281,59,281,197,59,197,318,59,318,227,59,227,316,59,316,191,59,191,279,59,279,113,60,76,256,60,256,170,60,170,305,60,305,228,60,228,319,60,319,200,60,200,236,60,236,76,61,201,320,61,320,229,61,229,306,61,306,171,61,171,257,61,257,77,61,77,237,61,237,201,62,228,305,62,305,172,62,172,262,62,262,114,62,114,282,62,282,198,62,198,319,62,319,228,63,199,283,63,283,115,63,115,263,63,263,173,63,173,306,63,306,229,63,229,320,63,320,199,64,202,242,64,242,74,64,74,234,64,234,206,64,206,323,64,323,230,64,230,321,64,321,202,65,231,324,65,324,207,65,207,235,65,235,75,65,75,243,65,243,203,65,203,322,65,322,231,66,204,321,66,321,230,66,230,323,66,323,208,66,208,284,66,284,116,66,116,276,66,276,204,67,117,285,67,285,209,67,209,324,67,324,231,67,231,322,67,322,205,67,205,277,67,277,117,68,232,323,68,323,206,68,206,234,68,234,72,68,72,236,68,236,200,68,200,319,68,319,232,69,201,237,69,237,73,69,73,235,69,235,207,69,207,324,69,324,233,69,233,320,69,320,201,70,232,319,70,319,198,70,198,282,70,282,118,70,118,284,70,284,208,70,208,323,70,323,232,71,209,285,71,285,119,71,119,283,71,283,199,71,199,320,71,320,233,71,233,324,71,324,209],
  "Ni" : 1.00000,
  "Ka" : [0.00310,0.00310,0.00310],
  "d" : 0.22000,
  "Kd" : [0.28798,0.29998,0.28798],
  "illum" : 2,
  "Ks" : [0.76148,0.76148,0.76148],
  "Ns" : 488.23529
}