CesiumMilkTruck.gltf 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772
  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. "mesh": 0,
  17. "children": [
  18. 3,
  19. 1
  20. ]
  21. },
  22. {
  23. "children": [
  24. 2
  25. ],
  26. "matrix": [
  27. 1.0,
  28. 0.0,
  29. 0.0,
  30. 0.0,
  31. 0.0,
  32. 1.0,
  33. 0.0,
  34. 0.0,
  35. 0.0,
  36. 0.0,
  37. 1.0,
  38. 0.0,
  39. -1.352329969406128,
  40. 0.4277220070362091,
  41. -2.98022992950564e-8,
  42. 1.0
  43. ]
  44. },
  45. {
  46. "mesh": 1,
  47. "rotation": [
  48. -0.0,
  49. -0.0,
  50. 0.08848562091588974,
  51. -0.9960774779319764
  52. ]
  53. },
  54. {
  55. "children": [
  56. 4
  57. ],
  58. "matrix": [
  59. 1.0,
  60. 0.0,
  61. 0.0,
  62. 0.0,
  63. 0.0,
  64. 1.0,
  65. 0.0,
  66. 0.0,
  67. 0.0,
  68. 0.0,
  69. 1.0,
  70. 0.0,
  71. 1.432669997215271,
  72. 0.4277220070362091,
  73. -2.98022992950564e-8,
  74. 1.0
  75. ]
  76. },
  77. {
  78. "mesh": 1,
  79. "rotation": [
  80. -0.0,
  81. -0.0,
  82. 0.08848562091588974,
  83. -0.9960774779319764
  84. ]
  85. }
  86. ],
  87. "meshes": [
  88. {
  89. "primitives": [
  90. {
  91. "attributes": {
  92. "NORMAL": 1,
  93. "POSITION": 2,
  94. "TEXCOORD_0": 3
  95. },
  96. "indices": 0,
  97. "mode": 4,
  98. "material": 0
  99. },
  100. {
  101. "attributes": {
  102. "NORMAL": 5,
  103. "POSITION": 6
  104. },
  105. "indices": 4,
  106. "mode": 4,
  107. "material": 1
  108. },
  109. {
  110. "attributes": {
  111. "NORMAL": 8,
  112. "POSITION": 9
  113. },
  114. "indices": 7,
  115. "mode": 4,
  116. "material": 2
  117. }
  118. ],
  119. "name": "Cesium_Milk_Truck"
  120. },
  121. {
  122. "primitives": [
  123. {
  124. "attributes": {
  125. "NORMAL": 11,
  126. "POSITION": 12,
  127. "TEXCOORD_0": 13
  128. },
  129. "indices": 10,
  130. "mode": 4,
  131. "material": 3
  132. }
  133. ],
  134. "name": "Wheels"
  135. }
  136. ],
  137. "animations": [
  138. {
  139. "channels": [
  140. {
  141. "sampler": 0,
  142. "target": {
  143. "node": 4,
  144. "path": "rotation"
  145. }
  146. }
  147. ],
  148. "samplers": [
  149. {
  150. "input": 14,
  151. "interpolation": "LINEAR",
  152. "output": 15
  153. }
  154. ]
  155. },
  156. {
  157. "channels": [
  158. {
  159. "sampler": 0,
  160. "target": {
  161. "node": 2,
  162. "path": "rotation"
  163. }
  164. }
  165. ],
  166. "samplers": [
  167. {
  168. "input": 16,
  169. "interpolation": "LINEAR",
  170. "output": 17
  171. }
  172. ]
  173. }
  174. ],
  175. "accessors": [
  176. {
  177. "bufferView": 0,
  178. "byteOffset": 0,
  179. "componentType": 5123,
  180. "count": 5232,
  181. "max": [
  182. 1855
  183. ],
  184. "min": [
  185. 0
  186. ],
  187. "type": "SCALAR"
  188. },
  189. {
  190. "bufferView": 1,
  191. "byteOffset": 0,
  192. "componentType": 5126,
  193. "count": 1856,
  194. "max": [
  195. 1.0,
  196. 1.0,
  197. 1.0
  198. ],
  199. "min": [
  200. -1.0,
  201. -1.0,
  202. -1.0
  203. ],
  204. "type": "VEC3"
  205. },
  206. {
  207. "bufferView": 1,
  208. "byteOffset": 22272,
  209. "componentType": 5126,
  210. "count": 1856,
  211. "max": [
  212. 2.438000202178955,
  213. 2.5843698978424078,
  214. 1.3960000276565552
  215. ],
  216. "min": [
  217. -2.4309098720550539,
  218. 0.2667999863624573,
  219. -1.3960000276565552
  220. ],
  221. "type": "VEC3"
  222. },
  223. {
  224. "bufferView": 2,
  225. "byteOffset": 0,
  226. "componentType": 5126,
  227. "count": 1856,
  228. "max": [
  229. 0.8964579701423645,
  230. 0.997245192527771
  231. ],
  232. "min": [
  233. 0.002956389915198088,
  234. 0.015672028064727784
  235. ],
  236. "type": "VEC2"
  237. },
  238. {
  239. "bufferView": 0,
  240. "byteOffset": 10464,
  241. "componentType": 5123,
  242. "count": 168,
  243. "max": [
  244. 71
  245. ],
  246. "min": [
  247. 0
  248. ],
  249. "type": "SCALAR"
  250. },
  251. {
  252. "bufferView": 1,
  253. "byteOffset": 44544,
  254. "componentType": 5126,
  255. "count": 72,
  256. "max": [
  257. 0.9574799537658693,
  258. 0.28850099444389346,
  259. 1.0
  260. ],
  261. "min": [
  262. -1.0,
  263. 0.0,
  264. -1.0
  265. ],
  266. "type": "VEC3"
  267. },
  268. {
  269. "bufferView": 1,
  270. "byteOffset": 45408,
  271. "componentType": 5126,
  272. "count": 72,
  273. "max": [
  274. 1.6011799573898316,
  275. 2.3545398712158205,
  276. 1.3960000276565552
  277. ],
  278. "min": [
  279. 0.2288499921560288,
  280. 1.631850004196167,
  281. -1.3960000276565552
  282. ],
  283. "type": "VEC3"
  284. },
  285. {
  286. "bufferView": 0,
  287. "byteOffset": 10800,
  288. "componentType": 5123,
  289. "count": 864,
  290. "max": [
  291. 463
  292. ],
  293. "min": [
  294. 0
  295. ],
  296. "type": "SCALAR"
  297. },
  298. {
  299. "bufferView": 1,
  300. "byteOffset": 46272,
  301. "componentType": 5126,
  302. "count": 464,
  303. "max": [
  304. 1.0,
  305. 1.0,
  306. 1.0
  307. ],
  308. "min": [
  309. -1.0,
  310. -1.0,
  311. -1.0
  312. ],
  313. "type": "VEC3"
  314. },
  315. {
  316. "bufferView": 1,
  317. "byteOffset": 51840,
  318. "componentType": 5126,
  319. "count": 464,
  320. "max": [
  321. 1.6226699352264405,
  322. 2.392000198364258,
  323. 1.100000023841858
  324. ],
  325. "min": [
  326. 0.1931999921798706,
  327. 1.5961999893188477,
  328. -1.1100000143051148
  329. ],
  330. "type": "VEC3"
  331. },
  332. {
  333. "bufferView": 0,
  334. "byteOffset": 12528,
  335. "componentType": 5123,
  336. "count": 2304,
  337. "max": [
  338. 585
  339. ],
  340. "min": [
  341. 0
  342. ],
  343. "type": "SCALAR"
  344. },
  345. {
  346. "bufferView": 1,
  347. "byteOffset": 57408,
  348. "componentType": 5126,
  349. "count": 586,
  350. "max": [
  351. 0.9990389943122864,
  352. 0.9990379810333252,
  353. 1.0
  354. ],
  355. "min": [
  356. -0.9990379810333252,
  357. -0.9990379810333252,
  358. -1.0
  359. ],
  360. "type": "VEC3"
  361. },
  362. {
  363. "bufferView": 1,
  364. "byteOffset": 64440,
  365. "componentType": 5126,
  366. "count": 586,
  367. "max": [
  368. 0.4277999997138977,
  369. 0.4277999997138977,
  370. 1.058000087738037
  371. ],
  372. "min": [
  373. -0.4277999997138977,
  374. -0.4277999997138977,
  375. -1.058000087738037
  376. ],
  377. "type": "VEC3"
  378. },
  379. {
  380. "bufferView": 2,
  381. "byteOffset": 14848,
  382. "componentType": 5126,
  383. "count": 586,
  384. "max": [
  385. 0.9936569929122924,
  386. 0.9895756244659424
  387. ],
  388. "min": [
  389. 0.6050930023193359,
  390. 0.00905001163482666
  391. ],
  392. "type": "VEC2"
  393. },
  394. {
  395. "bufferView": 3,
  396. "byteOffset": 0,
  397. "componentType": 5126,
  398. "count": 31,
  399. "max": [
  400. 1.25
  401. ],
  402. "min": [
  403. 0.0
  404. ],
  405. "type": "SCALAR"
  406. },
  407. {
  408. "bufferView": 4,
  409. "byteOffset": 0,
  410. "componentType": 5126,
  411. "count": 31,
  412. "max": [
  413. -0.0,
  414. -0.0,
  415. 0.9990190863609314,
  416. 1.0
  417. ],
  418. "min": [
  419. -0.0,
  420. -0.0,
  421. 0.0,
  422. -0.9960774779319764
  423. ],
  424. "type": "VEC4"
  425. },
  426. {
  427. "bufferView": 3,
  428. "byteOffset": 124,
  429. "componentType": 5126,
  430. "count": 31,
  431. "max": [
  432. 1.25
  433. ],
  434. "min": [
  435. 0.0
  436. ],
  437. "type": "SCALAR"
  438. },
  439. {
  440. "bufferView": 4,
  441. "byteOffset": 496,
  442. "componentType": 5126,
  443. "count": 31,
  444. "max": [
  445. -0.0,
  446. -0.0,
  447. 0.9990190863609314,
  448. 1.0
  449. ],
  450. "min": [
  451. -0.0,
  452. -0.0,
  453. 0.0,
  454. -0.9960774779319764
  455. ],
  456. "type": "VEC4"
  457. }
  458. ],
  459. "materials": [
  460. {
  461. "values": {
  462. "diffuse": [
  463. 0
  464. ],
  465. "specular": [
  466. 0.03999999910593033,
  467. 0.03999999910593033,
  468. 0.03999999910593033,
  469. 1.0
  470. ],
  471. "shininess": [
  472. 256.0
  473. ],
  474. "transparency": [
  475. 1.0
  476. ]
  477. },
  478. "technique": 0
  479. },
  480. {
  481. "values": {
  482. "diffuse": [
  483. 0.0,
  484. 0.04050629958510399,
  485. 0.021240700036287309,
  486. 1.0
  487. ],
  488. "specular": [
  489. 0.6499999761581421,
  490. 0.6499999761581421,
  491. 0.6499999761581421,
  492. 1.0
  493. ],
  494. "shininess": [
  495. 256.0
  496. ],
  497. "transparency": [
  498. 1.0
  499. ]
  500. },
  501. "technique": 1
  502. },
  503. {
  504. "values": {
  505. "diffuse": [
  506. 0.06400000303983689,
  507. 0.06400000303983689,
  508. 0.06400000303983689,
  509. 1.0
  510. ],
  511. "specular": [
  512. 0.03999999910593033,
  513. 0.03999999910593033,
  514. 0.03999999910593033,
  515. 1.0
  516. ],
  517. "shininess": [
  518. 256.0
  519. ],
  520. "transparency": [
  521. 1.0
  522. ]
  523. },
  524. "technique": 1,
  525. "name": "window_trim"
  526. },
  527. {
  528. "values": {
  529. "diffuse": [
  530. 1
  531. ],
  532. "specular": [
  533. 0.03999999910593033,
  534. 0.03999999910593033,
  535. 0.03999999910593033,
  536. 1.0
  537. ],
  538. "shininess": [
  539. 256.0
  540. ],
  541. "transparency": [
  542. 1.0
  543. ]
  544. },
  545. "technique": 0,
  546. "name": "wheels"
  547. }
  548. ],
  549. "textures": [
  550. {
  551. "sampler": 0,
  552. "source": 0
  553. },
  554. {
  555. "sampler": 0,
  556. "source": 0
  557. }
  558. ],
  559. "images": [
  560. {
  561. "uri": "CesiumMilkTruck.png"
  562. }
  563. ],
  564. "samplers": [
  565. {
  566. "magFilter": 9729,
  567. "minFilter": 9986,
  568. "wrapS": 10497,
  569. "wrapT": 10497
  570. }
  571. ],
  572. "techniques": [
  573. {
  574. "attributes": {
  575. "a_normal": "normal",
  576. "a_position": "position",
  577. "a_texcoord0": "texcoord0"
  578. },
  579. "parameters": {
  580. "diffuse": {
  581. "type": 35678
  582. },
  583. "modelViewMatrix": {
  584. "semantic": "MODELVIEW",
  585. "type": 35676
  586. },
  587. "normal": {
  588. "semantic": "NORMAL",
  589. "type": 35665
  590. },
  591. "normalMatrix": {
  592. "semantic": "MODELVIEWINVERSETRANSPOSE",
  593. "type": 35675
  594. },
  595. "position": {
  596. "semantic": "POSITION",
  597. "type": 35665
  598. },
  599. "projectionMatrix": {
  600. "semantic": "PROJECTION",
  601. "type": 35676
  602. },
  603. "shininess": {
  604. "type": 5126
  605. },
  606. "specular": {
  607. "type": 35666
  608. },
  609. "texcoord0": {
  610. "semantic": "TEXCOORD_0",
  611. "type": 35665
  612. },
  613. "transparency": {
  614. "type": 5126
  615. }
  616. },
  617. "program": 0,
  618. "states": {
  619. "enable": [
  620. 2884,
  621. 2929
  622. ]
  623. },
  624. "uniforms": {
  625. "u_diffuse": "diffuse",
  626. "u_modelViewMatrix": "modelViewMatrix",
  627. "u_normalMatrix": "normalMatrix",
  628. "u_projectionMatrix": "projectionMatrix",
  629. "u_shininess": "shininess",
  630. "u_specular": "specular",
  631. "u_transparency": "transparency"
  632. }
  633. },
  634. {
  635. "attributes": {
  636. "a_normal": "normal",
  637. "a_position": "position"
  638. },
  639. "parameters": {
  640. "diffuse": {
  641. "type": 35666
  642. },
  643. "modelViewMatrix": {
  644. "semantic": "MODELVIEW",
  645. "type": 35676
  646. },
  647. "normal": {
  648. "semantic": "NORMAL",
  649. "type": 35665
  650. },
  651. "normalMatrix": {
  652. "semantic": "MODELVIEWINVERSETRANSPOSE",
  653. "type": 35675
  654. },
  655. "position": {
  656. "semantic": "POSITION",
  657. "type": 35665
  658. },
  659. "projectionMatrix": {
  660. "semantic": "PROJECTION",
  661. "type": 35676
  662. },
  663. "shininess": {
  664. "type": 5126
  665. },
  666. "specular": {
  667. "type": 35666
  668. },
  669. "transparency": {
  670. "type": 5126
  671. }
  672. },
  673. "program": 1,
  674. "states": {
  675. "enable": [
  676. 2884,
  677. 2929
  678. ]
  679. },
  680. "uniforms": {
  681. "u_diffuse": "diffuse",
  682. "u_modelViewMatrix": "modelViewMatrix",
  683. "u_normalMatrix": "normalMatrix",
  684. "u_projectionMatrix": "projectionMatrix",
  685. "u_shininess": "shininess",
  686. "u_specular": "specular",
  687. "u_transparency": "transparency"
  688. }
  689. }
  690. ],
  691. "programs": [
  692. {
  693. "attributes": [
  694. "a_normal",
  695. "a_position",
  696. "a_texcoord0"
  697. ],
  698. "fragmentShader": 1,
  699. "vertexShader": 0
  700. },
  701. {
  702. "attributes": [
  703. "a_normal",
  704. "a_position"
  705. ],
  706. "fragmentShader": 3,
  707. "vertexShader": 2
  708. }
  709. ],
  710. "shaders": [
  711. {
  712. "type": 35633,
  713. "uri": "CesiumMilkTruck0.vert"
  714. },
  715. {
  716. "type": 35632,
  717. "uri": "CesiumMilkTruck1.frag"
  718. },
  719. {
  720. "type": 35633,
  721. "uri": "CesiumMilkTruck2.vert"
  722. },
  723. {
  724. "type": 35632,
  725. "uri": "CesiumMilkTruck3.frag"
  726. }
  727. ],
  728. "bufferViews": [
  729. {
  730. "buffer": 0,
  731. "byteOffset": 92248,
  732. "byteLength": 17136,
  733. "target": 34963
  734. },
  735. {
  736. "buffer": 0,
  737. "byteOffset": 992,
  738. "byteLength": 71472,
  739. "byteStride": 12,
  740. "target": 34962
  741. },
  742. {
  743. "buffer": 0,
  744. "byteOffset": 72464,
  745. "byteLength": 19536,
  746. "byteStride": 8,
  747. "target": 34962
  748. },
  749. {
  750. "buffer": 0,
  751. "byteOffset": 92000,
  752. "byteLength": 248
  753. },
  754. {
  755. "buffer": 0,
  756. "byteOffset": 0,
  757. "byteLength": 992
  758. }
  759. ],
  760. "buffers": [
  761. {
  762. "byteLength": 109384,
  763. "uri": "CesiumMilkTruck0.bin"
  764. }
  765. ],
  766. "extensionsRequired": [
  767. "KHR_technique_webgl"
  768. ],
  769. "extensionsUsed": [
  770. "KHR_technique_webgl"
  771. ]
  772. }