Duck.gltf 9.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371
  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. 3,
  18. 2,
  19. 1
  20. ],
  21. "matrix": [
  22. 0.009999999776482582,
  23. 0.0,
  24. 0.0,
  25. 0.0,
  26. 0.0,
  27. 0.009999999776482582,
  28. 0.0,
  29. 0.0,
  30. 0.0,
  31. 0.0,
  32. 0.009999999776482582,
  33. 0.0,
  34. 0.0,
  35. 0.0,
  36. 0.0,
  37. 1.0
  38. ]
  39. },
  40. {
  41. "matrix": [
  42. -0.9546916484832764,
  43. 0.2181433141231537,
  44. -0.2024286538362503,
  45. 0.0,
  46. 0.014671952463686468,
  47. 0.7138853073120117,
  48. 0.7001089453697205,
  49. 0.0,
  50. 0.2972349226474762,
  51. 0.6654181480407715,
  52. -0.6847409009933472,
  53. 0.0,
  54. 148.6540069580078,
  55. 183.6720123291016,
  56. -292.1790161132813,
  57. 1.0
  58. ]
  59. },
  60. {
  61. "matrix": [
  62. -0.7289686799049377,
  63. 0.0,
  64. -0.6845470666885376,
  65. 0.0,
  66. -0.4252049028873444,
  67. 0.7836934328079224,
  68. 0.4527972936630249,
  69. 0.0,
  70. 0.5364750623703003,
  71. 0.6211478114128113,
  72. -0.571287989616394,
  73. 0.0,
  74. 400.1130065917969,
  75. 463.2640075683594,
  76. -431.0780334472656,
  77. 1.0
  78. ],
  79. "camera": 0
  80. },
  81. {
  82. "mesh": 0
  83. }
  84. ],
  85. "cameras": [
  86. {
  87. "perspective": {
  88. "aspectRatio": 1.5,
  89. "yfov": 0.6605925559997559,
  90. "zfar": 10000.0,
  91. "znear": 1.0
  92. },
  93. "type": "perspective"
  94. }
  95. ],
  96. "meshes": [
  97. {
  98. "primitives": [
  99. {
  100. "attributes": {
  101. "NORMAL": 1,
  102. "POSITION": 2,
  103. "TEXCOORD_0": 3
  104. },
  105. "indices": 0,
  106. "mode": 4,
  107. "material": 0
  108. }
  109. ],
  110. "name": "LOD3spShape"
  111. }
  112. ],
  113. "accessors": [
  114. {
  115. "bufferView": 0,
  116. "byteOffset": 0,
  117. "componentType": 5123,
  118. "count": 12636,
  119. "max": [
  120. 2398
  121. ],
  122. "min": [
  123. 0
  124. ],
  125. "type": "SCALAR"
  126. },
  127. {
  128. "bufferView": 1,
  129. "byteOffset": 0,
  130. "componentType": 5126,
  131. "count": 2399,
  132. "max": [
  133. 0.9995989799499512,
  134. 0.999580979347229,
  135. 0.9984359741210938
  136. ],
  137. "min": [
  138. -0.9990839958190918,
  139. -1.0,
  140. -0.9998319745063782
  141. ],
  142. "type": "VEC3"
  143. },
  144. {
  145. "bufferView": 1,
  146. "byteOffset": 28788,
  147. "componentType": 5126,
  148. "count": 2399,
  149. "max": [
  150. 96.17990112304688,
  151. 163.97000122070313,
  152. 53.92519760131836
  153. ],
  154. "min": [
  155. -69.29850006103516,
  156. 9.929369926452637,
  157. -61.32819747924805
  158. ],
  159. "type": "VEC3"
  160. },
  161. {
  162. "bufferView": 2,
  163. "byteOffset": 0,
  164. "componentType": 5126,
  165. "count": 2399,
  166. "max": [
  167. 0.9833459854125976,
  168. 0.9800369739532472
  169. ],
  170. "min": [
  171. 0.026409000158309938,
  172. 0.01996302604675293
  173. ],
  174. "type": "VEC2"
  175. }
  176. ],
  177. "materials": [
  178. {
  179. "values": {
  180. "ambient": [
  181. 0.0,
  182. 0.0,
  183. 0.0,
  184. 1.0
  185. ],
  186. "diffuse": [
  187. 0
  188. ],
  189. "emission": [
  190. 0.0,
  191. 0.0,
  192. 0.0,
  193. 1.0
  194. ],
  195. "specular": [
  196. 0.0,
  197. 0.0,
  198. 0.0,
  199. 1.0
  200. ],
  201. "shininess": [
  202. 0.30000001192092898
  203. ],
  204. "transparency": [
  205. 1.0
  206. ]
  207. },
  208. "technique": 0
  209. }
  210. ],
  211. "textures": [
  212. {
  213. "sampler": 0,
  214. "source": 0
  215. }
  216. ],
  217. "images": [
  218. {
  219. "uri": "DuckCM.png"
  220. }
  221. ],
  222. "samplers": [
  223. {
  224. "magFilter": 9729,
  225. "minFilter": 9986,
  226. "wrapS": 10497,
  227. "wrapT": 10497
  228. }
  229. ],
  230. "techniques": [
  231. {
  232. "attributes": {
  233. "a_normal": "normal",
  234. "a_position": "position",
  235. "a_texcoord0": "texcoord0"
  236. },
  237. "parameters": {
  238. "ambient": {
  239. "type": 35666
  240. },
  241. "diffuse": {
  242. "type": 35678
  243. },
  244. "emission": {
  245. "type": 35666
  246. },
  247. "light0Color": {
  248. "value": [
  249. 1.0,
  250. 1.0,
  251. 1.0
  252. ],
  253. "type": 35665
  254. },
  255. "light0Transform": {
  256. "semantic": "MODELVIEW",
  257. "node": 1,
  258. "type": 35676
  259. },
  260. "modelViewMatrix": {
  261. "semantic": "MODELVIEW",
  262. "type": 35676
  263. },
  264. "normal": {
  265. "semantic": "NORMAL",
  266. "type": 35665
  267. },
  268. "normalMatrix": {
  269. "semantic": "MODELVIEWINVERSETRANSPOSE",
  270. "type": 35675
  271. },
  272. "position": {
  273. "semantic": "POSITION",
  274. "type": 35665
  275. },
  276. "projectionMatrix": {
  277. "semantic": "PROJECTION",
  278. "type": 35676
  279. },
  280. "shininess": {
  281. "type": 5126
  282. },
  283. "specular": {
  284. "type": 35666
  285. },
  286. "texcoord0": {
  287. "semantic": "TEXCOORD_0",
  288. "type": 35665
  289. },
  290. "transparency": {
  291. "type": 5126
  292. }
  293. },
  294. "program": 0,
  295. "states": {
  296. "enable": [
  297. 2884,
  298. 2929
  299. ]
  300. },
  301. "uniforms": {
  302. "u_ambient": "ambient",
  303. "u_diffuse": "diffuse",
  304. "u_emission": "emission",
  305. "u_light0Color": "light0Color",
  306. "u_light0Transform": "light0Transform",
  307. "u_modelViewMatrix": "modelViewMatrix",
  308. "u_normalMatrix": "normalMatrix",
  309. "u_projectionMatrix": "projectionMatrix",
  310. "u_shininess": "shininess",
  311. "u_specular": "specular",
  312. "u_transparency": "transparency"
  313. }
  314. }
  315. ],
  316. "programs": [
  317. {
  318. "attributes": [
  319. "a_normal",
  320. "a_position",
  321. "a_texcoord0"
  322. ],
  323. "fragmentShader": 1,
  324. "vertexShader": 0
  325. }
  326. ],
  327. "shaders": [
  328. {
  329. "type": 35633,
  330. "uri": "Duck0.vert"
  331. },
  332. {
  333. "type": 35632,
  334. "uri": "Duck1.frag"
  335. }
  336. ],
  337. "bufferViews": [
  338. {
  339. "buffer": 0,
  340. "byteOffset": 76768,
  341. "byteLength": 25272,
  342. "target": 34963
  343. },
  344. {
  345. "buffer": 0,
  346. "byteOffset": 0,
  347. "byteLength": 57576,
  348. "byteStride": 12,
  349. "target": 34962
  350. },
  351. {
  352. "buffer": 0,
  353. "byteOffset": 57576,
  354. "byteLength": 19192,
  355. "byteStride": 8,
  356. "target": 34962
  357. }
  358. ],
  359. "buffers": [
  360. {
  361. "byteLength": 102040,
  362. "uri": "Duck0.bin"
  363. }
  364. ],
  365. "extensionsRequired": [
  366. "KHR_technique_webgl"
  367. ],
  368. "extensionsUsed": [
  369. "KHR_technique_webgl"
  370. ]
  371. }