Skip to content

Commit f442df2

Browse files
authored
Merge pull request KhronosGroup#48 from McNopper/master
Added Sci Fi Helmet.
2 parents 8a809d7 + babe2e1 commit f442df2

9 files changed

+243
-0
lines changed

2.0/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -33,3 +33,4 @@
3333
| [Cube](Cube) | ![](Cube/screenshot/screenshot.jpg) | A cube with non-smoothed faces. |
3434
| [Animated Cube](AnimatedCube) | ![](AnimatedCube/screenshot/screenshot.gif) | Same as previous cube having a linear rotation animation. |
3535
| [Suzanne](Suzanne) | ![](Suzanne/screenshot/screenshot.jpg) | Suzanne from Blender with smoothed faces. |
36+
| [Sci Fi Helmet](SciFiHelmet) | ![](SciFiHelmet/screenshot/screenshot.jpg) | Sci Fi Helmet having unsigned integer indices. |

2.0/SciFiHelmet/README.md

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# Sci Fi Helmet
2+
## Screenshot
3+
4+
![screenshot](screenshot/screenshot.jpg)
5+
6+
7+
## License Information
8+
9+
["Sci Fi Helmet" by Michael Pavlovic](http://quixel.se/usermanual/quixelsuite/doku.php?id=ddo_samples)
10+
11+
Converted by Norbert Nopper for glTF testing.

2.0/SciFiHelmet/glTF/SciFiHelmet.bin

3.48 MB
Binary file not shown.

2.0/SciFiHelmet/glTF/SciFiHelmet.gltf

+231
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,231 @@
1+
{
2+
"accessors" : [
3+
{
4+
"bufferView" : 0,
5+
"byteOffset" : 0,
6+
"componentType" : 5125,
7+
"count" : 70074,
8+
"max" : [
9+
70073
10+
],
11+
"min" : [
12+
0
13+
],
14+
"type" : "SCALAR"
15+
},
16+
{
17+
"bufferView" : 1,
18+
"byteOffset" : 0,
19+
"componentType" : 5126,
20+
"count" : 70074,
21+
"max" : [
22+
1.151152,
23+
1.458718,
24+
1.251128
25+
],
26+
"min" : [
27+
-1.151152,
28+
-1.458718,
29+
-1.251129
30+
],
31+
"type" : "VEC3"
32+
},
33+
{
34+
"bufferView" : 2,
35+
"byteOffset" : 0,
36+
"componentType" : 5126,
37+
"count" : 70074,
38+
"max" : [
39+
0.999934,
40+
0.999878,
41+
0.999976
42+
],
43+
"min" : [
44+
-0.999934,
45+
-0.999963,
46+
-0.999986
47+
],
48+
"type" : "VEC3"
49+
},
50+
{
51+
"bufferView" : 3,
52+
"byteOffset" : 0,
53+
"componentType" : 5126,
54+
"count" : 70074,
55+
"max" : [
56+
0.999996,
57+
1.000000,
58+
0.999994,
59+
1.000000
60+
],
61+
"min" : [
62+
-0.999998,
63+
-0.999969,
64+
-0.999999,
65+
1.000000
66+
],
67+
"type" : "VEC4"
68+
},
69+
{
70+
"bufferView" : 4,
71+
"byteOffset" : 0,
72+
"componentType" : 5126,
73+
"count" : 70074,
74+
"max" : [
75+
0.995369,
76+
0.990894
77+
],
78+
"min" : [
79+
0.003625,
80+
0.006444
81+
],
82+
"type" : "VEC2"
83+
}
84+
],
85+
"animations" : [],
86+
"asset" : {
87+
"generator" : "VKTS glTF 2.0 exporter",
88+
"version" : "2.0"
89+
},
90+
"bufferViews" : [
91+
{
92+
"buffer" : 0,
93+
"byteLength" : 280296,
94+
"byteOffset" : 0,
95+
"target" : 34963
96+
},
97+
{
98+
"buffer" : 0,
99+
"byteLength" : 840888,
100+
"byteOffset" : 280296,
101+
"target" : 34962
102+
},
103+
{
104+
"buffer" : 0,
105+
"byteLength" : 840888,
106+
"byteOffset" : 1121184,
107+
"target" : 34962
108+
},
109+
{
110+
"buffer" : 0,
111+
"byteLength" : 1121184,
112+
"byteOffset" : 1962072,
113+
"target" : 34962
114+
},
115+
{
116+
"buffer" : 0,
117+
"byteLength" : 560592,
118+
"byteOffset" : 3083256,
119+
"target" : 34962
120+
}
121+
],
122+
"buffers" : [
123+
{
124+
"byteLength" : 3643848,
125+
"uri" : "SciFiHelmet.bin"
126+
}
127+
],
128+
"images" : [
129+
{
130+
"uri" : "SciFiHelmet_BaseColor.png"
131+
},
132+
{
133+
"uri" : "SciFiHelmet_MetallicRoughness.png"
134+
},
135+
{
136+
"uri" : "SciFiHelmet_Normal.png"
137+
},
138+
{
139+
"uri" : "SciFiHelmet_AmbientOcclusion.png"
140+
}
141+
],
142+
"materials" : [
143+
{
144+
"name" : "SciFiHelmet",
145+
"normalTexture" : {
146+
"index" : 2
147+
},
148+
"occlusionTexture" : {
149+
"index" : 3
150+
},
151+
"pbrMetallicRoughness" : {
152+
"baseColorTexture" : {
153+
"index" : 0
154+
},
155+
"metallicRoughnessTexture" : {
156+
"index" : 1
157+
}
158+
}
159+
}
160+
],
161+
"meshes" : [
162+
{
163+
"name" : "SciFiHelmet",
164+
"primitives" : [
165+
{
166+
"attributes" : {
167+
"NORMAL" : 2,
168+
"POSITION" : 1,
169+
"TANGENT" : 3,
170+
"TEXCOORD_0" : 4
171+
},
172+
"indices" : 0,
173+
"material" : 0,
174+
"mode" : 4
175+
}
176+
]
177+
}
178+
],
179+
"nodes" : [
180+
{
181+
"children" : [],
182+
"name" : "Camera",
183+
"rotation" : [
184+
0.483536,
185+
0.336872,
186+
-0.208704,
187+
0.780483
188+
],
189+
"translation" : [
190+
7.481132,
191+
5.343665,
192+
6.507640
193+
]
194+
},
195+
{
196+
"children" : [],
197+
"mesh" : 0,
198+
"name" : "SciFiHelmet"
199+
}
200+
],
201+
"samplers" : [
202+
{}
203+
],
204+
"scene" : 0,
205+
"scenes" : [
206+
{
207+
"nodes" : [
208+
0,
209+
1
210+
]
211+
}
212+
],
213+
"textures" : [
214+
{
215+
"sampler" : 0,
216+
"source" : 0
217+
},
218+
{
219+
"sampler" : 0,
220+
"source" : 1
221+
},
222+
{
223+
"sampler" : 0,
224+
"source" : 2
225+
},
226+
{
227+
"sampler" : 0,
228+
"source" : 3
229+
}
230+
]
231+
}
Loading
7.48 MB
Loading
Loading
8.6 MB
Loading
9.69 KB
Loading

0 commit comments

Comments
 (0)