test1.gltf 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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. "asset": {
  34. "version": "2.0"
  35. },
  36. "bufferViews": [
  37. {
  38. "buffer": 0,
  39. "byteLength": 17888,
  40. "byteStride": 32,
  41. "target": 34962
  42. },
  43. {
  44. "buffer": 0,
  45. "byteLength": 11520,
  46. "byteOffset": 17888,
  47. "target": 34963
  48. }
  49. ],
  50. "buffers": [
  51. {
  52. "byteLength": 29408,
  53. "uri": "test1.bin"
  54. }
  55. ],
  56. "materials": [
  57. {
  58. "name": "fallback Material",
  59. "pbrMetallicRoughness": {
  60. "baseColorFactor": [
  61. 0.10588235294117647,
  62. 0.6941176470588235,
  63. 0.34509803921568627,
  64. 1.0
  65. ]
  66. }
  67. }
  68. ],
  69. "meshes": [
  70. {
  71. "name": "Sphere001",
  72. "primitives": [
  73. {
  74. "attributes": {
  75. "NORMAL": 1,
  76. "POSITION": 0
  77. },
  78. "indices": 2,
  79. "material": 0,
  80. "mode": 4
  81. }
  82. ]
  83. }
  84. ],
  85. "nodes": [
  86. {
  87. "matrix": [
  88. 0.01,
  89. 0.0,
  90. 0.0,
  91. 0.0,
  92. 0.0,
  93. 0.01,
  94. 0.0,
  95. 0.0,
  96. 0.0,
  97. 0.0,
  98. 0.01,
  99. 0.0,
  100. 0.0,
  101. 0.0,
  102. 0.0,
  103. 1.0
  104. ],
  105. "mesh": 0,
  106. "name": "Sphere001"
  107. },
  108. {
  109. "children": [
  110. 0
  111. ],
  112. "matrix": [
  113. 1.0,
  114. 0.0,
  115. 0.0,
  116. 0.0,
  117. 0.0,
  118. 0.0,
  119. -1.0,
  120. 0.0,
  121. 0.0,
  122. 1.0,
  123. 0.0,
  124. 0.0,
  125. -0.07042326450347901,
  126. 0.0,
  127. -0.0015650066733360292,
  128. 1.0
  129. ]
  130. }
  131. ],
  132. "scenes": [
  133. {
  134. "nodes": [
  135. 1
  136. ]
  137. }
  138. ]
  139. }