Skip to content

Commit de23d50

Browse files
authored
Bake Airport AO (#65)
1 parent 2de2e9d commit de23d50

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+2827
-544
lines changed
Binary file not shown.

resources/Meshes/Buildings/Airport/building_1.gltf

+295-56
Large diffs are not rendered by default.
Binary file not shown.

resources/Meshes/Buildings/Airport/building_2.gltf

+525-136
Large diffs are not rendered by default.
Binary file not shown.

resources/Meshes/Buildings/Airport/civilian_control_tower.gltf

+395-105
Large diffs are not rendered by default.
4.73 KB
Binary file not shown.

resources/Meshes/Buildings/Airport/hangar_1.gltf

+491-150
Large diffs are not rendered by default.
184 Bytes
Binary file not shown.

resources/Meshes/Buildings/Airport/runway.gltf

+150-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{
22
"asset":{
3-
"generator":"Khronos glTF Blender I/O v4.1.63",
3+
"generator":"Khronos glTF Blender I/O v4.3.47",
44
"version":"2.0"
55
},
66
"scene":0,
77
"scenes":[
88
{
99
"name":"Scene",
1010
"nodes":[
11-
0
11+
0,
12+
1
1213
]
1314
}
1415
],
@@ -22,17 +23,56 @@
2223
0,
2324
0.7071066498756409
2425
]
26+
},
27+
{
28+
"extras":{
29+
"gd_node":"Decal",
30+
"lower_fade":9,
31+
"upper_fade":10
32+
},
33+
"mesh":1,
34+
"name":"Ground_AO",
35+
"scale":[
36+
17.00000762939453,
37+
1,
38+
17.0000057220459
39+
],
40+
"translation":[
41+
0,
42+
-6.238268269953551e-06,
43+
0
44+
]
2545
}
2646
],
2747
"materials":[
2848
{
2949
"name":"mat40-61",
50+
"occlusionTexture":{
51+
"index":0,
52+
"texCoord":1
53+
},
3054
"pbrMetallicRoughness":{
3155
"baseColorTexture":{
32-
"index":0
56+
"index":1
3357
},
3458
"metallicFactor":0
3559
}
60+
},
61+
{
62+
"name":"Ground_AO",
63+
"occlusionTexture":{
64+
"index":2
65+
},
66+
"pbrMetallicRoughness":{
67+
"baseColorFactor":[
68+
0.800000011920929,
69+
0.800000011920929,
70+
0.800000011920929,
71+
1
72+
],
73+
"metallicFactor":0,
74+
"roughnessFactor":0.5
75+
}
3676
}
3777
],
3878
"meshes":[
@@ -43,25 +83,58 @@
4383
"attributes":{
4484
"POSITION":0,
4585
"NORMAL":1,
46-
"TEXCOORD_0":2
86+
"TEXCOORD_0":2,
87+
"TEXCOORD_1":3
4788
},
48-
"indices":3,
89+
"indices":4,
4990
"material":0
5091
}
5192
]
93+
},
94+
{
95+
"name":"Plane",
96+
"primitives":[
97+
{
98+
"attributes":{
99+
"POSITION":5,
100+
"NORMAL":6,
101+
"TEXCOORD_0":7
102+
},
103+
"indices":8,
104+
"material":1
105+
}
106+
]
52107
}
53108
],
54109
"textures":[
55110
{
56111
"sampler":0,
57112
"source":0
113+
},
114+
{
115+
"sampler":0,
116+
"source":1
117+
},
118+
{
119+
"sampler":0,
120+
"source":2
58121
}
59122
],
60123
"images":[
124+
{
125+
"mimeType":"image/png",
126+
"name":"runway.png",
127+
"uri":"../../../Textures/ambient_occlusion/Buildings/Airport/runway.png"
128+
},
61129
{
62130
"mimeType":"image/png",
63131
"name":"tex40-61",
64132
"uri":"../../../Textures/tex40-61.png"
133+
},
134+
{
135+
"mimeType":"image/png",
136+
"name":"runway_ground.png",
137+
"uri":"../../../Textures/ambient_occlusion/Buildings/Airport/runway_ground.png"
65138
}
66139
],
67140
"accessors":[
@@ -95,6 +168,46 @@
95168
},
96169
{
97170
"bufferView":3,
171+
"componentType":5126,
172+
"count":4,
173+
"type":"VEC2"
174+
},
175+
{
176+
"bufferView":4,
177+
"componentType":5123,
178+
"count":6,
179+
"type":"SCALAR"
180+
},
181+
{
182+
"bufferView":5,
183+
"componentType":5126,
184+
"count":4,
185+
"max":[
186+
0.5,
187+
0,
188+
0.5
189+
],
190+
"min":[
191+
-0.5,
192+
0,
193+
-0.5
194+
],
195+
"type":"VEC3"
196+
},
197+
{
198+
"bufferView":6,
199+
"componentType":5126,
200+
"count":4,
201+
"type":"VEC3"
202+
},
203+
{
204+
"bufferView":7,
205+
"componentType":5126,
206+
"count":4,
207+
"type":"VEC2"
208+
},
209+
{
210+
"bufferView":8,
98211
"componentType":5123,
99212
"count":6,
100213
"type":"SCALAR"
@@ -121,8 +234,38 @@
121234
},
122235
{
123236
"buffer":0,
124-
"byteLength":12,
237+
"byteLength":32,
125238
"byteOffset":128,
239+
"target":34962
240+
},
241+
{
242+
"buffer":0,
243+
"byteLength":12,
244+
"byteOffset":160,
245+
"target":34963
246+
},
247+
{
248+
"buffer":0,
249+
"byteLength":48,
250+
"byteOffset":172,
251+
"target":34962
252+
},
253+
{
254+
"buffer":0,
255+
"byteLength":48,
256+
"byteOffset":220,
257+
"target":34962
258+
},
259+
{
260+
"buffer":0,
261+
"byteLength":32,
262+
"byteOffset":268,
263+
"target":34962
264+
},
265+
{
266+
"buffer":0,
267+
"byteLength":12,
268+
"byteOffset":300,
126269
"target":34963
127270
}
128271
],
@@ -134,7 +277,7 @@
134277
],
135278
"buffers":[
136279
{
137-
"byteLength":140,
280+
"byteLength":312,
138281
"uri":"runway.bin"
139282
}
140283
]
Binary file not shown.

0 commit comments

Comments
 (0)