duck.gltf 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291
  1. {
  2. "accessors": {
  3. "accessor_21": {
  4. "bufferView": "bufferView_29",
  5. "byteOffset": 0,
  6. "byteStride": 0,
  7. "componentType": 5123,
  8. "count": 12636,
  9. "type": "SCALAR"
  10. },
  11. "accessor_23": {
  12. "bufferView": "bufferView_30",
  13. "byteOffset": 0,
  14. "byteStride": 12,
  15. "componentType": 5126,
  16. "count": 2399,
  17. "max": [
  18. 0.961799,
  19. 1.6397,
  20. 0.539252
  21. ],
  22. "min": [
  23. -0.692985,
  24. 0.0992937,
  25. -0.613282
  26. ],
  27. "type": "VEC3"
  28. },
  29. "accessor_25": {
  30. "bufferView": "bufferView_30",
  31. "byteOffset": 28788,
  32. "byteStride": 12,
  33. "componentType": 5126,
  34. "count": 2399,
  35. "max": [
  36. 0.999599,
  37. 0.999581,
  38. 0.998436
  39. ],
  40. "min": [
  41. -0.999084,
  42. -1,
  43. -0.999832
  44. ],
  45. "type": "VEC3"
  46. },
  47. "accessor_27": {
  48. "bufferView": "bufferView_30",
  49. "byteOffset": 57576,
  50. "byteStride": 8,
  51. "componentType": 5126,
  52. "count": 2399,
  53. "max": [
  54. 0.983346,
  55. 0.980037
  56. ],
  57. "min": [
  58. 0.026409,
  59. 0.019963
  60. ],
  61. "type": "VEC2"
  62. }
  63. },
  64. "animations": {},
  65. "asset": {
  66. "generator": "collada2gltf@cf6371beb0bdc18ba603378d5e40c966da53d385",
  67. "premultipliedAlpha": true,
  68. "profile": {
  69. "api": "WebGL",
  70. "version": "1.0.2"
  71. },
  72. "version": "1.0"
  73. },
  74. "bufferViews": {
  75. "bufferView_29": {
  76. "buffer": "duck",
  77. "byteLength": 25272,
  78. "byteOffset": 0,
  79. "target": 34963
  80. },
  81. "bufferView_30": {
  82. "buffer": "duck",
  83. "byteLength": 76768,
  84. "byteOffset": 25272,
  85. "target": 34962
  86. }
  87. },
  88. "buffers": {
  89. "duck": {
  90. "byteLength": 102040,
  91. "type": "arraybuffer",
  92. "uri": "duck.bin"
  93. }
  94. },
  95. "cameras": {
  96. "cameraShape1": {
  97. "name": "cameraShape1",
  98. "perspective": {
  99. "aspect_ratio": 1.5,
  100. "yfov": 0.660593,
  101. "zfar": 100,
  102. "znear": 0.01
  103. },
  104. "type": "perspective"
  105. }
  106. },
  107. "extensions": {
  108. "KHR_materials_common": {
  109. "lights": {
  110. "directionalLightShape1-lib": {
  111. "directional": {
  112. "color": [
  113. 1,
  114. 1,
  115. 1
  116. ]
  117. },
  118. "name": "directionalLightShape1",
  119. "type": "directional"
  120. }
  121. }
  122. }
  123. },
  124. "extensionsUsed": [
  125. "KHR_materials_common"
  126. ],
  127. "images": {
  128. "file2": {
  129. "name": "file2",
  130. "uri": "duckCM.png"
  131. }
  132. },
  133. "materials": {
  134. "blinn3-fx": {
  135. "extensions": {
  136. "KHR_materials_common": {
  137. "doubleSided": false,
  138. "jointCount": 0,
  139. "technique": "BLINN",
  140. "transparent": false,
  141. "values": {
  142. "ambient": [
  143. 0,
  144. 0,
  145. 0,
  146. 1
  147. ],
  148. "diffuse": "texture_file2",
  149. "emission": [
  150. 0,
  151. 0,
  152. 0,
  153. 1
  154. ],
  155. "shininess": 38.4,
  156. "specular": [
  157. 0,
  158. 0,
  159. 0,
  160. 1
  161. ]
  162. }
  163. }
  164. },
  165. "name": "blinn3"
  166. }
  167. },
  168. "meshes": {
  169. "LOD3spShape-lib": {
  170. "name": "LOD3spShape",
  171. "primitives": [
  172. {
  173. "attributes": {
  174. "NORMAL": "accessor_25",
  175. "POSITION": "accessor_23",
  176. "TEXCOORD_0": "accessor_27"
  177. },
  178. "indices": "accessor_21",
  179. "material": "blinn3-fx",
  180. "mode": 4
  181. }
  182. ]
  183. }
  184. },
  185. "nodes": {
  186. "LOD3sp": {
  187. "children": [],
  188. "matrix": [
  189. 1,
  190. 0,
  191. 0,
  192. 0,
  193. 0,
  194. 1,
  195. 0,
  196. 0,
  197. 0,
  198. 0,
  199. 1,
  200. 0,
  201. 0,
  202. 0,
  203. 0,
  204. 1
  205. ],
  206. "meshes": [
  207. "LOD3spShape-lib"
  208. ],
  209. "name": "LOD3sp"
  210. },
  211. "camera1": {
  212. "camera": "cameraShape1",
  213. "children": [],
  214. "matrix": [
  215. -0.728969,
  216. 0,
  217. -0.684547,
  218. 0,
  219. -0.425205,
  220. 0.783693,
  221. 0.452797,
  222. 0,
  223. 0.536475,
  224. 0.621148,
  225. -0.571288,
  226. 0,
  227. 4.00113,
  228. 4.63264,
  229. -4.31078,
  230. 1
  231. ],
  232. "name": "camera1"
  233. },
  234. "directionalLight1": {
  235. "children": [],
  236. "extensions": {
  237. "KHR_materials_common": {
  238. "light": "directionalLightShape1-lib"
  239. }
  240. },
  241. "matrix": [
  242. -0.954692,
  243. 0.218143,
  244. -0.202429,
  245. 0,
  246. 0.014672,
  247. 0.713885,
  248. 0.700109,
  249. 0,
  250. 0.297235,
  251. 0.665418,
  252. -0.684741,
  253. 0,
  254. 1.48654,
  255. 1.83672,
  256. -2.92179,
  257. 1
  258. ],
  259. "name": "directionalLight1"
  260. }
  261. },
  262. "samplers": {
  263. "sampler_0": {
  264. "magFilter": 9729,
  265. "minFilter": 9987,
  266. "wrapS": 10497,
  267. "wrapT": 10497
  268. }
  269. },
  270. "scene": "defaultScene",
  271. "scenes": {
  272. "defaultScene": {
  273. "nodes": [
  274. "LOD3sp",
  275. "camera1",
  276. "directionalLight1"
  277. ]
  278. }
  279. },
  280. "skins": {},
  281. "textures": {
  282. "texture_file2": {
  283. "format": 6408,
  284. "internalFormat": 6408,
  285. "sampler": "sampler_0",
  286. "source": "file2",
  287. "target": 3553,
  288. "type": 5121
  289. }
  290. }
  291. }