scene.gltf 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454
  1. {
  2. "accessors": [
  3. {
  4. "bufferView": 2,
  5. "componentType": 5126,
  6. "count": 412,
  7. "max": [
  8. 27.817127227783203,
  9. 49.154132843017578,
  10. 102.32371520996094
  11. ],
  12. "min": [
  13. -22.055698394775391,
  14. -43.036197662353516,
  15. 15.408798217773438
  16. ],
  17. "type": "VEC3"
  18. },
  19. {
  20. "bufferView": 2,
  21. "byteOffset": 4944,
  22. "componentType": 5126,
  23. "count": 412,
  24. "max": [
  25. 0.98847764730453491,
  26. 0.9518665075302124,
  27. 0.99526399374008179
  28. ],
  29. "min": [
  30. -0.99269884824752808,
  31. -0.95716071128845215,
  32. -0.99461030960083008
  33. ],
  34. "type": "VEC3"
  35. },
  36. {
  37. "bufferView": 3,
  38. "componentType": 5126,
  39. "count": 412,
  40. "max": [
  41. 0.9776008129119873,
  42. 0,
  43. 0.65454351902008057,
  44. 1
  45. ],
  46. "min": [
  47. 0,
  48. -0.75352561473846436,
  49. -0.20413641631603241,
  50. -1
  51. ],
  52. "type": "VEC4"
  53. },
  54. {
  55. "bufferView": 1,
  56. "componentType": 5126,
  57. "count": 412,
  58. "max": [
  59. 0.88535666465759277,
  60. 0.98687690496444702
  61. ],
  62. "min": [
  63. 0.11754186451435089,
  64. 0.015776382759213448
  65. ],
  66. "type": "VEC2"
  67. },
  68. {
  69. "bufferView": 0,
  70. "componentType": 5125,
  71. "count": 1191,
  72. "max": [
  73. 411
  74. ],
  75. "min": [
  76. 0
  77. ],
  78. "type": "SCALAR"
  79. },
  80. {
  81. "bufferView": 2,
  82. "byteOffset": 9888,
  83. "componentType": 5126,
  84. "count": 283,
  85. "max": [
  86. 27.589374542236328,
  87. 48.773052215576172,
  88. 100.48829650878906
  89. ],
  90. "min": [
  91. -20.343837738037109,
  92. -41.286975860595703,
  93. 15.531951904296875
  94. ],
  95. "type": "VEC3"
  96. },
  97. {
  98. "bufferView": 2,
  99. "byteOffset": 13284,
  100. "componentType": 5126,
  101. "count": 283,
  102. "max": [
  103. 0.81922227144241333,
  104. 0.85391771793365479,
  105. 0.75479984283447266
  106. ],
  107. "min": [
  108. -0.80274873971939087,
  109. -0.8545951247215271,
  110. -0.75870305299758911
  111. ],
  112. "type": "VEC3"
  113. },
  114. {
  115. "bufferView": 3,
  116. "byteOffset": 6592,
  117. "componentType": 5126,
  118. "count": 283,
  119. "max": [
  120. 0,
  121. 0.60819393396377563,
  122. 0,
  123. 1
  124. ],
  125. "min": [
  126. -0.71408462524414062,
  127. 0,
  128. -0.34837460517883301,
  129. 1
  130. ],
  131. "type": "VEC4"
  132. },
  133. {
  134. "bufferView": 1,
  135. "byteOffset": 3296,
  136. "componentType": 5126,
  137. "count": 283,
  138. "max": [
  139. 0.98783683776855469,
  140. 0.98563075065612793
  141. ],
  142. "min": [
  143. 0.012095421552658081,
  144. 0.007403891533613205
  145. ],
  146. "type": "VEC2"
  147. },
  148. {
  149. "bufferView": 0,
  150. "byteOffset": 4764,
  151. "componentType": 5125,
  152. "count": 495,
  153. "max": [
  154. 282
  155. ],
  156. "min": [
  157. 0
  158. ],
  159. "type": "SCALAR"
  160. }
  161. ],
  162. "asset": {
  163. "extras": {
  164. "author": "deeey (https://sketchfab.com/deeey)",
  165. "license": "CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)",
  166. "source": "https://sketchfab.com/models/788bf9efa5ef43dcae1d1f6c2e275e0a",
  167. "title": "Iphone-x"
  168. },
  169. "generator": "Sketchfab-3.29.3",
  170. "version": "2.0"
  171. },
  172. "bufferViews": [
  173. {
  174. "buffer": 0,
  175. "byteLength": 6744,
  176. "byteOffset": 0,
  177. "name": "floatBufferViews",
  178. "target": 34963
  179. },
  180. {
  181. "buffer": 0,
  182. "byteLength": 5560,
  183. "byteOffset": 6744,
  184. "byteStride": 8,
  185. "name": "floatBufferViews",
  186. "target": 34962
  187. },
  188. {
  189. "buffer": 0,
  190. "byteLength": 16680,
  191. "byteOffset": 12304,
  192. "byteStride": 12,
  193. "name": "floatBufferViews",
  194. "target": 34962
  195. },
  196. {
  197. "buffer": 0,
  198. "byteLength": 11120,
  199. "byteOffset": 28984,
  200. "byteStride": 16,
  201. "name": "floatBufferViews",
  202. "target": 34962
  203. }
  204. ],
  205. "buffers": [
  206. {
  207. "byteLength": 40104,
  208. "uri": "scene.bin"
  209. }
  210. ],
  211. "extensionsRequired": [
  212. "KHR_materials_pbrSpecularGlossiness"
  213. ],
  214. "extensionsUsed": [
  215. "KHR_materials_pbrSpecularGlossiness"
  216. ],
  217. "images": [
  218. {
  219. "uri": "textures/Material_40_diffuse.jpeg"
  220. },
  221. {
  222. "uri": "textures/Material_39_diffuse.jpeg"
  223. }
  224. ],
  225. "materials": [
  226. {
  227. "doubleSided": false,
  228. "emissiveFactor": [
  229. 0,
  230. 0,
  231. 0
  232. ],
  233. "extensions": {
  234. "KHR_materials_pbrSpecularGlossiness": {
  235. "diffuseFactor": [
  236. 1,
  237. 1,
  238. 1,
  239. 1
  240. ],
  241. "diffuseTexture": {
  242. "index": 1,
  243. "texCoord": 0
  244. },
  245. "glossinessFactor": 0.98999999999999999,
  246. "specularFactor": [
  247. 0.29999999999999999,
  248. 0.29999999999999999,
  249. 0.29999999999999999
  250. ]
  251. }
  252. },
  253. "name": "Material_39"
  254. },
  255. {
  256. "doubleSided": true,
  257. "emissiveFactor": [
  258. 0,
  259. 0,
  260. 0
  261. ],
  262. "extensions": {
  263. "KHR_materials_pbrSpecularGlossiness": {
  264. "diffuseFactor": [
  265. 0.80000000000000004,
  266. 0.80000000000000004,
  267. 0.80000000000000004,
  268. 1
  269. ],
  270. "diffuseTexture": {
  271. "index": 0,
  272. "texCoord": 0
  273. },
  274. "glossinessFactor": 0.98999999999999999,
  275. "specularFactor": [
  276. 0.29999999999999999,
  277. 0.29999999999999999,
  278. 0.29999999999999999
  279. ]
  280. }
  281. },
  282. "name": "Material_40"
  283. }
  284. ],
  285. "meshes": [
  286. {
  287. "name": "Plane001_Material #39_0",
  288. "primitives": [
  289. {
  290. "attributes": {
  291. "NORMAL": 1,
  292. "POSITION": 0,
  293. "TANGENT": 2,
  294. "TEXCOORD_0": 3
  295. },
  296. "indices": 4,
  297. "material": 0,
  298. "mode": 4
  299. }
  300. ]
  301. },
  302. {
  303. "name": "Plane001_Material #40_0",
  304. "primitives": [
  305. {
  306. "attributes": {
  307. "NORMAL": 6,
  308. "POSITION": 5,
  309. "TANGENT": 7,
  310. "TEXCOORD_0": 8
  311. },
  312. "indices": 9,
  313. "material": 1,
  314. "mode": 4
  315. }
  316. ]
  317. }
  318. ],
  319. "nodes": [
  320. {
  321. "children": [
  322. 1
  323. ],
  324. "name": "RootNode (gltf orientation matrix)",
  325. "rotation": [
  326. -0.70710678118654746,
  327. -0,
  328. -0,
  329. 0.70710678118654757
  330. ]
  331. },
  332. {
  333. "children": [
  334. 2
  335. ],
  336. "name": "RootNode (model correction matrix)"
  337. },
  338. {
  339. "children": [
  340. 3
  341. ],
  342. "matrix": [
  343. 1,
  344. 0,
  345. 0,
  346. 0,
  347. 0,
  348. 0,
  349. 1,
  350. 0,
  351. 0,
  352. -1,
  353. 0,
  354. 0,
  355. 0,
  356. 0,
  357. 0,
  358. 1
  359. ],
  360. "name": "iphone model.fbx"
  361. },
  362. {
  363. "children": [
  364. 4
  365. ],
  366. "name": "RootNode"
  367. },
  368. {
  369. "children": [
  370. 5
  371. ],
  372. "matrix": [
  373. 2.2033168033787298,
  374. 0.58122906138075103,
  375. -1.7986147149096909,
  376. 0,
  377. -1.4502296001210278,
  378. 1.6816206653215022,
  379. -1.2331203717033683,
  380. 0,
  381. 0.79499037796770067,
  382. 1.834428905316265,
  383. 1.5666718534818715,
  384. 0,
  385. 0,
  386. 0,
  387. 0,
  388. 1
  389. ],
  390. "name": "Plane001"
  391. },
  392. {
  393. "children": [
  394. 6,
  395. 7
  396. ],
  397. "matrix": [
  398. 1,
  399. 0,
  400. -0,
  401. 0,
  402. 0,
  403. 1,
  404. 0,
  405. 0,
  406. 0,
  407. 0,
  408. 1,
  409. 0,
  410. -1.8308284282684326,
  411. -3.4091501235961914,
  412. -58.378623962402344,
  413. 1
  414. ],
  415. "name": ""
  416. },
  417. {
  418. "mesh": 0,
  419. "name": "Plane001_Material #39_0"
  420. },
  421. {
  422. "mesh": 1,
  423. "name": "Plane001_Material #40_0"
  424. }
  425. ],
  426. "samplers": [
  427. {
  428. "magFilter": 9729,
  429. "minFilter": 9987,
  430. "wrapS": 10497,
  431. "wrapT": 10497
  432. }
  433. ],
  434. "scene": 0,
  435. "scenes": [
  436. {
  437. "name": "OSG_Scene",
  438. "nodes": [
  439. 0
  440. ]
  441. }
  442. ],
  443. "textures": [
  444. {
  445. "sampler": 0,
  446. "source": 0
  447. },
  448. {
  449. "sampler": 0,
  450. "source": 1
  451. }
  452. ]
  453. }