TwoQuads.gltf 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. {
  2. "accessors": [
  3. {
  4. "bufferView": 0,
  5. "componentType": 5126,
  6. "count": 4,
  7. "type": "VEC3",
  8. "max": [
  9. 0.5,
  10. 0.5,
  11. 0.0
  12. ],
  13. "min": [
  14. -0.5,
  15. -0.5,
  16. 0.0
  17. ]
  18. },
  19. {
  20. "bufferView": 1,
  21. "componentType": 5126,
  22. "count": 4,
  23. "type": "VEC2"
  24. },
  25. {
  26. "bufferView": 2,
  27. "componentType": 5125,
  28. "count": 6,
  29. "type": "SCALAR"
  30. }
  31. ],
  32. "asset": {
  33. "version": "2.0"
  34. },
  35. "buffers": [
  36. {
  37. "uri": "TwoQuads.bin",
  38. "byteLength": 104
  39. }
  40. ],
  41. "bufferViews": [
  42. {
  43. "buffer": 0,
  44. "byteLength": 48
  45. },
  46. {
  47. "buffer": 0,
  48. "byteOffset": 48,
  49. "byteLength": 32
  50. },
  51. {
  52. "buffer": 0,
  53. "byteOffset": 80,
  54. "byteLength": 24
  55. }
  56. ],
  57. "extensionsUsed": [
  58. "MSFT_lod"
  59. ],
  60. "images": [
  61. {
  62. "uri": "LOD0.png"
  63. },
  64. {
  65. "uri": "LOD1.png"
  66. },
  67. {
  68. "uri": "LOD2.png"
  69. }
  70. ],
  71. "materials": [
  72. {
  73. "name": "LOD0",
  74. "pbrMetallicRoughness": {
  75. "baseColorTexture": {
  76. "index": 0
  77. },
  78. "metallicFactor": 0
  79. },
  80. "extensions": {
  81. "MSFT_lod": {
  82. "ids": [
  83. 1,
  84. 2
  85. ]
  86. }
  87. }
  88. },
  89. {
  90. "name": "LOD1",
  91. "pbrMetallicRoughness": {
  92. "baseColorTexture": {
  93. "index": 1
  94. },
  95. "metallicFactor": 0
  96. }
  97. },
  98. {
  99. "name": "LOD2",
  100. "pbrMetallicRoughness": {
  101. "baseColorTexture": {
  102. "index": 2
  103. },
  104. "metallicFactor": 0
  105. }
  106. }
  107. ],
  108. "meshes": [
  109. {
  110. "primitives": [
  111. {
  112. "attributes": {
  113. "POSITION": 0,
  114. "TEXCOORD_0": 1
  115. },
  116. "indices": 2,
  117. "material": 0
  118. }
  119. ]
  120. }
  121. ],
  122. "nodes": [
  123. {
  124. "mesh": 0,
  125. "translation": [
  126. -0.55,
  127. 0,
  128. 0
  129. ]
  130. },
  131. {
  132. "mesh": 0,
  133. "translation": [
  134. 0.55,
  135. 0,
  136. 0
  137. ]
  138. }
  139. ],
  140. "scene": 0,
  141. "scenes": [
  142. {
  143. "nodes": [
  144. 0,
  145. 1
  146. ]
  147. }
  148. ],
  149. "textures": [
  150. {
  151. "source": 0
  152. },
  153. {
  154. "source": 1
  155. },
  156. {
  157. "source": 2
  158. }
  159. ]
  160. }