scene.gltf 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  1. {
  2. "accessors": [
  3. {
  4. "bufferView": 2,
  5. "componentType": 5126,
  6. "count": 90,
  7. "max": [
  8. 5.4255342483520508,
  9. 18.788362503051758,
  10. 0.22034774720668793
  11. ],
  12. "min": [
  13. -5.4255342483520508,
  14. -0.95324015617370605,
  15. -1.24922776222229
  16. ],
  17. "type": "VEC3"
  18. },
  19. {
  20. "bufferView": 2,
  21. "byteOffset": 1080,
  22. "componentType": 5126,
  23. "count": 90,
  24. "max": [
  25. 0.98772847652435303,
  26. 0.12709265947341919,
  27. 0.99189198017120361
  28. ],
  29. "min": [
  30. -0.9877278208732605,
  31. -0.017344960942864418,
  32. -0.99936473369598389
  33. ],
  34. "type": "VEC3"
  35. },
  36. {
  37. "bufferView": 3,
  38. "componentType": 5126,
  39. "count": 90,
  40. "max": [
  41. 0.9999280571937561,
  42. 0.99999243021011353,
  43. 0.053187757730484009,
  44. 1
  45. ],
  46. "min": [
  47. -0.99936473369598389,
  48. -0.99999243021011353,
  49. -0.054964534938335419,
  50. 1
  51. ],
  52. "type": "VEC4"
  53. },
  54. {
  55. "bufferView": 1,
  56. "componentType": 5126,
  57. "count": 90,
  58. "max": [
  59. 1.0011260509490967,
  60. 0.99958771467208862
  61. ],
  62. "min": [
  63. -0.0021580678876489401,
  64. -0.048297841101884842
  65. ],
  66. "type": "VEC2"
  67. },
  68. {
  69. "bufferView": 0,
  70. "componentType": 5125,
  71. "count": 102,
  72. "max": [
  73. 89
  74. ],
  75. "min": [
  76. 0
  77. ],
  78. "type": "SCALAR"
  79. },
  80. {
  81. "bufferView": 2,
  82. "byteOffset": 2160,
  83. "componentType": 5126,
  84. "count": 36898,
  85. "max": [
  86. 5.9383130073547363,
  87. 20.315641403198242,
  88. 0.8145749568939209
  89. ],
  90. "min": [
  91. -5.9383130073547363,
  92. -5.9156408309936523,
  93. -4.5757746696472168
  94. ],
  95. "type": "VEC3"
  96. },
  97. {
  98. "bufferView": 2,
  99. "byteOffset": 444936,
  100. "componentType": 5126,
  101. "count": 36898,
  102. "max": [
  103. 1,
  104. 1,
  105. 1
  106. ],
  107. "min": [
  108. -1,
  109. -1,
  110. -1
  111. ],
  112. "type": "VEC3"
  113. },
  114. {
  115. "bufferView": 3,
  116. "byteOffset": 1440,
  117. "componentType": 5126,
  118. "count": 36898,
  119. "max": [
  120. 1,
  121. 1,
  122. 1,
  123. 1
  124. ],
  125. "min": [
  126. -1,
  127. -1,
  128. -1,
  129. -1
  130. ],
  131. "type": "VEC4"
  132. },
  133. {
  134. "bufferView": 1,
  135. "byteOffset": 720,
  136. "componentType": 5126,
  137. "count": 36898,
  138. "max": [
  139. 1,
  140. 1
  141. ],
  142. "min": [
  143. -2.9802320611338473e-08,
  144. -2.9802320611338473e-08
  145. ],
  146. "type": "VEC2"
  147. },
  148. {
  149. "bufferView": 1,
  150. "byteOffset": 295904,
  151. "componentType": 5126,
  152. "count": 36898,
  153. "max": [
  154. 1,
  155. 1
  156. ],
  157. "min": [
  158. -2.9802320611338473e-08,
  159. -2.9802320611338473e-08
  160. ],
  161. "type": "VEC2"
  162. },
  163. {
  164. "bufferView": 0,
  165. "byteOffset": 408,
  166. "componentType": 5125,
  167. "count": 41742,
  168. "max": [
  169. 36897
  170. ],
  171. "min": [
  172. 0
  173. ],
  174. "type": "SCALAR"
  175. }
  176. ],
  177. "asset": {
  178. "extras": {
  179. "author": "Wholock (https://sketchfab.com/wholock)",
  180. "license": "CC-BY-4.0 (http://creativecommons.org/licenses/by/4.0/)",
  181. "source": "https://sketchfab.com/3d-models/star-trek-dsc-enterprise-98cdebaa7fae4752bcaa5a35453d224c",
  182. "title": "Star Trek - DSC Enterprise"
  183. },
  184. "generator": "Sketchfab-6.28.0",
  185. "version": "2.0"
  186. },
  187. "bufferViews": [
  188. {
  189. "buffer": 0,
  190. "byteLength": 167376,
  191. "byteOffset": 0,
  192. "name": "floatBufferViews",
  193. "target": 34963
  194. },
  195. {
  196. "buffer": 0,
  197. "byteLength": 591088,
  198. "byteOffset": 167376,
  199. "byteStride": 8,
  200. "name": "floatBufferViews",
  201. "target": 34962
  202. },
  203. {
  204. "buffer": 0,
  205. "byteLength": 887712,
  206. "byteOffset": 758464,
  207. "byteStride": 12,
  208. "name": "floatBufferViews",
  209. "target": 34962
  210. },
  211. {
  212. "buffer": 0,
  213. "byteLength": 591808,
  214. "byteOffset": 1646176,
  215. "byteStride": 16,
  216. "name": "floatBufferViews",
  217. "target": 34962
  218. }
  219. ],
  220. "buffers": [
  221. {
  222. "byteLength": 2237984,
  223. "uri": "scene.bin"
  224. }
  225. ],
  226. "images": [
  227. {
  228. "uri": "textures/material_0_baseColor.png"
  229. },
  230. {
  231. "uri": "textures/material_0_metallicRoughness.png"
  232. },
  233. {
  234. "uri": "textures/material_1_baseColor.png"
  235. },
  236. {
  237. "uri": "textures/material_1_metallicRoughness.png"
  238. },
  239. {
  240. "uri": "textures/material_1_emissive.png"
  241. }
  242. ],
  243. "materials": [
  244. {
  245. "alphaMode": "BLEND",
  246. "doubleSided": true,
  247. "name": "material_0",
  248. "pbrMetallicRoughness": {
  249. "baseColorFactor": [
  250. 0,
  251. 0,
  252. 0,
  253. 1
  254. ],
  255. "baseColorTexture": {
  256. "index": 0,
  257. "texCoord": 0
  258. },
  259. "metallicFactor": 0,
  260. "metallicRoughnessTexture": {
  261. "index": 1,
  262. "texCoord": 0
  263. },
  264. "roughnessFactor": 1
  265. }
  266. },
  267. {
  268. "doubleSided": true,
  269. "emissiveFactor": [
  270. 1,
  271. 1,
  272. 1
  273. ],
  274. "emissiveTexture": {
  275. "index": 4,
  276. "texCoord": 0
  277. },
  278. "name": "material_1",
  279. "pbrMetallicRoughness": {
  280. "baseColorFactor": [
  281. 1,
  282. 1,
  283. 1,
  284. 1
  285. ],
  286. "baseColorTexture": {
  287. "index": 2,
  288. "texCoord": 0
  289. },
  290. "metallicFactor": 0,
  291. "metallicRoughnessTexture": {
  292. "index": 3,
  293. "texCoord": 0
  294. },
  295. "roughnessFactor": 1
  296. }
  297. }
  298. ],
  299. "meshes": [
  300. {
  301. "primitives": [
  302. {
  303. "attributes": {
  304. "NORMAL": 1,
  305. "POSITION": 0,
  306. "TANGENT": 2,
  307. "TEXCOORD_0": 3
  308. },
  309. "indices": 4,
  310. "material": 0,
  311. "mode": 4
  312. }
  313. ]
  314. },
  315. {
  316. "primitives": [
  317. {
  318. "attributes": {
  319. "NORMAL": 6,
  320. "POSITION": 5,
  321. "TANGENT": 7,
  322. "TEXCOORD_0": 8,
  323. "TEXCOORD_1": 9
  324. },
  325. "indices": 10,
  326. "material": 1,
  327. "mode": 4
  328. }
  329. ]
  330. }
  331. ],
  332. "nodes": [
  333. {
  334. "children": [
  335. 1
  336. ],
  337. "name": "RootNode (gltf orientation matrix)",
  338. "rotation": [
  339. -0.70710678118654746,
  340. -0,
  341. -0,
  342. 0.70710678118654757
  343. ]
  344. },
  345. {
  346. "children": [
  347. 2
  348. ],
  349. "matrix": [
  350. -1,
  351. -2.832769343193999e-16,
  352. 0,
  353. 0,
  354. 2.832769343193999e-16,
  355. -1,
  356. 0,
  357. 0,
  358. 0,
  359. 0,
  360. 1,
  361. 0,
  362. 8.58306884765625e-06,
  363. 14.400014877319336,
  364. 0,
  365. 1
  366. ],
  367. "name": "RootNode (model correction matrix)"
  368. },
  369. {
  370. "children": [
  371. 3
  372. ],
  373. "name": "4a2eb119de1c4469b931259a089f7654.lwo"
  374. },
  375. {
  376. "children": [
  377. 4,
  378. 5
  379. ],
  380. "name": "Enterprise"
  381. },
  382. {
  383. "mesh": 0,
  384. "name": ""
  385. },
  386. {
  387. "mesh": 1,
  388. "name": ""
  389. }
  390. ],
  391. "samplers": [
  392. {
  393. "magFilter": 9729,
  394. "minFilter": 9987,
  395. "wrapS": 10497,
  396. "wrapT": 10497
  397. }
  398. ],
  399. "scene": 0,
  400. "scenes": [
  401. {
  402. "name": "OSG_Scene",
  403. "nodes": [
  404. 0
  405. ]
  406. }
  407. ],
  408. "textures": [
  409. {
  410. "sampler": 0,
  411. "source": 0
  412. },
  413. {
  414. "sampler": 0,
  415. "source": 1
  416. },
  417. {
  418. "sampler": 0,
  419. "source": 2
  420. },
  421. {
  422. "sampler": 0,
  423. "source": 3
  424. },
  425. {
  426. "sampler": 0,
  427. "source": 4
  428. }
  429. ]
  430. }