lightmap.js 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. {
  2. "metadata" :
  3. {
  4. "formatVersion" : 3.1,
  5. "generatedBy" : "Blender 2.63 Exporter",
  6. "vertices" : 20,
  7. "faces" : 13,
  8. "normals" : 0,
  9. "colors" : 0,
  10. "uvs" : 4,
  11. "materials" : 1,
  12. "morphTargets" : 0,
  13. "bones" : 0
  14. },
  15. "scale" : 1.000000,
  16. "materials": [ {
  17. "DbgColor" : 15658734,
  18. "DbgIndex" : 0,
  19. "DbgName" : "redstone",
  20. "blending" : "NormalBlending",
  21. "colorDiffuse" : [0.64, 0.13957696, 0.078344],
  22. "colorSpecular" : [0.067, 0.067, 0.067],
  23. "depthTest" : true,
  24. "depthWrite" : true,
  25. "mapLight" : "lightmap-ao-shadow.png",
  26. "mapBump" : "stone.jpg",
  27. "mapSpecular" : "stone.jpg",
  28. "mapBumpRepeat" : [2, 2],
  29. "mapSpecularRepeat" : [2, 2],
  30. "mapBumpWrap" : ["repeat", "repeat"],
  31. "mapSpecularWrap" : ["repeat", "repeat"],
  32. "mapBumpScale" : 2,
  33. "mapBumpAnisotropy": 4,
  34. "mapSpecularAnisotropy": 4,
  35. "mapLightAnisotropy": 4,
  36. "shading" : "Phong",
  37. "specularCoef" : 100,
  38. "opacity" : 1.0,
  39. "transparent" : false,
  40. "vertexColors" : false
  41. },
  42. {
  43. "DbgColor" : 15597568,
  44. "DbgIndex" : 1,
  45. "DbgName" : "floor",
  46. "blending" : "NormalBlending",
  47. "colorDiffuse" : [0.64, 0.5184, 0.36],
  48. "colorSpecular" : [0.067, 0.067, 0.067],
  49. "depthTest" : true,
  50. "depthWrite" : true,
  51. "mapLight" : "lightmap-ao-shadow.png",
  52. "mapBump" : "stone.jpg",
  53. "mapSpecular" : "stone.jpg",
  54. "mapBumpRepeat" : [16, 16],
  55. "mapSpecularRepeat" : [16, 16],
  56. "mapBumpWrap" : ["repeat", "repeat"],
  57. "mapSpecularWrap" : ["repeat", "repeat"],
  58. "mapBumpScale" : 2,
  59. "mapBumpAnisotropy": 4,
  60. "mapSpecularAnisotropy": 4,
  61. "mapLightAnisotropy": 4,
  62. "shading" : "Phong",
  63. "specularCoef" : 100,
  64. "opacity" : 1.0,
  65. "transparent" : false,
  66. "vertexColors" : false
  67. },
  68. {
  69. "DbgColor" : 15597568,
  70. "DbgIndex" : 1,
  71. "DbgName" : "stone",
  72. "blending" : "NormalBlending",
  73. "colorDiffuse" : [0.64, 0.26874, 0.1296],
  74. "colorSpecular" : [0.067, 0.067, 0.067],
  75. "depthTest" : true,
  76. "depthWrite" : true,
  77. "mapLight" : "lightmap-ao-shadow.png",
  78. "mapBump" : "rocks.jpg",
  79. "mapSpecular" : "rocks.jpg",
  80. "mapBumpRepeat" : [2, 2],
  81. "mapSpecularRepeat" : [2, 2],
  82. "mapBumpWrap" : ["repeat", "repeat"],
  83. "mapSpecularWrap" : ["repeat", "repeat"],
  84. "mapBumpScale" : 2,
  85. "mapBumpAnisotropy": 4,
  86. "mapSpecularAnisotropy": 4,
  87. "mapLightAnisotropy": 4,
  88. "shading" : "Phong",
  89. "specularCoef" : 100,
  90. "opacity" : 1.0,
  91. "transparent" : false,
  92. "vertexColors" : false
  93. }],
  94. "vertices": [1.85679,0.0125948,0.544906,1.85679,0.0125948,-0.544906,2.9466,0.0125948,-0.544906,2.9466,0.0125948,0.544906,1.85679,1.10241,0.544906,1.85679,1.10241,-0.544906,2.9466,1.10241,-0.544906,2.9466,1.10241,0.544906,-8.39711,-3.67049e-07,-8.39711,8.39711,-3.67049e-07,-8.39711,-8.39711,3.67049e-07,8.39711,8.39711,3.67049e-07,8.39711,1,0.0180082,-1,1,0.0180083,1,-1,0.0180083,1,-1,0.0180082,-1,1,2.01801,-1,0.999999,2.01801,1,-1,2.01801,1,-1,2.01801,-1],
  95. "morphTargets": [],
  96. "normals": [],
  97. "colors": [],
  98. "uvs": [[1,1,0,1,0,0,1,0],[0.001001,0.498999,0.248999,0.498999,0.248999,0.251001,0.001001,0.251001,0.498999,0.001001,0.251001,0.001001,0.251001,0.248999,0.498999,0.248999,0.498999,0.251001,0.251001,0.251001,0.251001,0.498999,0.498999,0.498999,0.501001,0.498999,0.748999,0.498999,0.748999,0.251001,0.501001,0.251001,0.748999,0.001001,0.501001,0.001001,0.501001,0.248999,0.748999,0.248999,0.498999,0.501001,0.251001,0.501001,0.251001,0.748999,0.498999,0.748999,0.001001,0.248999,0.248999,0.248999,0.248999,0.001001,0.001001,0.001001,0.248999,0.501001,0.001001,0.501001,0.001001,0.748999,0.248999,0.748999,0.748999,0.501001,0.501001,0.501001,0.501001,0.748999,0.748999,0.748999,0.748999,0.751001,0.501001,0.751001,0.501001,0.998999,0.748999,0.998999,0.498999,0.751001,0.251001,0.751001,0.251001,0.998999,0.498999,0.998999,0.248999,0.751001,0.001001,0.751001,0.001001,0.998999,0.248999,0.998999,0.998999,0.251001,0.751001,0.251001,0.751001,0.498999,0.998999,0.498999]],
  99. "faces": [11,1,0,4,5,0,0,1,2,3,0,1,2,3,11,5,6,2,1,0,2,3,0,1,4,5,6,7,11,6,7,3,2,0,2,3,0,1,8,9,10,11,11,0,3,7,4,0,0,1,2,3,12,13,14,15,11,0,1,2,3,0,2,3,0,1,16,17,18,19,11,7,6,5,4,0,2,3,0,1,20,21,22,23,11,9,8,10,11,1,0,1,2,3,24,25,26,27,11,12,13,14,15,2,3,0,1,2,28,29,30,31, 11,16,19,18,17,2,3,0,1,2,32,33,34,35,11,12,16,17,13,2,3,0,1,2,36,37,38,39,11,13,17,18,14,2,3,0,1,2,40,41,42,43,11,14,18,19,15,2,3,0,1,2,44,45,46,47,11,16,12,15,19,2,3,0,1,2, 48,49,50,51],
  100. "bones" : [],
  101. "skinIndices" : [],
  102. "skinWeights" : [],
  103. "animation" : {}
  104. }