cube.gltf 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. {
  2. "asset":{
  3. "generator":"Khronos glTF Blender I/O v3.6.27",
  4. "version":"2.0"
  5. },
  6. "scene":0,
  7. "scenes":[
  8. {
  9. "name":"Scene",
  10. "nodes":[
  11. 0
  12. ]
  13. }
  14. ],
  15. "nodes":[
  16. {
  17. "mesh":0,
  18. "name":"Cube"
  19. }
  20. ],
  21. "materials":[
  22. {
  23. "doubleSided":true,
  24. "name":"Material",
  25. "normalTexture":{
  26. "index":0
  27. },
  28. "pbrMetallicRoughness":{
  29. "baseColorTexture":{
  30. "index":1
  31. },
  32. "metallicFactor":0,
  33. "roughnessFactor":0
  34. }
  35. }
  36. ],
  37. "meshes":[
  38. {
  39. "name":"Cube",
  40. "primitives":[
  41. {
  42. "attributes":{
  43. "POSITION":0,
  44. "NORMAL":1,
  45. "TEXCOORD_0":2,
  46. "TANGENT":3
  47. },
  48. "indices":4,
  49. "material":0
  50. }
  51. ]
  52. }
  53. ],
  54. "textures":[
  55. {
  56. "sampler":0,
  57. "source":0
  58. },
  59. {
  60. "sampler":0,
  61. "source":1
  62. }
  63. ],
  64. "images":[
  65. {
  66. "mimeType":"image/png",
  67. "name":"14267839433702832875",
  68. "uri":"14267839433702832875.png"
  69. },
  70. {
  71. "mimeType":"image/png",
  72. "name":"5823059166183034438",
  73. "uri":"5823059166183034438.png"
  74. }
  75. ],
  76. "accessors":[
  77. {
  78. "bufferView":0,
  79. "componentType":5126,
  80. "count":24,
  81. "max":[
  82. 1,
  83. 1,
  84. 1
  85. ],
  86. "min":[
  87. -1,
  88. -1,
  89. -1
  90. ],
  91. "type":"VEC3"
  92. },
  93. {
  94. "bufferView":1,
  95. "componentType":5126,
  96. "count":24,
  97. "type":"VEC3"
  98. },
  99. {
  100. "bufferView":2,
  101. "componentType":5126,
  102. "count":24,
  103. "type":"VEC2"
  104. },
  105. {
  106. "bufferView":3,
  107. "componentType":5126,
  108. "count":24,
  109. "type":"VEC4"
  110. },
  111. {
  112. "bufferView":4,
  113. "componentType":5123,
  114. "count":36,
  115. "type":"SCALAR"
  116. }
  117. ],
  118. "bufferViews":[
  119. {
  120. "buffer":0,
  121. "byteLength":288,
  122. "byteOffset":0,
  123. "target":34962
  124. },
  125. {
  126. "buffer":0,
  127. "byteLength":288,
  128. "byteOffset":288,
  129. "target":34962
  130. },
  131. {
  132. "buffer":0,
  133. "byteLength":192,
  134. "byteOffset":576,
  135. "target":34962
  136. },
  137. {
  138. "buffer":0,
  139. "byteLength":384,
  140. "byteOffset":768,
  141. "target":34962
  142. },
  143. {
  144. "buffer":0,
  145. "byteLength":72,
  146. "byteOffset":1152,
  147. "target":34963
  148. }
  149. ],
  150. "samplers":[
  151. {
  152. "magFilter":9729,
  153. "minFilter":9987
  154. }
  155. ],
  156. "buffers":[
  157. {
  158. "byteLength":1224,
  159. "uri":"cube.bin"
  160. }
  161. ]
  162. }