BoxTextured.gltf 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282
  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. 1
  18. ],
  19. "matrix": [
  20. 1.0,
  21. 0.0,
  22. 0.0,
  23. 0.0,
  24. 0.0,
  25. 0.0,
  26. -1.0,
  27. 0.0,
  28. 0.0,
  29. 1.0,
  30. 0.0,
  31. 0.0,
  32. 0.0,
  33. 0.0,
  34. 0.0,
  35. 1.0
  36. ]
  37. },
  38. {
  39. "mesh": 0
  40. }
  41. ],
  42. "meshes": [
  43. {
  44. "primitives": [
  45. {
  46. "attributes": {
  47. "NORMAL": 1,
  48. "POSITION": 2,
  49. "TEXCOORD_0": 3
  50. },
  51. "indices": 0,
  52. "mode": 4,
  53. "material": 0
  54. }
  55. ],
  56. "name": "Mesh"
  57. }
  58. ],
  59. "accessors": [
  60. {
  61. "bufferView": 0,
  62. "byteOffset": 0,
  63. "componentType": 5123,
  64. "count": 36,
  65. "max": [
  66. 23
  67. ],
  68. "min": [
  69. 0
  70. ],
  71. "type": "SCALAR"
  72. },
  73. {
  74. "bufferView": 1,
  75. "byteOffset": 0,
  76. "componentType": 5126,
  77. "count": 24,
  78. "max": [
  79. 1.0,
  80. 1.0,
  81. 1.0
  82. ],
  83. "min": [
  84. -1.0,
  85. -1.0,
  86. -1.0
  87. ],
  88. "type": "VEC3"
  89. },
  90. {
  91. "bufferView": 1,
  92. "byteOffset": 288,
  93. "componentType": 5126,
  94. "count": 24,
  95. "max": [
  96. 0.5,
  97. 0.5,
  98. 0.5
  99. ],
  100. "min": [
  101. -0.5,
  102. -0.5,
  103. -0.5
  104. ],
  105. "type": "VEC3"
  106. },
  107. {
  108. "bufferView": 2,
  109. "byteOffset": 0,
  110. "componentType": 5126,
  111. "count": 24,
  112. "max": [
  113. 6.0,
  114. 1.0
  115. ],
  116. "min": [
  117. 0.0,
  118. 0.0
  119. ],
  120. "type": "VEC2"
  121. }
  122. ],
  123. "materials": [
  124. {
  125. "values": {
  126. "diffuse": [
  127. 0
  128. ],
  129. "specular": [
  130. 0.20000000298023225,
  131. 0.20000000298023225,
  132. 0.20000000298023225,
  133. 1.0
  134. ],
  135. "shininess": [
  136. 256.0
  137. ],
  138. "transparency": [
  139. 1.0
  140. ]
  141. },
  142. "technique": 0
  143. }
  144. ],
  145. "textures": [
  146. {
  147. "sampler": 0,
  148. "source": 0
  149. }
  150. ],
  151. "images": [
  152. {
  153. "uri": "CesiumLogoFlat.png"
  154. }
  155. ],
  156. "samplers": [
  157. {
  158. "magFilter": 9729,
  159. "minFilter": 9986,
  160. "wrapS": 10497,
  161. "wrapT": 10497
  162. }
  163. ],
  164. "techniques": [
  165. {
  166. "attributes": {
  167. "a_normal": "normal",
  168. "a_position": "position",
  169. "a_texcoord0": "texcoord0"
  170. },
  171. "parameters": {
  172. "diffuse": {
  173. "type": 35678
  174. },
  175. "modelViewMatrix": {
  176. "semantic": "MODELVIEW",
  177. "type": 35676
  178. },
  179. "normal": {
  180. "semantic": "NORMAL",
  181. "type": 35665
  182. },
  183. "normalMatrix": {
  184. "semantic": "MODELVIEWINVERSETRANSPOSE",
  185. "type": 35675
  186. },
  187. "position": {
  188. "semantic": "POSITION",
  189. "type": 35665
  190. },
  191. "projectionMatrix": {
  192. "semantic": "PROJECTION",
  193. "type": 35676
  194. },
  195. "shininess": {
  196. "type": 5126
  197. },
  198. "specular": {
  199. "type": 35666
  200. },
  201. "texcoord0": {
  202. "semantic": "TEXCOORD_0",
  203. "type": 35665
  204. },
  205. "transparency": {
  206. "type": 5126
  207. }
  208. },
  209. "program": 0,
  210. "states": {
  211. "enable": [
  212. 2884,
  213. 2929
  214. ]
  215. },
  216. "uniforms": {
  217. "u_diffuse": "diffuse",
  218. "u_modelViewMatrix": "modelViewMatrix",
  219. "u_normalMatrix": "normalMatrix",
  220. "u_projectionMatrix": "projectionMatrix",
  221. "u_shininess": "shininess",
  222. "u_specular": "specular",
  223. "u_transparency": "transparency"
  224. }
  225. }
  226. ],
  227. "programs": [
  228. {
  229. "attributes": [
  230. "a_normal",
  231. "a_position",
  232. "a_texcoord0"
  233. ],
  234. "fragmentShader": 1,
  235. "vertexShader": 0
  236. }
  237. ],
  238. "shaders": [
  239. {
  240. "type": 35633,
  241. "uri": "BoxTextured0.vert"
  242. },
  243. {
  244. "type": 35632,
  245. "uri": "BoxTextured1.frag"
  246. }
  247. ],
  248. "bufferViews": [
  249. {
  250. "buffer": 0,
  251. "byteOffset": 768,
  252. "byteLength": 72,
  253. "target": 34963
  254. },
  255. {
  256. "buffer": 0,
  257. "byteOffset": 0,
  258. "byteLength": 576,
  259. "byteStride": 12,
  260. "target": 34962
  261. },
  262. {
  263. "buffer": 0,
  264. "byteOffset": 576,
  265. "byteLength": 192,
  266. "byteStride": 8,
  267. "target": 34962
  268. }
  269. ],
  270. "buffers": [
  271. {
  272. "byteLength": 840,
  273. "uri": "BoxTextured0.bin"
  274. }
  275. ],
  276. "extensionsRequired": [
  277. "KHR_technique_webgl"
  278. ],
  279. "extensionsUsed": [
  280. "KHR_technique_webgl"
  281. ]
  282. }