Skip to content

Commit e2c5756

Browse files
committed
add multiUVTest model
1 parent 395358d commit e2c5756

File tree

9 files changed

+271
-0
lines changed

9 files changed

+271
-0
lines changed

2.0/MultiUVTest/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# MultiUV Test
2+
3+
## Screenshot
4+
5+
![screenshot](screenshot/screenshot.jpg)
6+
7+
## Description
8+
9+
This model has two uv texture coordinates.
10+
11+
## License Information
12+
13+
Donated by [Hilo3d](https://github.com/hiloteam/Hilo3d) for glTF testing.
48.2 KB
Binary file not shown.

2.0/MultiUVTest/glTF-Embedded/MultiUVTest.gltf

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

2.0/MultiUVTest/glTF/MultiUVTest.bin

1.35 KB
Binary file not shown.

2.0/MultiUVTest/glTF/MultiUVTest.gltf

Lines changed: 257 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,257 @@
1+
{
2+
"accessors" : [
3+
{
4+
"bufferView" : 0,
5+
"componentType" : 5121,
6+
"count" : 36,
7+
"max" : [
8+
23
9+
],
10+
"min" : [
11+
0
12+
],
13+
"type" : "SCALAR"
14+
},
15+
{
16+
"bufferView" : 1,
17+
"componentType" : 5126,
18+
"count" : 24,
19+
"max" : [
20+
1.0000004768371582,
21+
1.0,
22+
1.0000005960464478
23+
],
24+
"min" : [
25+
-1.0000003576278687,
26+
-1.0,
27+
-1.0000003576278687
28+
],
29+
"type" : "VEC3"
30+
},
31+
{
32+
"bufferView" : 2,
33+
"componentType" : 5126,
34+
"count" : 24,
35+
"max" : [
36+
1.0,
37+
1.0,
38+
1.0
39+
],
40+
"min" : [
41+
-1.0,
42+
-1.0,
43+
-1.0
44+
],
45+
"type" : "VEC3"
46+
},
47+
{
48+
"bufferView" : 3,
49+
"componentType" : 5126,
50+
"count" : 24,
51+
"max" : [
52+
1.0,
53+
6.661325971652322e-16,
54+
1.0,
55+
1.0
56+
],
57+
"min" : [
58+
-1.0,
59+
-2.9802322387695312e-08,
60+
-1.0,
61+
-1.0
62+
],
63+
"type" : "VEC4"
64+
},
65+
{
66+
"bufferView" : 4,
67+
"componentType" : 5126,
68+
"count" : 24,
69+
"max" : [
70+
0.7499566674232483,
71+
0.9999134124518605
72+
],
73+
"min" : [
74+
8.658754813950509e-05,
75+
8.660554885864258e-05
76+
],
77+
"type" : "VEC2"
78+
},
79+
{
80+
"bufferView" : 5,
81+
"componentType" : 5126,
82+
"count" : 24,
83+
"max" : [
84+
1.0,
85+
2.0
86+
],
87+
"min" : [
88+
-1.000000238418579,
89+
0.0
90+
],
91+
"type" : "VEC2"
92+
}
93+
],
94+
"asset" : {
95+
"copyright" : "hiloteam",
96+
"generator" : "Khronos Blender glTF 2.0 exporter",
97+
"version" : "2.0"
98+
},
99+
"bufferViews" : [
100+
{
101+
"buffer" : 0,
102+
"byteLength" : 36,
103+
"byteOffset" : 0,
104+
"target" : 34963
105+
},
106+
{
107+
"buffer" : 0,
108+
"byteLength" : 288,
109+
"byteOffset" : 36,
110+
"target" : 34962
111+
},
112+
{
113+
"buffer" : 0,
114+
"byteLength" : 288,
115+
"byteOffset" : 324,
116+
"target" : 34962
117+
},
118+
{
119+
"buffer" : 0,
120+
"byteLength" : 384,
121+
"byteOffset" : 612,
122+
"target" : 34962
123+
},
124+
{
125+
"buffer" : 0,
126+
"byteLength" : 192,
127+
"byteOffset" : 996,
128+
"target" : 34962
129+
},
130+
{
131+
"buffer" : 0,
132+
"byteLength" : 192,
133+
"byteOffset" : 1188,
134+
"target" : 34962
135+
}
136+
],
137+
"buffers" : [
138+
{
139+
"byteLength" : 1380,
140+
"uri" : "MultiUVTest.bin"
141+
}
142+
],
143+
"images" : [
144+
{
145+
"uri" : "uv0.png"
146+
},
147+
{
148+
"uri" : "uv1.png"
149+
}
150+
],
151+
"materials" : [
152+
{
153+
"emissiveFactor" : [
154+
1.0,
155+
1.0,
156+
1.0
157+
],
158+
"emissiveTexture" : {
159+
"index" : 1,
160+
"texCoord" : 1
161+
},
162+
"name" : "cubeMaterial",
163+
"pbrMetallicRoughness" : {
164+
"baseColorTexture" : {
165+
"index" : 0
166+
}
167+
}
168+
}
169+
],
170+
"meshes" : [
171+
{
172+
"name" : "Cube",
173+
"primitives" : [
174+
{
175+
"attributes" : {
176+
"NORMAL" : 2,
177+
"POSITION" : 1,
178+
"TANGENT" : 3,
179+
"TEXCOORD_0" : 4,
180+
"TEXCOORD_1" : 5
181+
},
182+
"indices" : 0,
183+
"material" : 0
184+
}
185+
]
186+
}
187+
],
188+
"nodes" : [
189+
{
190+
"name" : "Camera",
191+
"rotation" : [
192+
0.483536034822464,
193+
0.33687159419059753,
194+
-0.20870360732078552,
195+
0.7804827094078064
196+
],
197+
"translation" : [
198+
7.481131553649902,
199+
5.34366512298584,
200+
6.5076398849487305
201+
]
202+
},
203+
{
204+
"mesh" : 0,
205+
"name" : "Cube",
206+
"rotation" : [
207+
0.0,
208+
0.7071068286895752,
209+
-0.0,
210+
0.7071067690849304
211+
]
212+
},
213+
{
214+
"name" : "Lamp",
215+
"rotation" : [
216+
0.16907575726509094,
217+
0.7558802962303162,
218+
-0.27217137813568115,
219+
0.570947527885437
220+
],
221+
"scale" : [
222+
1.0,
223+
1.0,
224+
0.9999999403953552
225+
],
226+
"translation" : [
227+
4.076245307922363,
228+
5.903861999511719,
229+
-1.0054539442062378
230+
]
231+
}
232+
],
233+
"samplers" : [
234+
{}
235+
],
236+
"scene" : 0,
237+
"scenes" : [
238+
{
239+
"name" : "Scene",
240+
"nodes" : [
241+
1,
242+
2,
243+
0
244+
]
245+
}
246+
],
247+
"textures" : [
248+
{
249+
"sampler" : 0,
250+
"source" : 0
251+
},
252+
{
253+
"sampler" : 0,
254+
"source" : 1
255+
}
256+
]
257+
}

2.0/MultiUVTest/glTF/uv0.png

32.2 KB
Loading

2.0/MultiUVTest/glTF/uv1.png

49.8 KB
Loading
92.8 KB
Loading
586 KB
Binary file not shown.

0 commit comments

Comments
 (0)