RiggedSimple.gltf 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667
  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. 4,
  18. 1
  19. ],
  20. "matrix": [
  21. 1.0,
  22. 0.0,
  23. 0.0,
  24. 0.0,
  25. 0.0,
  26. 0.0,
  27. -1.0,
  28. 0.0,
  29. 0.0,
  30. 1.0,
  31. 0.0,
  32. 0.0,
  33. 0.0,
  34. 0.0,
  35. 0.0,
  36. 1.0
  37. ]
  38. },
  39. {
  40. "mesh": 0,
  41. "skin": 0
  42. },
  43. {
  44. "children": [
  45. 3
  46. ],
  47. "translation": [
  48. 0.0,
  49. -3.156060017772689e-7,
  50. -4.1803297996521
  51. ],
  52. "rotation": [
  53. -0.7047404050827026,
  54. -0.0,
  55. -0.0,
  56. -0.7094652056694031
  57. ],
  58. "scale": [
  59. 1.0,
  60. 0.9999998807907105,
  61. 0.9999998807907105
  62. ]
  63. },
  64. {
  65. "translation": [
  66. 0.0,
  67. 4.18717098236084,
  68. 0.0
  69. ],
  70. "rotation": [
  71. -0.0020521103870123626,
  72. -9.94789530750495e-8,
  73. -0.00029137087403796613,
  74. -0.999997854232788
  75. ],
  76. "scale": [
  77. 1.0,
  78. 1.0,
  79. 1.0000001192092896
  80. ]
  81. },
  82. {
  83. "children": [
  84. 2
  85. ]
  86. }
  87. ],
  88. "meshes": [
  89. {
  90. "primitives": [
  91. {
  92. "attributes": {
  93. "JOINTS_0": 1,
  94. "NORMAL": 2,
  95. "POSITION": 3,
  96. "WEIGHTS_0": 4
  97. },
  98. "indices": 0,
  99. "mode": 4,
  100. "material": 0
  101. }
  102. ],
  103. "name": "Cylinder"
  104. }
  105. ],
  106. "animations": [
  107. {
  108. "channels": [
  109. {
  110. "sampler": 0,
  111. "target": {
  112. "node": 2,
  113. "path": "translation"
  114. }
  115. },
  116. {
  117. "sampler": 1,
  118. "target": {
  119. "node": 2,
  120. "path": "rotation"
  121. }
  122. },
  123. {
  124. "sampler": 2,
  125. "target": {
  126. "node": 2,
  127. "path": "scale"
  128. }
  129. }
  130. ],
  131. "samplers": [
  132. {
  133. "input": 5,
  134. "interpolation": "LINEAR",
  135. "output": 6
  136. },
  137. {
  138. "input": 5,
  139. "interpolation": "LINEAR",
  140. "output": 7
  141. },
  142. {
  143. "input": 5,
  144. "interpolation": "LINEAR",
  145. "output": 8
  146. }
  147. ]
  148. },
  149. {
  150. "channels": [
  151. {
  152. "sampler": 0,
  153. "target": {
  154. "node": 3,
  155. "path": "translation"
  156. }
  157. },
  158. {
  159. "sampler": 1,
  160. "target": {
  161. "node": 3,
  162. "path": "rotation"
  163. }
  164. },
  165. {
  166. "sampler": 2,
  167. "target": {
  168. "node": 3,
  169. "path": "scale"
  170. }
  171. }
  172. ],
  173. "samplers": [
  174. {
  175. "input": 9,
  176. "interpolation": "LINEAR",
  177. "output": 10
  178. },
  179. {
  180. "input": 9,
  181. "interpolation": "LINEAR",
  182. "output": 11
  183. },
  184. {
  185. "input": 9,
  186. "interpolation": "LINEAR",
  187. "output": 12
  188. }
  189. ]
  190. }
  191. ],
  192. "skins": [
  193. {
  194. "inverseBindMatrices": 13,
  195. "skeleton": 2,
  196. "joints": [
  197. 2,
  198. 3
  199. ],
  200. "name": "Armature"
  201. }
  202. ],
  203. "accessors": [
  204. {
  205. "bufferView": 0,
  206. "byteOffset": 0,
  207. "componentType": 5123,
  208. "count": 564,
  209. "max": [
  210. 95
  211. ],
  212. "min": [
  213. 0
  214. ],
  215. "type": "SCALAR"
  216. },
  217. {
  218. "bufferView": 1,
  219. "byteOffset": 0,
  220. "componentType": 5123,
  221. "count": 96,
  222. "max": [
  223. 1,
  224. 1,
  225. 0,
  226. 0
  227. ],
  228. "min": [
  229. 0,
  230. 0,
  231. 0,
  232. 0
  233. ],
  234. "type": "VEC4"
  235. },
  236. {
  237. "bufferView": 2,
  238. "byteOffset": 0,
  239. "componentType": 5126,
  240. "count": 96,
  241. "max": [
  242. 0.998198390007019,
  243. 0.998198390007019,
  244. 0.6888381242752075
  245. ],
  246. "min": [
  247. -0.998198390007019,
  248. -0.998198390007019,
  249. -0.644473135471344
  250. ],
  251. "type": "VEC3"
  252. },
  253. {
  254. "bufferView": 2,
  255. "byteOffset": 1152,
  256. "componentType": 5126,
  257. "count": 96,
  258. "max": [
  259. 1.0,
  260. 1.0,
  261. 4.575077056884766
  262. ],
  263. "min": [
  264. -1.0,
  265. -0.9999995827674866,
  266. -4.575077056884766
  267. ],
  268. "type": "VEC3"
  269. },
  270. {
  271. "bufferView": 3,
  272. "byteOffset": 0,
  273. "componentType": 5126,
  274. "count": 96,
  275. "max": [
  276. 1.0,
  277. 0.261398196220398,
  278. 0.0,
  279. 0.0
  280. ],
  281. "min": [
  282. 0.738601803779602,
  283. 0.0,
  284. 0.0,
  285. 0.0
  286. ],
  287. "type": "VEC4"
  288. },
  289. {
  290. "bufferView": 4,
  291. "byteOffset": 0,
  292. "componentType": 5126,
  293. "count": 3,
  294. "max": [
  295. 2.083333015441895
  296. ],
  297. "min": [
  298. 0.04166661947965622
  299. ],
  300. "type": "SCALAR"
  301. },
  302. {
  303. "bufferView": 5,
  304. "byteOffset": 0,
  305. "componentType": 5126,
  306. "count": 3,
  307. "max": [
  308. 0.0,
  309. -3.156060017772689e-7,
  310. -4.1803297996521
  311. ],
  312. "min": [
  313. 0.0,
  314. -3.156060017772689e-7,
  315. -4.1803297996521
  316. ],
  317. "type": "VEC3"
  318. },
  319. {
  320. "bufferView": 6,
  321. "byteOffset": 0,
  322. "componentType": 5126,
  323. "count": 3,
  324. "max": [
  325. -0.7047404050827026,
  326. -0.0,
  327. -0.0,
  328. -0.7094652056694031
  329. ],
  330. "min": [
  331. -0.7047404050827026,
  332. -0.0,
  333. -0.0,
  334. -0.7094652056694031
  335. ],
  336. "type": "VEC4"
  337. },
  338. {
  339. "bufferView": 5,
  340. "byteOffset": 36,
  341. "componentType": 5126,
  342. "count": 3,
  343. "max": [
  344. 1.0,
  345. 0.9999998807907105,
  346. 0.9999998807907105
  347. ],
  348. "min": [
  349. 1.0,
  350. 0.9999998807907105,
  351. 0.9999998807907105
  352. ],
  353. "type": "VEC3"
  354. },
  355. {
  356. "bufferView": 4,
  357. "byteOffset": 12,
  358. "componentType": 5126,
  359. "count": 3,
  360. "max": [
  361. 2.083333015441895
  362. ],
  363. "min": [
  364. 0.04166661947965622
  365. ],
  366. "type": "SCALAR"
  367. },
  368. {
  369. "bufferView": 5,
  370. "byteOffset": 72,
  371. "componentType": 5126,
  372. "count": 3,
  373. "max": [
  374. 0.0,
  375. 4.18717098236084,
  376. 0.0
  377. ],
  378. "min": [
  379. 0.0,
  380. 4.18717098236084,
  381. 0.0
  382. ],
  383. "type": "VEC3"
  384. },
  385. {
  386. "bufferView": 6,
  387. "byteOffset": 48,
  388. "componentType": 5126,
  389. "count": 3,
  390. "max": [
  391. 0.2933785021305084,
  392. -9.94789530750495e-8,
  393. -0.0002783441450446844,
  394. -0.9559963345527648
  395. ],
  396. "min": [
  397. -0.0020521103870123626,
  398. -0.00008614854596089572,
  399. -0.00029137087403796613,
  400. -0.999997854232788
  401. ],
  402. "type": "VEC4"
  403. },
  404. {
  405. "bufferView": 5,
  406. "byteOffset": 108,
  407. "componentType": 5126,
  408. "count": 3,
  409. "max": [
  410. 1.0,
  411. 1.0,
  412. 1.0000001192092896
  413. ],
  414. "min": [
  415. 1.0,
  416. 1.0,
  417. 1.0000001192092896
  418. ],
  419. "type": "VEC3"
  420. },
  421. {
  422. "bufferView": 7,
  423. "byteOffset": 0,
  424. "componentType": 5126,
  425. "count": 2,
  426. "max": [
  427. 1.0,
  428. 0.0,
  429. 0.000001394809942212305,
  430. 0.0,
  431. 0.000002896920022976701,
  432. 0.006681859027594328,
  433. -0.9999778270721436,
  434. 0.0,
  435. 0.0005827349959872663,
  436. 0.9999966025352478,
  437. 0.006681739818304777,
  438. 0.0,
  439. 0.0,
  440. 4.18023681640625,
  441. 0.02795993909239769,
  442. 1.0
  443. ],
  444. "min": [
  445. 0.9999999403953552,
  446. -0.0005827400018461049,
  447. 0.0,
  448. 0.0,
  449. 0.0,
  450. 0.002577662002295256,
  451. -0.9999967217445374,
  452. 0.0,
  453. 0.0,
  454. 0.999977707862854,
  455. 0.002577601931989193,
  456. 0.0,
  457. -0.000004012620138382772,
  458. -0.006818830035626888,
  459. 0.027931740507483484,
  460. 1.0
  461. ],
  462. "type": "MAT4"
  463. }
  464. ],
  465. "materials": [
  466. {
  467. "values": {
  468. "ambient": [
  469. 0.0,
  470. 0.0,
  471. 0.0,
  472. 1.0
  473. ],
  474. "diffuse": [
  475. 0.27963539958000185,
  476. 0.6399999856948853,
  477. 0.21094390749931336,
  478. 1.0
  479. ],
  480. "emission": [
  481. 0.0,
  482. 0.0,
  483. 0.0,
  484. 1.0
  485. ],
  486. "specular": [
  487. 0.5,
  488. 0.5,
  489. 0.5,
  490. 1.0
  491. ],
  492. "shininess": [
  493. 50.0
  494. ],
  495. "transparency": [
  496. 1.0
  497. ]
  498. },
  499. "technique": 0
  500. }
  501. ],
  502. "techniques": [
  503. {
  504. "attributes": {
  505. "a_joint": "joint",
  506. "a_normal": "normal",
  507. "a_position": "position",
  508. "a_weight": "weight"
  509. },
  510. "parameters": {
  511. "ambient": {
  512. "type": 35666
  513. },
  514. "diffuse": {
  515. "type": 35666
  516. },
  517. "emission": {
  518. "type": 35666
  519. },
  520. "joint": {
  521. "semantic": "JOINT",
  522. "type": 35666
  523. },
  524. "jointMatrix": {
  525. "semantic": "JOINTMATRIX",
  526. "count": 2,
  527. "type": 35676
  528. },
  529. "modelViewMatrix": {
  530. "semantic": "MODELVIEW",
  531. "type": 35676
  532. },
  533. "normal": {
  534. "semantic": "NORMAL",
  535. "type": 35665
  536. },
  537. "normalMatrix": {
  538. "semantic": "MODELVIEWINVERSETRANSPOSE",
  539. "type": 35675
  540. },
  541. "position": {
  542. "semantic": "POSITION",
  543. "type": 35665
  544. },
  545. "projectionMatrix": {
  546. "semantic": "PROJECTION",
  547. "type": 35676
  548. },
  549. "shininess": {
  550. "type": 5126
  551. },
  552. "specular": {
  553. "type": 35666
  554. },
  555. "transparency": {
  556. "type": 5126
  557. },
  558. "weight": {
  559. "semantic": "WEIGHT",
  560. "type": 35666
  561. }
  562. },
  563. "program": 0,
  564. "states": {
  565. "enable": [
  566. 2884,
  567. 2929
  568. ]
  569. },
  570. "uniforms": {
  571. "u_ambient": "ambient",
  572. "u_diffuse": "diffuse",
  573. "u_emission": "emission",
  574. "u_jointMatrix": "jointMatrix",
  575. "u_modelViewMatrix": "modelViewMatrix",
  576. "u_normalMatrix": "normalMatrix",
  577. "u_projectionMatrix": "projectionMatrix",
  578. "u_shininess": "shininess",
  579. "u_specular": "specular",
  580. "u_transparency": "transparency"
  581. }
  582. }
  583. ],
  584. "programs": [
  585. {
  586. "attributes": [
  587. "a_joint",
  588. "a_normal",
  589. "a_position",
  590. "a_weight"
  591. ],
  592. "fragmentShader": 1,
  593. "vertexShader": 0
  594. }
  595. ],
  596. "shaders": [
  597. {
  598. "type": 35633,
  599. "uri": "RiggedSimple0.vert"
  600. },
  601. {
  602. "type": 35632,
  603. "uri": "RiggedSimple1.frag"
  604. }
  605. ],
  606. "bufferViews": [
  607. {
  608. "buffer": 0,
  609. "byteOffset": 5000,
  610. "byteLength": 1128,
  611. "target": 34963
  612. },
  613. {
  614. "buffer": 0,
  615. "byteOffset": 4208,
  616. "byteLength": 768,
  617. "byteStride": 8,
  618. "target": 34962
  619. },
  620. {
  621. "buffer": 0,
  622. "byteOffset": 1904,
  623. "byteLength": 2304,
  624. "byteStride": 12,
  625. "target": 34962
  626. },
  627. {
  628. "buffer": 0,
  629. "byteOffset": 224,
  630. "byteLength": 1536,
  631. "byteStride": 16,
  632. "target": 34962
  633. },
  634. {
  635. "buffer": 0,
  636. "byteOffset": 4976,
  637. "byteLength": 24
  638. },
  639. {
  640. "buffer": 0,
  641. "byteOffset": 1760,
  642. "byteLength": 144
  643. },
  644. {
  645. "buffer": 0,
  646. "byteOffset": 128,
  647. "byteLength": 96
  648. },
  649. {
  650. "buffer": 0,
  651. "byteOffset": 0,
  652. "byteLength": 128
  653. }
  654. ],
  655. "buffers": [
  656. {
  657. "byteLength": 6128,
  658. "uri": "RiggedSimple0.bin"
  659. }
  660. ],
  661. "extensionsRequired": [
  662. "KHR_technique_webgl"
  663. ],
  664. "extensionsUsed": [
  665. "KHR_technique_webgl"
  666. ]
  667. }