mesh.gltf 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. {
  2. "asset": {
  3. "generator": "FBX2glTF v0.9.7",
  4. "version": "2.0"
  5. },
  6. "scene": 0,
  7. "buffers": [
  8. {
  9. "byteLength": 50297676,
  10. "uri": "buffer.bin"
  11. }
  12. ],
  13. "bufferViews": [
  14. {
  15. "buffer": 0,
  16. "byteLength": 12529164,
  17. "byteOffset": 0,
  18. "target": 34963
  19. },
  20. {
  21. "buffer": 0,
  22. "byteLength": 9442128,
  23. "byteOffset": 12529164,
  24. "target": 34962
  25. },
  26. {
  27. "buffer": 0,
  28. "byteLength": 9442128,
  29. "byteOffset": 21971292,
  30. "target": 34962
  31. },
  32. {
  33. "buffer": 0,
  34. "byteLength": 12589504,
  35. "byteOffset": 31413420,
  36. "target": 34962
  37. },
  38. {
  39. "buffer": 0,
  40. "byteLength": 6294752,
  41. "byteOffset": 44002924,
  42. "target": 34962
  43. }
  44. ],
  45. "scenes": [
  46. {
  47. "name": "Root Scene",
  48. "nodes": [
  49. 0
  50. ]
  51. }
  52. ],
  53. "accessors": [
  54. {
  55. "componentType": 5125,
  56. "type": "SCALAR",
  57. "count": 3132291,
  58. "bufferView": 0,
  59. "byteOffset": 0
  60. },
  61. {
  62. "componentType": 5126,
  63. "type": "VEC3",
  64. "count": 786844,
  65. "bufferView": 1,
  66. "byteOffset": 0,
  67. "min": [
  68. -0.0209760367870331,
  69. 0.0106317885220051,
  70. -0.0431966856122017
  71. ],
  72. "max": [
  73. 0.0461026020348072,
  74. 0.0736209154129028,
  75. 0.0467694029211998
  76. ]
  77. },
  78. {
  79. "componentType": 5126,
  80. "type": "VEC3",
  81. "count": 786844,
  82. "bufferView": 2,
  83. "byteOffset": 0
  84. },
  85. {
  86. "componentType": 5126,
  87. "type": "VEC4",
  88. "count": 786844,
  89. "bufferView": 3,
  90. "byteOffset": 0
  91. },
  92. {
  93. "componentType": 5126,
  94. "type": "VEC2",
  95. "count": 786844,
  96. "bufferView": 4,
  97. "byteOffset": 0
  98. }
  99. ],
  100. "images": [
  101. {
  102. "name": "mesh_u1_v1.png",
  103. "uri": "mesh_u1_v1.png"
  104. }
  105. ],
  106. "samplers": [
  107. {}
  108. ],
  109. "textures": [
  110. {
  111. "name": "Diffuse Texture",
  112. "sampler": 0,
  113. "source": 0
  114. }
  115. ],
  116. "materials": [
  117. {
  118. "name": "Material_u1_v1",
  119. "alphaMode": "OPAQUE",
  120. "extras": {
  121. "fromFBX": {
  122. "shadingModel": "Phong",
  123. "isTruePBR": false
  124. }
  125. },
  126. "pbrMetallicRoughness": {
  127. "baseColorTexture": {
  128. "index": 0,
  129. "texCoord": 0
  130. },
  131. "baseColorFactor": [
  132. 1.0,
  133. 1.0,
  134. 1.0,
  135. 1.0
  136. ],
  137. "metallicFactor": 0.400000005960464,
  138. "roughnessFactor": 0.894427180290222
  139. }
  140. }
  141. ],
  142. "meshes": [
  143. {
  144. "name": "meshNode",
  145. "primitives": [
  146. {
  147. "material": 0,
  148. "mode": 4,
  149. "attributes": {
  150. "COLOR_0": 3,
  151. "NORMAL": 2,
  152. "POSITION": 1,
  153. "TEXCOORD_0": 4
  154. },
  155. "indices": 0
  156. }
  157. ]
  158. }
  159. ],
  160. "nodes": [
  161. {
  162. "name": "RootNode",
  163. "translation": [
  164. 0.0,
  165. 0.0,
  166. 0.0
  167. ],
  168. "rotation": [
  169. 0.0,
  170. 0.0,
  171. 0.0,
  172. 1.0
  173. ],
  174. "scale": [
  175. 1.0,
  176. 1.0,
  177. 1.0
  178. ],
  179. "children": [
  180. 1
  181. ]
  182. },
  183. {
  184. "name": "meshNode",
  185. "translation": [
  186. 0.0,
  187. 0.0,
  188. 0.0
  189. ],
  190. "rotation": [
  191. -0.5,
  192. -0.5,
  193. -0.5,
  194. 0.5
  195. ],
  196. "scale": [
  197. 100.0,
  198. 100.0,
  199. 100.0
  200. ],
  201. "mesh": 0
  202. }
  203. ]
  204. }