BoxTextured.gltf 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339
  1. {
  2. "accessors": {
  3. "accessor_21": {
  4. "bufferView": "bufferView_29",
  5. "byteOffset": 0,
  6. "byteStride": 0,
  7. "componentType": 5123,
  8. "count": 36,
  9. "type": "SCALAR"
  10. },
  11. "accessor_23": {
  12. "bufferView": "bufferView_30",
  13. "byteOffset": 0,
  14. "byteStride": 12,
  15. "componentType": 5126,
  16. "count": 24,
  17. "max": [
  18. 0.5,
  19. 0.5,
  20. 0.5
  21. ],
  22. "min": [
  23. -0.5,
  24. -0.5,
  25. -0.5
  26. ],
  27. "type": "VEC3"
  28. },
  29. "accessor_25": {
  30. "bufferView": "bufferView_30",
  31. "byteOffset": 288,
  32. "byteStride": 12,
  33. "componentType": 5126,
  34. "count": 24,
  35. "max": [
  36. 1,
  37. 1,
  38. 1
  39. ],
  40. "min": [
  41. -1,
  42. -1,
  43. -1
  44. ],
  45. "type": "VEC3"
  46. },
  47. "accessor_27": {
  48. "bufferView": "bufferView_30",
  49. "byteOffset": 576,
  50. "byteStride": 8,
  51. "componentType": 5126,
  52. "count": 24,
  53. "max": [
  54. 6,
  55. 1
  56. ],
  57. "min": [
  58. 0,
  59. 0
  60. ],
  61. "type": "VEC2"
  62. }
  63. },
  64. "animations": {},
  65. "asset": {
  66. "generator": "collada2gltf@027f74366341d569dea42e9a68b7104cc3892054",
  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": "BoxTextured",
  77. "byteLength": 72,
  78. "byteOffset": 0,
  79. "target": 34963
  80. },
  81. "bufferView_30": {
  82. "buffer": "BoxTextured",
  83. "byteLength": 768,
  84. "byteOffset": 72,
  85. "target": 34962
  86. }
  87. },
  88. "buffers": {
  89. "BoxTextured": {
  90. "byteLength": 840,
  91. "type": "arraybuffer",
  92. "uri": "BoxTextured.bin"
  93. }
  94. },
  95. "images": {
  96. "Image0001": {
  97. "name": "Image0001",
  98. "uri": "CesiumLogoFlat.png"
  99. }
  100. },
  101. "materials": {
  102. "Effect-Texture": {
  103. "name": "Texture",
  104. "technique": "technique0",
  105. "values": {
  106. "diffuse": "texture_Image0001",
  107. "shininess": 256,
  108. "specular": [
  109. 0.2,
  110. 0.2,
  111. 0.2,
  112. 1
  113. ]
  114. }
  115. }
  116. },
  117. "meshes": {
  118. "Geometry-mesh002": {
  119. "name": "Mesh",
  120. "primitives": [
  121. {
  122. "attributes": {
  123. "NORMAL": "accessor_25",
  124. "POSITION": "accessor_23",
  125. "TEXCOORD_0": "accessor_27"
  126. },
  127. "indices": "accessor_21",
  128. "material": "Effect-Texture",
  129. "mode": 4
  130. }
  131. ]
  132. }
  133. },
  134. "nodes": {
  135. "Geometry-mesh002Node": {
  136. "children": [],
  137. "matrix": [
  138. 1,
  139. 0,
  140. 0,
  141. 0,
  142. 0,
  143. 1,
  144. 0,
  145. 0,
  146. 0,
  147. 0,
  148. 1,
  149. 0,
  150. 0,
  151. 0,
  152. 0,
  153. 1
  154. ],
  155. "meshes": [
  156. "Geometry-mesh002"
  157. ],
  158. "name": "Mesh"
  159. },
  160. "groupLocator030Node": {
  161. "children": [
  162. "txtrLocator026Node"
  163. ],
  164. "matrix": [
  165. 1,
  166. 0,
  167. 0,
  168. 0,
  169. 0,
  170. 1,
  171. 0,
  172. 0,
  173. 0,
  174. 0,
  175. 1,
  176. 0,
  177. 0,
  178. 0,
  179. 0,
  180. 1
  181. ],
  182. "name": "Texture_Group"
  183. },
  184. "node_3": {
  185. "children": [
  186. "Geometry-mesh002Node",
  187. "groupLocator030Node"
  188. ],
  189. "matrix": [
  190. 1,
  191. 0,
  192. 0,
  193. 0,
  194. 0,
  195. 0,
  196. -1,
  197. 0,
  198. 0,
  199. 1,
  200. 0,
  201. 0,
  202. 0,
  203. 0,
  204. 0,
  205. 1
  206. ],
  207. "name": "Y_UP_Transform"
  208. },
  209. "txtrLocator026Node": {
  210. "children": [],
  211. "matrix": [
  212. 1,
  213. 0,
  214. 0,
  215. 0,
  216. 0,
  217. 1,
  218. 0,
  219. 0,
  220. 0,
  221. 0,
  222. 1,
  223. 0,
  224. 0,
  225. 0,
  226. 0,
  227. 1
  228. ],
  229. "name": "Cesium_Logo_Flat__Image___Texture_"
  230. }
  231. },
  232. "programs": {
  233. "program_0": {
  234. "attributes": [
  235. "a_normal",
  236. "a_position",
  237. "a_texcoord0"
  238. ],
  239. "fragmentShader": "BoxTextured0FS",
  240. "vertexShader": "BoxTextured0VS"
  241. }
  242. },
  243. "samplers": {
  244. "sampler_0": {
  245. "magFilter": 9729,
  246. "minFilter": 9987,
  247. "wrapS": 10497,
  248. "wrapT": 10497
  249. }
  250. },
  251. "scene": "defaultScene",
  252. "scenes": {
  253. "defaultScene": {
  254. "nodes": [
  255. "node_3"
  256. ]
  257. }
  258. },
  259. "shaders": {
  260. "BoxTextured0FS": {
  261. "type": 35632,
  262. "uri": "BoxTextured0FS.glsl"
  263. },
  264. "BoxTextured0VS": {
  265. "type": 35633,
  266. "uri": "BoxTextured0VS.glsl"
  267. }
  268. },
  269. "skins": {},
  270. "techniques": {
  271. "technique0": {
  272. "attributes": {
  273. "a_normal": "normal",
  274. "a_position": "position",
  275. "a_texcoord0": "texcoord0"
  276. },
  277. "parameters": {
  278. "diffuse": {
  279. "type": 35678
  280. },
  281. "modelViewMatrix": {
  282. "semantic": "MODELVIEW",
  283. "type": 35676
  284. },
  285. "normal": {
  286. "semantic": "NORMAL",
  287. "type": 35665
  288. },
  289. "normalMatrix": {
  290. "semantic": "MODELVIEWINVERSETRANSPOSE",
  291. "type": 35675
  292. },
  293. "position": {
  294. "semantic": "POSITION",
  295. "type": 35665
  296. },
  297. "projectionMatrix": {
  298. "semantic": "PROJECTION",
  299. "type": 35676
  300. },
  301. "shininess": {
  302. "type": 5126
  303. },
  304. "specular": {
  305. "type": 35666
  306. },
  307. "texcoord0": {
  308. "semantic": "TEXCOORD_0",
  309. "type": 35664
  310. }
  311. },
  312. "program": "program_0",
  313. "states": {
  314. "enable": [
  315. 2929,
  316. 2884
  317. ]
  318. },
  319. "uniforms": {
  320. "u_diffuse": "diffuse",
  321. "u_modelViewMatrix": "modelViewMatrix",
  322. "u_normalMatrix": "normalMatrix",
  323. "u_projectionMatrix": "projectionMatrix",
  324. "u_shininess": "shininess",
  325. "u_specular": "specular"
  326. }
  327. }
  328. },
  329. "textures": {
  330. "texture_Image0001": {
  331. "format": 6408,
  332. "internalFormat": 6408,
  333. "sampler": "sampler_0",
  334. "source": "Image0001",
  335. "target": 3553,
  336. "type": 5121
  337. }
  338. }
  339. }