IndexOutOfRange.gltf 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. {
  2. "asset": {
  3. "generator": "COLLADA2GLTF",
  4. "version": "2.0"
  5. },
  6. "scene": 0,
  7. "scenes": [
  8. {
  9. "nodes": [
  10. 0
  11. ]
  12. }
  13. ],
  14. "nodes": [
  15. {
  16. "children": [
  17. 1
  18. ],
  19. "matrix": [
  20. 1.0,
  21. 0.0,
  22. 0.0,
  23. 0.0,
  24. 0.0,
  25. 0.0,
  26. -1.0,
  27. 0.0,
  28. 0.0,
  29. 1.0,
  30. 0.0,
  31. 0.0,
  32. 0.0,
  33. 0.0,
  34. 0.0,
  35. 1.0
  36. ]
  37. },
  38. {
  39. "mesh": 0
  40. }
  41. ],
  42. "meshes": [
  43. {
  44. "primitives": [
  45. {
  46. "attributes": {
  47. "NORMAL": 1,
  48. "POSITION": 2
  49. },
  50. "indices": 0,
  51. "mode": 4,
  52. "material": 0
  53. }
  54. ],
  55. "name": "Mesh"
  56. }
  57. ],
  58. "accessors": [
  59. {
  60. "bufferView": 0,
  61. "byteOffset": 0,
  62. "componentType": 5123,
  63. "count": 36,
  64. "max": [
  65. 255
  66. ],
  67. "min": [
  68. 0
  69. ],
  70. "type": "SCALAR"
  71. },
  72. {
  73. "bufferView": 1,
  74. "byteOffset": 0,
  75. "componentType": 5126,
  76. "count": 24,
  77. "max": [
  78. 1.0,
  79. 1.0,
  80. 1.0
  81. ],
  82. "min": [
  83. -1.0,
  84. -1.0,
  85. -1.0
  86. ],
  87. "type": "VEC3"
  88. },
  89. {
  90. "bufferView": 1,
  91. "byteOffset": 288,
  92. "componentType": 5126,
  93. "count": 24,
  94. "max": [
  95. 0.5,
  96. 0.5,
  97. 0.5
  98. ],
  99. "min": [
  100. -0.5,
  101. -0.5,
  102. -0.5
  103. ],
  104. "type": "VEC3"
  105. }
  106. ],
  107. "materials": [
  108. {
  109. "pbrMetallicRoughness": {
  110. "baseColorFactor": [
  111. 0.800000011920929,
  112. 0.0,
  113. 0.0,
  114. 1.0
  115. ],
  116. "metallicFactor": 0.0
  117. },
  118. "name": "Red"
  119. }
  120. ],
  121. "bufferViews": [
  122. {
  123. "buffer": 0,
  124. "byteOffset": 576,
  125. "byteLength": 72,
  126. "target": 34963
  127. },
  128. {
  129. "buffer": 0,
  130. "byteOffset": 0,
  131. "byteLength": 576,
  132. "byteStride": 12,
  133. "target": 34962
  134. }
  135. ],
  136. "buffers": [
  137. {
  138. "byteLength": 648,
  139. "uri": "IndexOutOfRange.bin"
  140. }
  141. ]
  142. }