CesiumMilkTruck.gltf 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705
  1. {
  2. "accessors": {
  3. "accessor_100": {
  4. "bufferView": "bufferView_105",
  5. "byteOffset": 7032,
  6. "byteStride": 12,
  7. "componentType": 5126,
  8. "count": 586,
  9. "max": [
  10. 0.999039,
  11. 0.999038,
  12. 1
  13. ],
  14. "min": [
  15. -0.999038,
  16. -0.999038,
  17. -1
  18. ],
  19. "type": "VEC3"
  20. },
  21. "accessor_102": {
  22. "bufferView": "bufferView_105",
  23. "byteOffset": 14064,
  24. "byteStride": 8,
  25. "componentType": 5126,
  26. "count": 586,
  27. "max": [
  28. 0.993657,
  29. 0.989576
  30. ],
  31. "min": [
  32. 0.605093,
  33. 0.00905001
  34. ],
  35. "type": "VEC2"
  36. },
  37. "accessor_63": {
  38. "bufferView": "bufferView_104",
  39. "byteOffset": 4608,
  40. "byteStride": 0,
  41. "componentType": 5123,
  42. "count": 5232,
  43. "type": "SCALAR"
  44. },
  45. "accessor_66": {
  46. "bufferView": "bufferView_104",
  47. "byteOffset": 15072,
  48. "byteStride": 0,
  49. "componentType": 5123,
  50. "count": 168,
  51. "type": "SCALAR"
  52. },
  53. "accessor_69": {
  54. "bufferView": "bufferView_104",
  55. "byteOffset": 15408,
  56. "byteStride": 0,
  57. "componentType": 5123,
  58. "count": 864,
  59. "type": "SCALAR"
  60. },
  61. "accessor_71": {
  62. "bufferView": "bufferView_105",
  63. "byteOffset": 18752,
  64. "byteStride": 12,
  65. "componentType": 5126,
  66. "count": 2392,
  67. "max": [
  68. 2.438,
  69. 2.58437,
  70. 1.396
  71. ],
  72. "min": [
  73. -2.43091,
  74. 0.2668,
  75. -1.396
  76. ],
  77. "type": "VEC3"
  78. },
  79. "accessor_73": {
  80. "bufferView": "bufferView_105",
  81. "byteOffset": 47456,
  82. "byteStride": 12,
  83. "componentType": 5126,
  84. "count": 2392,
  85. "max": [
  86. 1,
  87. 1,
  88. 1
  89. ],
  90. "min": [
  91. -1,
  92. -1,
  93. -1
  94. ],
  95. "type": "VEC3"
  96. },
  97. "accessor_75": {
  98. "bufferView": "bufferView_105",
  99. "byteOffset": 76160,
  100. "byteStride": 8,
  101. "componentType": 5126,
  102. "count": 2392,
  103. "max": [
  104. 0.896458,
  105. 0.997245
  106. ],
  107. "min": [
  108. 0.00295639,
  109. 0.015672
  110. ],
  111. "type": "VEC2"
  112. },
  113. "accessor_96": {
  114. "bufferView": "bufferView_104",
  115. "byteOffset": 0,
  116. "byteStride": 0,
  117. "componentType": 5123,
  118. "count": 2304,
  119. "type": "SCALAR"
  120. },
  121. "accessor_98": {
  122. "bufferView": "bufferView_105",
  123. "byteOffset": 0,
  124. "byteStride": 12,
  125. "componentType": 5126,
  126. "count": 586,
  127. "max": [
  128. 0.4278,
  129. 0.4278,
  130. 1.058
  131. ],
  132. "min": [
  133. -0.4278,
  134. -0.4278,
  135. -1.058
  136. ],
  137. "type": "VEC3"
  138. },
  139. "animAccessor_0": {
  140. "bufferView": "bufferView_103",
  141. "byteOffset": 0,
  142. "componentType": 5126,
  143. "count": 31,
  144. "type": "SCALAR"
  145. },
  146. "animAccessor_1": {
  147. "bufferView": "bufferView_103",
  148. "byteOffset": 124,
  149. "componentType": 5126,
  150. "count": 31,
  151. "type": "VEC4"
  152. }
  153. },
  154. "animations": {
  155. "animation_0": {
  156. "channels": [
  157. {
  158. "sampler": "animation_0_rotation_sampler",
  159. "target": {
  160. "id": "Geometry-mesh001Node",
  161. "path": "rotation"
  162. }
  163. }
  164. ],
  165. "parameters": {
  166. "TIME": "animAccessor_0",
  167. "rotation": "animAccessor_1"
  168. },
  169. "samplers": {
  170. "animation_0_rotation_sampler": {
  171. "input": "TIME",
  172. "interpolation": "LINEAR",
  173. "output": "rotation"
  174. }
  175. }
  176. },
  177. "animation_1": {
  178. "channels": [
  179. {
  180. "sampler": "animation_1_rotation_sampler",
  181. "target": {
  182. "id": "meshInst962Node",
  183. "path": "rotation"
  184. }
  185. }
  186. ],
  187. "parameters": {
  188. "TIME": "animAccessor_0",
  189. "rotation": "animAccessor_1"
  190. },
  191. "samplers": {
  192. "animation_1_rotation_sampler": {
  193. "input": "TIME",
  194. "interpolation": "LINEAR",
  195. "output": "rotation"
  196. }
  197. }
  198. }
  199. },
  200. "asset": {
  201. "generator": "collada2gltf@ceec062e3d5793f2f249f53cbd843aee382ad40b",
  202. "premultipliedAlpha": true,
  203. "profile": {
  204. "api": "WebGL",
  205. "version": "1.0.2"
  206. },
  207. "version": 1
  208. },
  209. "bufferViews": {
  210. "bufferView_103": {
  211. "buffer": "CesiumMilkTruck",
  212. "byteLength": 620,
  213. "byteOffset": 0
  214. },
  215. "bufferView_104": {
  216. "buffer": "CesiumMilkTruck",
  217. "byteLength": 17136,
  218. "byteOffset": 620,
  219. "target": 34963
  220. },
  221. "bufferView_105": {
  222. "buffer": "CesiumMilkTruck",
  223. "byteLength": 95296,
  224. "byteOffset": 17756,
  225. "target": 34962
  226. }
  227. },
  228. "buffers": {
  229. "CesiumMilkTruck": {
  230. "byteLength": 113052,
  231. "type": "arraybuffer",
  232. "uri": "CesiumMilkTruck.bin"
  233. }
  234. },
  235. "images": {
  236. "Image0001": {
  237. "name": "Image0001",
  238. "uri": "CesiumMilkTruck.png"
  239. }
  240. },
  241. "materials": {
  242. "Effect-glass": {
  243. "name": "glass",
  244. "technique": "technique0",
  245. "values": {
  246. "diffuse": [
  247. 0,
  248. 0.0405063,
  249. 0.0212407,
  250. 1
  251. ],
  252. "shininess": 256,
  253. "specular": [
  254. 0.65,
  255. 0.65,
  256. 0.65,
  257. 1
  258. ]
  259. }
  260. },
  261. "Effect-truck": {
  262. "name": "truck",
  263. "technique": "technique1",
  264. "values": {
  265. "diffuse": "texture_Image0001",
  266. "shininess": 256,
  267. "specular": [
  268. 0.04,
  269. 0.04,
  270. 0.04,
  271. 1
  272. ]
  273. }
  274. },
  275. "Effect-wheels": {
  276. "name": "wheels",
  277. "technique": "technique1",
  278. "values": {
  279. "diffuse": "texture_Image0001",
  280. "shininess": 256,
  281. "specular": [
  282. 0.04,
  283. 0.04,
  284. 0.04,
  285. 1
  286. ]
  287. }
  288. },
  289. "Effect-window_trim": {
  290. "name": "window_trim",
  291. "technique": "technique0",
  292. "values": {
  293. "diffuse": [
  294. 0.064,
  295. 0.064,
  296. 0.064,
  297. 1
  298. ],
  299. "shininess": 256,
  300. "specular": [
  301. 0.04,
  302. 0.04,
  303. 0.04,
  304. 1
  305. ]
  306. }
  307. }
  308. },
  309. "meshes": {
  310. "Geometry-mesh001": {
  311. "name": "Wheels",
  312. "primitives": [
  313. {
  314. "attributes": {
  315. "NORMAL": "accessor_100",
  316. "POSITION": "accessor_98",
  317. "TEXCOORD_0": "accessor_102"
  318. },
  319. "indices": "accessor_96",
  320. "material": "Effect-wheels",
  321. "mode": 4
  322. }
  323. ]
  324. },
  325. "Geometry-mesh002": {
  326. "name": "Cesium_Milk_Truck",
  327. "primitives": [
  328. {
  329. "attributes": {
  330. "NORMAL": "accessor_73",
  331. "POSITION": "accessor_71",
  332. "TEXCOORD_0": "accessor_75"
  333. },
  334. "indices": "accessor_63",
  335. "material": "Effect-truck",
  336. "mode": 4
  337. },
  338. {
  339. "attributes": {
  340. "NORMAL": "accessor_73",
  341. "POSITION": "accessor_71",
  342. "TEXCOORD_0": "accessor_75"
  343. },
  344. "indices": "accessor_66",
  345. "material": "Effect-glass",
  346. "mode": 4
  347. },
  348. {
  349. "attributes": {
  350. "NORMAL": "accessor_73",
  351. "POSITION": "accessor_71",
  352. "TEXCOORD_0": "accessor_75"
  353. },
  354. "indices": "accessor_69",
  355. "material": "Effect-window_trim",
  356. "mode": 4
  357. }
  358. ]
  359. }
  360. },
  361. "nodes": {
  362. "Geometry-mesh001Node": {
  363. "children": [],
  364. "meshes": [
  365. "Geometry-mesh001"
  366. ],
  367. "name": "Wheels",
  368. "rotation": [
  369. 0,
  370. 0,
  371. -0.0884856,
  372. 0.996077
  373. ],
  374. "scale": [
  375. 1,
  376. 1,
  377. 1
  378. ],
  379. "translation": [
  380. 1.43267,
  381. 0.427722,
  382. -2.98023e-008
  383. ]
  384. },
  385. "Geometry-mesh002Node": {
  386. "children": [
  387. "Geometry-mesh001Node",
  388. "meshInst962Node"
  389. ],
  390. "matrix": [
  391. 1,
  392. 0,
  393. 0,
  394. 0,
  395. 0,
  396. 1,
  397. 0,
  398. 0,
  399. 0,
  400. 0,
  401. 1,
  402. 0,
  403. 0,
  404. 0,
  405. 0,
  406. 1
  407. ],
  408. "meshes": [
  409. "Geometry-mesh002"
  410. ],
  411. "name": "Cesium_Milk_Truck"
  412. },
  413. "groupLocator006Node": {
  414. "children": [
  415. "txtrLocator003Node",
  416. "txtrLocator013Node"
  417. ],
  418. "matrix": [
  419. 1,
  420. 0,
  421. 0,
  422. 0,
  423. 0,
  424. 1,
  425. 0,
  426. 0,
  427. 0,
  428. 0,
  429. 1,
  430. 0,
  431. 0,
  432. 0,
  433. 0,
  434. 1
  435. ],
  436. "name": "Texture_Group"
  437. },
  438. "meshInst962Node": {
  439. "children": [],
  440. "meshes": [
  441. "Geometry-mesh001"
  442. ],
  443. "name": "Wheels__2_",
  444. "rotation": [
  445. 0,
  446. 0,
  447. -0.0884856,
  448. 0.996077
  449. ],
  450. "scale": [
  451. 1,
  452. 1,
  453. 1
  454. ],
  455. "translation": [
  456. -1.35233,
  457. 0.427722,
  458. -2.98023e-008
  459. ]
  460. },
  461. "polyRender006": {
  462. "children": [],
  463. "matrix": [
  464. 1,
  465. 0,
  466. 0,
  467. 0,
  468. 0,
  469. 1,
  470. 0,
  471. 0,
  472. 0,
  473. 0,
  474. 1,
  475. 0,
  476. 0,
  477. 0,
  478. 0,
  479. 1
  480. ],
  481. "name": "Render"
  482. },
  483. "txtrLocator003Node": {
  484. "children": [],
  485. "matrix": [
  486. 1,
  487. 0,
  488. 0,
  489. 0,
  490. 0,
  491. 1,
  492. 0,
  493. 0,
  494. 0,
  495. 0,
  496. 1,
  497. 0,
  498. 0,
  499. 0,
  500. 0,
  501. 1
  502. ],
  503. "name": "Cesium_Milk_Truck__2___Image___Texture_"
  504. },
  505. "txtrLocator013Node": {
  506. "children": [],
  507. "matrix": [
  508. 1,
  509. 0,
  510. 0,
  511. 0,
  512. 0,
  513. 1,
  514. 0,
  515. 0,
  516. 0,
  517. 0,
  518. 1,
  519. 0,
  520. 0,
  521. 0,
  522. 0,
  523. 1
  524. ],
  525. "name": "Cesium_Milk_Truck__2___Image___2___Texture_"
  526. }
  527. },
  528. "programs": {
  529. "program_0": {
  530. "attributes": [
  531. "a_normal",
  532. "a_position"
  533. ],
  534. "fragmentShader": "CesiumMilkTruck0FS",
  535. "vertexShader": "CesiumMilkTruck0VS"
  536. },
  537. "program_1": {
  538. "attributes": [
  539. "a_normal",
  540. "a_position",
  541. "a_texcoord0"
  542. ],
  543. "fragmentShader": "CesiumMilkTruck1FS",
  544. "vertexShader": "CesiumMilkTruck1VS"
  545. }
  546. },
  547. "samplers": {
  548. "sampler_0": {
  549. "magFilter": 9729,
  550. "minFilter": 9987,
  551. "wrapS": 10497,
  552. "wrapT": 10497
  553. }
  554. },
  555. "scene": "defaultScene",
  556. "scenes": {
  557. "defaultScene": {
  558. "nodes": [
  559. "polyRender006",
  560. "Geometry-mesh002Node",
  561. "groupLocator006Node"
  562. ]
  563. }
  564. },
  565. "shaders": {
  566. "CesiumMilkTruck0FS": {
  567. "type": 35632,
  568. "uri": "CesiumMilkTruck0FS.glsl"
  569. },
  570. "CesiumMilkTruck0VS": {
  571. "type": 35633,
  572. "uri": "CesiumMilkTruck0VS.glsl"
  573. },
  574. "CesiumMilkTruck1FS": {
  575. "type": 35632,
  576. "uri": "CesiumMilkTruck1FS.glsl"
  577. },
  578. "CesiumMilkTruck1VS": {
  579. "type": 35633,
  580. "uri": "CesiumMilkTruck1VS.glsl"
  581. }
  582. },
  583. "skins": {},
  584. "techniques": {
  585. "technique0": {
  586. "attributes": {
  587. "a_normal": "normal",
  588. "a_position": "position"
  589. },
  590. "parameters": {
  591. "diffuse": {
  592. "type": 35666
  593. },
  594. "modelViewMatrix": {
  595. "semantic": "MODELVIEW",
  596. "type": 35676
  597. },
  598. "normal": {
  599. "semantic": "NORMAL",
  600. "type": 35665
  601. },
  602. "normalMatrix": {
  603. "semantic": "MODELVIEWINVERSETRANSPOSE",
  604. "type": 35675
  605. },
  606. "position": {
  607. "semantic": "POSITION",
  608. "type": 35665
  609. },
  610. "projectionMatrix": {
  611. "semantic": "PROJECTION",
  612. "type": 35676
  613. },
  614. "shininess": {
  615. "type": 5126
  616. },
  617. "specular": {
  618. "type": 35666
  619. }
  620. },
  621. "program": "program_0",
  622. "states": {
  623. "enable": [
  624. 2929,
  625. 2884
  626. ]
  627. },
  628. "uniforms": {
  629. "u_diffuse": "diffuse",
  630. "u_modelViewMatrix": "modelViewMatrix",
  631. "u_normalMatrix": "normalMatrix",
  632. "u_projectionMatrix": "projectionMatrix",
  633. "u_shininess": "shininess",
  634. "u_specular": "specular"
  635. }
  636. },
  637. "technique1": {
  638. "attributes": {
  639. "a_normal": "normal",
  640. "a_position": "position",
  641. "a_texcoord0": "texcoord0"
  642. },
  643. "parameters": {
  644. "diffuse": {
  645. "type": 35678
  646. },
  647. "modelViewMatrix": {
  648. "semantic": "MODELVIEW",
  649. "type": 35676
  650. },
  651. "normal": {
  652. "semantic": "NORMAL",
  653. "type": 35665
  654. },
  655. "normalMatrix": {
  656. "semantic": "MODELVIEWINVERSETRANSPOSE",
  657. "type": 35675
  658. },
  659. "position": {
  660. "semantic": "POSITION",
  661. "type": 35665
  662. },
  663. "projectionMatrix": {
  664. "semantic": "PROJECTION",
  665. "type": 35676
  666. },
  667. "shininess": {
  668. "type": 5126
  669. },
  670. "specular": {
  671. "type": 35666
  672. },
  673. "texcoord0": {
  674. "semantic": "TEXCOORD_0",
  675. "type": 35664
  676. }
  677. },
  678. "program": "program_1",
  679. "states": {
  680. "enable": [
  681. 2929,
  682. 2884
  683. ]
  684. },
  685. "uniforms": {
  686. "u_diffuse": "diffuse",
  687. "u_modelViewMatrix": "modelViewMatrix",
  688. "u_normalMatrix": "normalMatrix",
  689. "u_projectionMatrix": "projectionMatrix",
  690. "u_shininess": "shininess",
  691. "u_specular": "specular"
  692. }
  693. }
  694. },
  695. "textures": {
  696. "texture_Image0001": {
  697. "format": 6408,
  698. "internalFormat": 6408,
  699. "sampler": "sampler_0",
  700. "source": "Image0001",
  701. "target": 3553,
  702. "type": 5121
  703. }
  704. }
  705. }