test12.gltf 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  1. {
  2. "accessors": [
  3. {
  4. "bufferView": 0,
  5. "componentType": 5126,
  6. "count": 559,
  7. "max": [
  8. 20.558862686157227,
  9. 20.558862686157227,
  10. 20.558862686157227
  11. ],
  12. "min": [
  13. -20.558862686157227,
  14. -20.558862686157227,
  15. -20.558862686157227
  16. ],
  17. "type": "VEC3"
  18. },
  19. {
  20. "bufferView": 0,
  21. "byteOffset": 12,
  22. "componentType": 5126,
  23. "count": 559,
  24. "type": "VEC3"
  25. },
  26. {
  27. "bufferView": 1,
  28. "componentType": 5125,
  29. "count": 2880,
  30. "type": "SCALAR"
  31. },
  32. {
  33. "bufferView": 2,
  34. "componentType": 5126,
  35. "count": 154,
  36. "max": [
  37. 28.294837951660156,
  38. 27.86497688293457,
  39. 29.29737663269043
  40. ],
  41. "min": [
  42. -28.294837951660156,
  43. -27.864978790283203,
  44. 0.0
  45. ],
  46. "type": "VEC3"
  47. },
  48. {
  49. "bufferView": 2,
  50. "byteOffset": 12,
  51. "componentType": 5126,
  52. "count": 154,
  53. "type": "VEC3"
  54. },
  55. {
  56. "bufferView": 3,
  57. "componentType": 5125,
  58. "count": 648,
  59. "type": "SCALAR"
  60. }
  61. ],
  62. "asset": {
  63. "version": "2.0"
  64. },
  65. "bufferViews": [
  66. {
  67. "buffer": 0,
  68. "byteLength": 17888,
  69. "byteStride": 32,
  70. "target": 34962
  71. },
  72. {
  73. "buffer": 0,
  74. "byteLength": 11520,
  75. "byteOffset": 17888,
  76. "target": 34963
  77. },
  78. {
  79. "buffer": 0,
  80. "byteLength": 4928,
  81. "byteOffset": 29408,
  82. "byteStride": 32,
  83. "target": 34962
  84. },
  85. {
  86. "buffer": 0,
  87. "byteLength": 2592,
  88. "byteOffset": 34336,
  89. "target": 34963
  90. }
  91. ],
  92. "buffers": [
  93. {
  94. "byteLength": 36928,
  95. "uri": "test12.bin"
  96. }
  97. ],
  98. "materials": [
  99. {
  100. "name": "fallback Material",
  101. "pbrMetallicRoughness": {
  102. "baseColorFactor": [
  103. 0.10588235294117647,
  104. 0.6941176470588235,
  105. 0.34509803921568627,
  106. 1.0
  107. ]
  108. }
  109. },
  110. {
  111. "name": "fallback Material",
  112. "pbrMetallicRoughness": {
  113. "baseColorFactor": [
  114. 0.6509803921568628,
  115. 0.8980392156862745,
  116. 0.8980392156862745,
  117. 1.0
  118. ]
  119. }
  120. }
  121. ],
  122. "meshes": [
  123. {
  124. "name": "Sphere001",
  125. "primitives": [
  126. {
  127. "attributes": {
  128. "NORMAL": 1,
  129. "POSITION": 0
  130. },
  131. "indices": 2,
  132. "material": 0,
  133. "mode": 4
  134. }
  135. ]
  136. },
  137. {
  138. "name": "Cylinder001",
  139. "primitives": [
  140. {
  141. "attributes": {
  142. "NORMAL": 4,
  143. "POSITION": 3
  144. },
  145. "indices": 5,
  146. "material": 1,
  147. "mode": 4
  148. }
  149. ]
  150. }
  151. ],
  152. "nodes": [
  153. {
  154. "matrix": [
  155. 0.01,
  156. 0.0,
  157. 0.0,
  158. 0.0,
  159. 0.0,
  160. 0.01,
  161. 0.0,
  162. 0.0,
  163. 0.0,
  164. 0.0,
  165. 0.01,
  166. 0.0,
  167. 0.0,
  168. 0.0,
  169. 0.0,
  170. 1.0
  171. ],
  172. "mesh": 0,
  173. "name": "Sphere001"
  174. },
  175. {
  176. "children": [
  177. 0
  178. ],
  179. "matrix": [
  180. 1.0,
  181. 0.0,
  182. 0.0,
  183. 0.0,
  184. 0.0,
  185. 0.0,
  186. -1.0,
  187. 0.0,
  188. 0.0,
  189. 1.0,
  190. 0.0,
  191. 0.0,
  192. -0.07042326450347901,
  193. 0.0,
  194. -0.0015650066733360292,
  195. 1.0
  196. ]
  197. },
  198. {
  199. "matrix": [
  200. 0.01,
  201. 0.0,
  202. 0.0,
  203. 0.0,
  204. 0.0,
  205. 0.01,
  206. 0.0,
  207. 0.0,
  208. 0.0,
  209. 0.0,
  210. 0.01,
  211. 0.0,
  212. 0.0,
  213. 0.0,
  214. 0.0,
  215. 1.0
  216. ],
  217. "mesh": 1,
  218. "name": "Cylinder001"
  219. },
  220. {
  221. "children": [
  222. 2
  223. ],
  224. "matrix": [
  225. 1.0,
  226. 0.0,
  227. 0.0,
  228. 0.0,
  229. 0.0,
  230. 0.0,
  231. -1.0,
  232. 0.0,
  233. 0.0,
  234. 1.0,
  235. 0.0,
  236. 0.0,
  237. 0.10057971000671387,
  238. 0.0,
  239. 0.4445913696289063,
  240. 1.0
  241. ]
  242. }
  243. ],
  244. "scenes": [
  245. {
  246. "nodes": [
  247. 1,
  248. 3
  249. ]
  250. }
  251. ]
  252. }