SimpleMorph.gltf 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. {
  2. "scene" : 0,
  3. "scenes":[
  4. {
  5. "nodes":[
  6. 0
  7. ]
  8. }
  9. ],
  10. "nodes":[
  11. {
  12. "mesh":0
  13. }
  14. ],
  15. "meshes":[
  16. {
  17. "primitives":[
  18. {
  19. "attributes":{
  20. "POSITION":1
  21. },
  22. "targets":[
  23. {
  24. "POSITION":2
  25. },
  26. {
  27. "POSITION":3
  28. }
  29. ],
  30. "indices":0
  31. }
  32. ],
  33. "weights":[
  34. 0.5,
  35. 0.5
  36. ]
  37. }
  38. ],
  39. "animations":[
  40. {
  41. "samplers":[
  42. {
  43. "input":4,
  44. "interpolation":"LINEAR",
  45. "output":5
  46. }
  47. ],
  48. "channels":[
  49. {
  50. "sampler":0,
  51. "target":{
  52. "node":0,
  53. "path":"weights"
  54. }
  55. }
  56. ]
  57. }
  58. ],
  59. "buffers":[
  60. {
  61. "uri" : "simpleMorphGeometry.bin",
  62. "byteLength":116
  63. },
  64. {
  65. "uri" : "simpleMorphAnimation.bin",
  66. "byteLength":60
  67. }
  68. ],
  69. "bufferViews":[
  70. {
  71. "buffer":0,
  72. "byteOffset":0,
  73. "byteLength":6,
  74. "target":34963
  75. },
  76. {
  77. "buffer":0,
  78. "byteOffset":8,
  79. "byteLength":108,
  80. "byteStride":12,
  81. "target":34962
  82. },
  83. {
  84. "buffer":1,
  85. "byteOffset":0,
  86. "byteLength":20
  87. },
  88. {
  89. "buffer":1,
  90. "byteOffset":20,
  91. "byteLength":40
  92. }
  93. ],
  94. "accessors":[
  95. {
  96. "bufferView":0,
  97. "byteOffset":0,
  98. "componentType":5123,
  99. "count":3,
  100. "type":"SCALAR",
  101. "max":[
  102. 2
  103. ],
  104. "min":[
  105. 0
  106. ]
  107. },
  108. {
  109. "bufferView":1,
  110. "byteOffset":0,
  111. "componentType":5126,
  112. "count":3,
  113. "type":"VEC3",
  114. "max":[
  115. 1.0,
  116. 0.5,
  117. 0.0
  118. ],
  119. "min":[
  120. 0.0,
  121. 0.0,
  122. 0.0
  123. ]
  124. },
  125. {
  126. "bufferView":1,
  127. "byteOffset":36,
  128. "componentType":5126,
  129. "count":3,
  130. "type":"VEC3",
  131. "max":[
  132. 0.0,
  133. 1.0,
  134. 0.0
  135. ],
  136. "min":[
  137. -1.0,
  138. 0.0,
  139. 0.0
  140. ]
  141. },
  142. {
  143. "bufferView":1,
  144. "byteOffset":72,
  145. "componentType":5126,
  146. "count":3,
  147. "type":"VEC3",
  148. "max":[
  149. 1.0,
  150. 1.0,
  151. 0.0
  152. ],
  153. "min":[
  154. 0.0,
  155. 0.0,
  156. 0.0
  157. ]
  158. },
  159. {
  160. "bufferView":2,
  161. "byteOffset":0,
  162. "componentType":5126,
  163. "count":5,
  164. "type":"SCALAR",
  165. "max":[
  166. 4.0
  167. ],
  168. "min":[
  169. 0.0
  170. ]
  171. },
  172. {
  173. "bufferView":3,
  174. "byteOffset":0,
  175. "componentType":5126,
  176. "count":10,
  177. "type":"SCALAR",
  178. "max":[
  179. 1.0
  180. ],
  181. "min":[
  182. 0.0
  183. ]
  184. }
  185. ],
  186. "asset":{
  187. "version":"2.0"
  188. }
  189. }