MaterialsVariantsShoe.gltf 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393
  1. {
  2. "accessors": [
  3. {
  4. "bufferView": 0,
  5. "byteOffset": 0,
  6. "count": 13540,
  7. "componentType": 5126,
  8. "type": "VEC3",
  9. "min": [
  10. -0.999970018863678,
  11. -1,
  12. -0.9999949932098388
  13. ],
  14. "max": [
  15. 0.999809980392456,
  16. 0.9999020099639891,
  17. 0.9999240040779114
  18. ]
  19. },
  20. {
  21. "bufferView": 1,
  22. "byteOffset": 0,
  23. "count": 13540,
  24. "componentType": 5126,
  25. "type": "VEC3",
  26. "min": [
  27. -1,
  28. -0.5139704942703247,
  29. -0.38874176144599915
  30. ],
  31. "max": [
  32. 1.0000001192092896,
  33. 0.5139704942703247,
  34. 0.38874176144599915
  35. ]
  36. },
  37. {
  38. "bufferView": 2,
  39. "byteOffset": 0,
  40. "count": 13540,
  41. "componentType": 5126,
  42. "type": "VEC2",
  43. "min": [
  44. 0.001952999969944358,
  45. 0.03520399332046509
  46. ],
  47. "max": [
  48. 0.9980469942092896,
  49. 0.9980469942092896
  50. ]
  51. },
  52. {
  53. "bufferView": 3,
  54. "byteOffset": 0,
  55. "count": 68100,
  56. "componentType": 5125,
  57. "type": "SCALAR",
  58. "min": [
  59. 0
  60. ],
  61. "max": [
  62. 13539
  63. ]
  64. }
  65. ],
  66. "asset": {
  67. "generator": "THREE.GLTFExporter",
  68. "version": "2.0"
  69. },
  70. "buffers": [
  71. {
  72. "name": "shoes-processed",
  73. "byteLength": 705680,
  74. "uri": "MaterialsVariantsShoe.bin"
  75. }
  76. ],
  77. "bufferViews": [
  78. {
  79. "buffer": 0,
  80. "byteLength": 162480,
  81. "byteOffset": 0,
  82. "byteStride": 12,
  83. "target": 34962
  84. },
  85. {
  86. "buffer": 0,
  87. "byteLength": 162480,
  88. "byteOffset": 162480,
  89. "byteStride": 12,
  90. "target": 34962
  91. },
  92. {
  93. "buffer": 0,
  94. "byteLength": 108320,
  95. "byteOffset": 324960,
  96. "byteStride": 8,
  97. "target": 34962
  98. },
  99. {
  100. "buffer": 0,
  101. "byteLength": 272400,
  102. "byteOffset": 433280,
  103. "target": 34963
  104. }
  105. ],
  106. "scene": 0,
  107. "extensions": {
  108. "KHR_materials_variants": {
  109. "variants": [
  110. {"name": "midnight"},
  111. {"name": "beach" },
  112. {"name": "street" }
  113. ]
  114. }
  115. },
  116. "extensionsUsed": [
  117. "KHR_materials_variants"
  118. ],
  119. "images": [
  120. {
  121. "mimeType": "image/jpeg",
  122. "uri": "occlusionRougnessMetalness.jpg"
  123. },
  124. {
  125. "mimeType": "image/jpeg",
  126. "uri": "diffuseMidnight.jpg"
  127. },
  128. {
  129. "mimeType": "image/jpeg",
  130. "uri": "normal.jpg"
  131. },
  132. {
  133. "mimeType": "image/jpeg",
  134. "uri": "diffuseBeach.jpg"
  135. },
  136. {
  137. "mimeType": "image/jpeg",
  138. "uri": "diffuseStreet.jpg"
  139. }
  140. ],
  141. "materials": [
  142. {
  143. "alphaMode": "OPAQUE",
  144. "doubleSided": false,
  145. "name": "phong1SG",
  146. "pbrMetallicRoughness": {
  147. "baseColorFactor": [
  148. 1,
  149. 1,
  150. 1,
  151. 1
  152. ],
  153. "baseColorTexture": {
  154. "index": 1,
  155. "texCoord": 0
  156. },
  157. "metallicFactor": 1,
  158. "roughnessFactor": 1,
  159. "metallicRoughnessTexture": {
  160. "index": 0,
  161. "texCoord": 0
  162. }
  163. },
  164. "normalTexture": {
  165. "index": 2,
  166. "scale": 1,
  167. "texCoord": 0
  168. },
  169. "occlusionTexture": {
  170. "index": 0,
  171. "strength": 1,
  172. "texCoord": 0
  173. },
  174. "emissiveFactor": [
  175. 0,
  176. 0,
  177. 0
  178. ]
  179. },
  180. {
  181. "alphaMode": "OPAQUE",
  182. "doubleSided": false,
  183. "name": "phong1SG",
  184. "pbrMetallicRoughness": {
  185. "baseColorFactor": [
  186. 1,
  187. 1,
  188. 1,
  189. 1
  190. ],
  191. "baseColorTexture": {
  192. "index": 3,
  193. "texCoord": 0
  194. },
  195. "metallicFactor": 1,
  196. "roughnessFactor": 1,
  197. "metallicRoughnessTexture": {
  198. "index": 0,
  199. "texCoord": 0
  200. }
  201. },
  202. "normalTexture": {
  203. "index": 2,
  204. "scale": 1,
  205. "texCoord": 0
  206. },
  207. "occlusionTexture": {
  208. "index": 0,
  209. "strength": 1,
  210. "texCoord": 0
  211. },
  212. "emissiveFactor": [
  213. 0,
  214. 0,
  215. 0
  216. ]
  217. },
  218. {
  219. "alphaMode": "OPAQUE",
  220. "doubleSided": false,
  221. "name": "phong1SG",
  222. "pbrMetallicRoughness": {
  223. "baseColorFactor": [
  224. 1,
  225. 1,
  226. 1,
  227. 1
  228. ],
  229. "baseColorTexture": {
  230. "index": 4,
  231. "texCoord": 0
  232. },
  233. "metallicFactor": 1,
  234. "roughnessFactor": 1,
  235. "metallicRoughnessTexture": {
  236. "index": 0,
  237. "texCoord": 0
  238. }
  239. },
  240. "normalTexture": {
  241. "index": 2,
  242. "scale": 1,
  243. "texCoord": 0
  244. },
  245. "occlusionTexture": {
  246. "index": 0,
  247. "strength": 1,
  248. "texCoord": 0
  249. },
  250. "emissiveFactor": [
  251. 0,
  252. 0,
  253. 0
  254. ]
  255. }
  256. ],
  257. "meshes": [
  258. {
  259. "name": "shoe",
  260. "primitives": [
  261. {
  262. "attributes": {
  263. "NORMAL": 0,
  264. "POSITION": 1,
  265. "TEXCOORD_0": 2
  266. },
  267. "extensions": {
  268. "KHR_materials_variants": {
  269. "mappings": [
  270. {
  271. "material": 0,
  272. "variants": [
  273. 0
  274. ]
  275. },
  276. {
  277. "material": 1,
  278. "variants": [
  279. 1
  280. ]
  281. },
  282. {
  283. "material": 2,
  284. "variants": [
  285. 2
  286. ]
  287. }
  288. ]
  289. }
  290. },
  291. "indices": 3,
  292. "material": 0,
  293. "mode": 4
  294. }
  295. ]
  296. }
  297. ],
  298. "nodes": [
  299. {
  300. "extras": {
  301. "name": "Shoe"
  302. },
  303. "mesh": 0,
  304. "name": "Shoe"
  305. },
  306. {
  307. "children": [
  308. 0
  309. ],
  310. "extras": {
  311. "name": "g Shoe"
  312. },
  313. "name": "g_Shoe"
  314. },
  315. {
  316. "children": [
  317. 1
  318. ],
  319. "extras": {
  320. "name": "Shoe.obj"
  321. },
  322. "matrix": [
  323. 0.14893949,
  324. 0,
  325. 0,
  326. 0,
  327. 0,
  328. 0.14893949,
  329. 0,
  330. 0,
  331. 0,
  332. 0,
  333. 0.14893949,
  334. 0,
  335. 0.0016104877,
  336. 0.07590251,
  337. 0.0048509985,
  338. 1
  339. ],
  340. "name": "Shoeobj"
  341. }
  342. ],
  343. "samplers": [
  344. {
  345. "magFilter": 9729,
  346. "minFilter": 9985,
  347. "wrapS": 10497,
  348. "wrapT": 10497
  349. },
  350. {
  351. "magFilter": 9729,
  352. "minFilter": 9985,
  353. "wrapS": 10497,
  354. "wrapT": 10497
  355. },
  356. {
  357. "magFilter": 9729,
  358. "minFilter": 9985,
  359. "wrapS": 10497,
  360. "wrapT": 10497
  361. }
  362. ],
  363. "scenes": [
  364. {
  365. "name": "Scene",
  366. "nodes": [
  367. 2
  368. ]
  369. }
  370. ],
  371. "textures": [
  372. {
  373. "sampler": 0,
  374. "source": 0
  375. },
  376. {
  377. "sampler": 1,
  378. "source": 1
  379. },
  380. {
  381. "sampler": 2,
  382. "source": 2
  383. },
  384. {
  385. "sampler": 0,
  386. "source": 3
  387. },
  388. {
  389. "sampler": 0,
  390. "source": 4
  391. }
  392. ]
  393. }
粤ICP备19079148号