Got a model to load and appear in the GLArea

This commit is contained in:
2026-08-19 13:34:55 -04:00
parent a67ec7ef24
commit bba7098437
18 changed files with 10141 additions and 9992 deletions
+22
View File
@@ -0,0 +1,22 @@
# Blender MTL File: 'None'
# Material Count: 1
newmtl Black_Piece
Ns 650.249991
Ka 0.275000 0.275000 0.275000
Kd 0.107621 0.105609 0.108037
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 3
newmtl White_Piece
Ns 650.249991
Ka 0.650000 0.650000 0.650000
Kd 0.882937 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.450000
d 1.000000
illum 3
File diff suppressed because it is too large Load Diff
Binary file not shown.

After

Width:  |  Height:  |  Size: 512 KiB

+12
View File
@@ -0,0 +1,12 @@
# Blender 5.2.0 LTS MTL File: 'prop_sign_traffic01.blend'
# www.blender.org
newmtl Material
Ns 0.000000
Ka 1.000000 1.000000 1.000000
Ks 0.500000 0.500000 0.500000
Ke 0.000000 0.000000 0.000000
Ni 1.500000
illum 2
map_Kd props_streetsigns.png
map_d props_streetsigns.png
+82
View File
@@ -0,0 +1,82 @@
# Blender 5.2.0 LTS
# www.blender.org
mtllib prop_sign_traffic01.mtl
o Pole
v 0.178493 1.997270 0.017707
v 0.000000 2.000000 0.000000
v 0.000000 0.000000 -0.020000
v 0.000000 2.000000 -0.020000
v 0.019021 0.000000 -0.006180
v 0.019021 2.000000 -0.006180
v 0.011756 0.000000 0.016180
v 0.011756 2.000000 0.016180
v -0.011756 0.000000 0.016180
v -0.011756 2.000000 0.016180
v -0.019021 0.000000 -0.006180
v -0.019021 2.000000 -0.006180
v -0.178493 1.997270 0.017707
v 0.178493 1.640285 0.017707
v -0.178493 1.640285 0.017707
v -0.178493 1.640285 0.014304
v 0.178493 1.640285 0.014304
v -0.178493 1.997270 0.014304
v 0.178493 1.997270 0.014304
vn -0.0000 1.0000 -0.0000
vn -0.0000 -0.0000 -1.0000
vn 0.9511 -0.0000 -0.3090
vn 0.5878 -0.0000 0.8090
vn -0.5878 -0.0000 0.8090
vn -0.9511 -0.0000 -0.3090
vn -0.0000 -0.0000 1.0000
vt 0.010888 0.998435
vt 0.007837 0.996283
vt 0.013939 0.996283
vt 0.061975 0.125000
vt 0.061975 1.000000
vt 0.040605 1.000000
vt 0.040605 0.125000
vt 0.008128 0.999870
vt 0.019236 1.000000
vt 0.019236 0.125000
vt 0.010888 0.999870
vt 0.062500 0.125000
vt 0.062500 1.000000
vt 0.042822 1.000000
vt 0.042822 0.125000
vt 0.013647 0.999870
vt 0.021453 1.000000
vt 0.021453 0.125000
vt 0.269104 0.368067
vt 0.159931 0.368067
vt 0.159931 0.249896
vt 0.269104 0.249896
vt 0.000084 1.000000
vt 0.000084 0.125000
vt 0.499907 0.496094
vt 0.390624 0.496094
vt 0.390624 0.378473
vt 0.499907 0.378473
s 0
usemtl Material
f 2/1/1 6/2/1 4/3/1
s 1
f 3/4/2 4/5/2 6/6/3 5/7/3
s 0
f 2/1/1 8/8/1 6/2/1
s 1
f 5/7/3 6/6/3 8/9/4 7/10/4
s 0
f 2/1/1 10/11/1 8/8/1
s 1
f 7/12/4 8/13/4 10/14/5 9/15/5
s 0
f 2/1/1 12/16/1 10/11/1
s 1
f 9/15/5 10/14/5 12/17/6 11/18/6
s 0
f 1/19/7 13/20/7 15/21/7 14/22/7
f 2/1/1 4/3/1 12/16/1
s 1
f 11/18/6 12/17/6 4/23/2 3/24/2
s 0
f 19/25/7 18/26/7 16/27/7 17/28/7
Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB