Test.gltf 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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": "VEC4"
  24. },
  25. {
  26. "bufferView": 2,
  27. "componentType": 5126,
  28. "count": 4,
  29. "type": "VEC2"
  30. },
  31. {
  32. "bufferView": 3,
  33. "componentType": 5125,
  34. "count": 6,
  35. "type": "SCALAR"
  36. }
  37. ],
  38. "asset": {
  39. "version": "2.0"
  40. },
  41. "buffers": [
  42. {
  43. "uri": "Test.bin",
  44. "byteLength": 168
  45. }
  46. ],
  47. "bufferViews": [
  48. {
  49. "buffer": 0,
  50. "byteLength": 48
  51. },
  52. {
  53. "buffer": 0,
  54. "byteOffset": 48,
  55. "byteLength": 64
  56. },
  57. {
  58. "buffer": 0,
  59. "byteOffset": 112,
  60. "byteLength": 32
  61. },
  62. {
  63. "buffer": 0,
  64. "byteOffset": 144,
  65. "byteLength": 24
  66. }
  67. ],
  68. "images": [
  69. {
  70. "uri": "BaseColor.png"
  71. }
  72. ],
  73. "materials": [
  74. {
  75. "pbrMetallicRoughness": {
  76. "baseColorFactor": [
  77. 1.0,
  78. 1.0,
  79. 1.0,
  80. 0.7
  81. ],
  82. "baseColorTexture": {
  83. "index": 0
  84. }
  85. },
  86. "alphaMode": "BLEND"
  87. }
  88. ],
  89. "meshes": [
  90. {
  91. "primitives": [
  92. {
  93. "attributes": {
  94. "POSITION": 0,
  95. "COLOR_0": 1,
  96. "TEXCOORD_0": 2
  97. },
  98. "indices": 3,
  99. "material": 0
  100. }
  101. ]
  102. }
  103. ],
  104. "nodes": [
  105. {
  106. "mesh": 0,
  107. "scale": [
  108. 0.5,
  109. 1,
  110. 1
  111. ]
  112. }
  113. ],
  114. "scene": 0,
  115. "scenes": [
  116. {
  117. "nodes": [
  118. 0
  119. ]
  120. }
  121. ],
  122. "textures": [
  123. {
  124. "source": 0
  125. }
  126. ]
  127. }