This commit is contained in:
s473621 2024-03-04 19:22:50 +01:00
parent 31d2af576d
commit 1d263b5887
73 changed files with 2279845 additions and 3 deletions

View File

@ -86,7 +86,7 @@
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>Unicode</CharacterSet>
<PlatformToolset>v143</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>

View File

@ -72,6 +72,9 @@
<ClCompile Include="src\imgui_widgets.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="src\Distribution.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="src\objload.h">
@ -137,6 +140,12 @@
<ClInclude Include="src\imstb_truetype.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="src\Distribution.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="src\stb_image.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="shaders\shader_5_sun.frag">

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

View File

@ -0,0 +1,668 @@
# Blender 4.0.2
# www.blender.org
mtllib roslina3.mtl
o 17prz
v 0.196967 0.000000 0.000000
v 0.196967 6.955004 0.000000
v 0.139277 0.000000 -0.124436
v 0.139277 6.955004 -0.124436
v -0.000000 0.000000 -0.175979
v -0.000000 6.955004 -0.175979
v -0.139277 0.000000 -0.124436
v -0.139277 6.955004 -0.124436
v -0.196967 0.000000 0.000000
v -0.196967 6.955004 0.000000
v -0.139277 0.000000 0.124436
v -0.139277 6.955004 0.124436
v 0.000000 0.000000 0.175979
v 0.000000 6.955004 0.175979
v 0.139277 0.000000 0.124436
v 0.139277 6.955004 0.124436
v 1.582894 7.484413 0.000000
v 2.924799 8.992092 0.000000
v 3.821450 11.248427 0.000000
v 4.136302 13.910008 0.000000
v 3.821450 16.571590 0.000000
v 2.924799 18.827925 0.000000
v 1.582894 20.335606 0.000000
v 1.119275 7.484413 -1.000012
v 2.068151 8.992092 -1.847781
v 2.702167 11.248427 -2.414241
v 2.924799 13.910008 -2.613150
v 2.702167 16.571590 -2.414241
v 2.068151 18.827925 -1.847781
v 1.119275 20.335606 -1.000012
v -0.000000 7.484413 -1.414230
v -0.000000 8.992092 -2.613150
v -0.000000 11.248427 -3.414260
v -0.000000 13.910008 -3.695563
v -0.000000 16.571590 -3.414260
v -0.000000 18.827925 -2.613150
v -0.000000 20.335606 -1.414230
v -1.119275 7.484413 -1.000012
v -2.068151 8.992092 -1.847781
v -2.702167 11.248427 -2.414241
v -2.924799 13.910008 -2.613150
v -2.702167 16.571590 -2.414241
v -2.068151 18.827925 -1.847781
v -1.119275 20.335606 -1.000012
v -1.582894 7.484413 0.000000
v -2.924799 8.992092 0.000000
v -3.821450 11.248427 0.000000
v -4.136302 13.910008 0.000000
v -3.821450 16.571590 0.000000
v -2.924799 18.827925 0.000000
v -1.582894 20.335606 0.000000
v -1.119275 7.484413 1.000012
v -2.068151 8.992092 1.847781
v -2.702167 11.248427 2.414241
v -2.924799 13.910008 2.613150
v -2.702167 16.571590 2.414241
v -2.068151 18.827925 1.847781
v -1.119275 20.335606 1.000012
v 0.000000 7.484413 1.414230
v 0.000000 8.992092 2.613150
v 0.000000 11.248427 3.414260
v 0.000000 13.910008 3.695563
v 0.000000 16.571590 3.414260
v 0.000000 18.827925 2.613150
v 0.000000 20.335606 1.414230
v 1.119275 7.484413 1.000012
v 2.068151 8.992092 1.847781
v 2.702167 11.248427 2.414241
v 2.924799 13.910008 2.613150
v 2.702167 16.571590 2.414241
v 2.068151 18.827925 1.847781
v 1.119275 20.335606 1.000012
v 0.000000 6.955004 0.000000
v 0.000000 20.865013 0.000000
v -7.055448 16.325447 3.639426
v -3.527714 15.117729 1.819713
v -4.845461 15.922886 4.633074
v -7.197283 16.728045 5.846222
v -10.583160 17.533169 5.459121
v -9.265434 16.728045 2.645759
v -6.913611 15.922886 1.432624
v -4.073469 16.325447 6.303663
v -2.036735 15.117729 3.151823
v -1.603481 15.922886 6.176940
v -2.961297 16.728045 8.278167
v -6.110184 17.533169 9.455484
v -6.543452 16.728045 6.430385
v -5.185622 15.922886 4.329158
v 0.000000 16.325447 7.278833
v 0.000000 15.117729 3.639426
v 2.068151 15.922886 6.065703
v 2.068151 16.728045 8.491982
v 0.000000 17.533169 10.918259
v -2.068151 16.728045 8.491982
v -2.068151 15.922886 6.065703
v 4.073469 16.325447 6.303663
v 2.036735 15.117729 3.151823
v 5.185622 15.922886 4.329158
v 6.543452 16.728045 6.430385
v 6.110184 17.533169 9.455484
v 2.961297 16.728045 8.278167
v 1.603481 15.922886 6.176940
v 7.055448 16.325447 3.639426
v 3.527714 15.117729 1.819713
v 6.913611 15.922886 1.432624
v 9.265434 16.728045 2.645759
v 10.583160 17.533169 5.459121
v 7.197283 16.728045 5.846222
v 4.845461 15.922886 4.633074
v 8.146918 16.325447 -0.000000
v 4.073469 15.117729 -0.000000
v 6.789109 15.922886 -1.847781
v 9.504748 16.728045 -1.847781
v 12.220387 17.533169 -0.000000
v 9.504748 16.728045 1.847781
v 6.789109 15.922886 1.847781
v 7.055448 16.325447 -3.639426
v 3.527714 15.117729 -1.819713
v 4.845461 15.922886 -4.633074
v 7.197283 16.728045 -5.846222
v 10.583160 17.533169 -5.459121
v 9.265434 16.728045 -2.645759
v 6.913611 15.922886 -1.432624
v 4.073469 16.325447 -6.303663
v 2.036735 15.117729 -3.151823
v 1.603481 15.922886 -6.176940
v 2.961297 16.728045 -8.278167
v 6.110184 17.533169 -9.455484
v 6.543452 16.728045 -6.430385
v 5.185622 15.922886 -4.329158
v -0.000000 16.325447 -7.278833
v -0.000000 15.117729 -3.639426
v -2.068151 15.922886 -6.065703
v -2.068151 16.728045 -8.491982
v -0.000000 17.533169 -10.918259
v 2.068151 16.728045 -8.491982
v 2.068151 15.922886 -6.065703
v -4.073469 16.325447 -6.303663
v -2.036735 15.117729 -3.151823
v -5.185622 15.922886 -4.329158
v -6.543452 16.728045 -6.430385
v -6.110184 17.533169 -9.455484
v -2.961297 16.728045 -8.278167
v -1.603481 15.922886 -6.176940
v -7.055448 16.325447 -3.639426
v -3.527714 15.117729 -1.819713
v -6.913611 15.922886 -1.432624
v -9.265434 16.728045 -2.645759
v -10.583160 17.533169 -5.459121
v -7.197283 16.728045 -5.846222
v -4.845461 15.922886 -4.633074
v -8.146918 16.325447 0.000000
v -4.073469 15.117729 0.000000
v -6.789109 15.922886 1.847781
v -9.504748 16.728045 1.847781
v -12.220387 17.533169 0.000000
v -9.504748 16.728045 -1.847781
v -6.789109 15.922886 -1.847781
vn 0.9072 -0.0000 -0.4206
vn 0.3471 -0.0000 -0.9378
vn -0.3471 -0.0000 -0.9378
vn -0.9072 -0.0000 -0.4206
vn -0.9072 -0.0000 0.4206
vn -0.3471 -0.0000 0.9378
vn 0.3471 -0.0000 0.9378
vn 0.9072 -0.0000 0.4206
vn 0.3138 -0.9383 -0.1455
vn 0.3138 0.9383 -0.1455
vn 0.7059 -0.6282 -0.3272
vn 0.8535 -0.3392 -0.3957
vn 0.9021 -0.1067 -0.4182
vn 0.9021 0.1067 -0.4182
vn 0.8535 0.3392 -0.3957
vn 0.7059 0.6282 -0.3272
vn 0.7058 0.6282 -0.3272
vn 0.1287 -0.9287 -0.3477
vn 0.1287 0.9287 -0.3477
vn 0.2782 -0.5978 -0.7518
vn 0.3293 -0.3159 -0.8898
vn 0.3454 -0.0986 -0.9333
vn 0.3454 0.0986 -0.9333
vn 0.3293 0.3159 -0.8898
vn 0.2782 0.5978 -0.7518
vn -0.1287 -0.9287 -0.3477
vn -0.1287 0.9287 -0.3477
vn -0.2782 -0.5978 -0.7518
vn -0.3293 -0.3159 -0.8898
vn -0.3454 -0.0986 -0.9333
vn -0.3454 0.0986 -0.9333
vn -0.3293 0.3159 -0.8898
vn -0.2782 0.5978 -0.7518
vn -0.3138 -0.9383 -0.1455
vn -0.3138 0.9383 -0.1455
vn -0.7059 -0.6282 -0.3272
vn -0.8535 -0.3392 -0.3957
vn -0.9021 -0.1067 -0.4182
vn -0.9021 0.1067 -0.4182
vn -0.8535 0.3392 -0.3957
vn -0.7059 0.6282 -0.3272
vn -0.3138 -0.9383 0.1455
vn -0.3138 0.9383 0.1455
vn -0.7059 -0.6282 0.3272
vn -0.8535 -0.3392 0.3957
vn -0.9021 -0.1067 0.4182
vn -0.9021 0.1067 0.4182
vn -0.8535 0.3392 0.3957
vn -0.7059 0.6282 0.3272
vn -0.7058 0.6282 0.3272
vn -0.1287 -0.9287 0.3477
vn -0.1287 0.9287 0.3477
vn -0.2782 -0.5978 0.7518
vn -0.3293 -0.3159 0.8898
vn -0.3454 -0.0986 0.9333
vn -0.3454 0.0986 0.9333
vn -0.3293 0.3159 0.8898
vn -0.2782 0.5978 0.7518
vn 0.1287 -0.9287 0.3477
vn 0.1287 0.9287 0.3477
vn 0.2782 -0.5978 0.7518
vn 0.3293 -0.3159 0.8898
vn 0.3454 -0.0986 0.9333
vn 0.3454 0.0986 0.9333
vn 0.3293 0.3159 0.8898
vn 0.2782 0.5978 0.7518
vn 0.3138 -0.9383 0.1455
vn 0.3138 0.9383 0.1455
vn 0.7059 -0.6282 0.3272
vn 0.8535 -0.3392 0.3957
vn 0.9021 -0.1067 0.4182
vn 0.9021 0.1067 0.4182
vn 0.8535 0.3392 0.3957
vn 0.7059 0.6282 0.3272
vn 0.2455 0.9563 -0.1587
vn 0.2456 0.9563 -0.1587
vn 0.1410 0.9515 -0.2734
vn 0.1410 0.9515 -0.2735
vn 0.1411 0.9515 -0.2734
vn -0.0000 0.9491 -0.3150
vn -0.1411 0.9515 -0.2734
vn -0.1410 0.9515 -0.2735
vn -0.1410 0.9515 -0.2734
vn -0.2455 0.9563 -0.1587
vn -0.2456 0.9563 -0.1587
vn -0.2843 0.9587 -0.0000
vn -0.2455 0.9563 0.1587
vn -0.2456 0.9563 0.1587
vn -0.1410 0.9515 0.2734
vn -0.1410 0.9515 0.2735
vn -0.1411 0.9515 0.2734
vn -0.0000 0.9491 0.3150
vn 0.1411 0.9515 0.2734
vn 0.1410 0.9515 0.2735
vn 0.1410 0.9515 0.2734
vn 0.2455 0.9563 0.1587
vn 0.2456 0.9563 0.1587
vn 0.2843 0.9587 -0.0000
vt 0.388973 0.996686
vt 0.388959 0.996686
vt 0.388973 0.995911
vt 0.388959 0.995911
vt 0.418382 0.996679
vt 0.418363 0.996679
vt 0.418382 0.995911
vt 0.418363 0.995911
vt 0.389050 0.996686
vt 0.389037 0.996686
vt 0.389050 0.995911
vt 0.389037 0.995911
vt 0.389018 0.996686
vt 0.389018 0.995911
vt 0.389005 0.996686
vt 0.389005 0.995911
vt 0.418344 0.996679
vt 0.418344 0.995911
vt 0.388991 0.996686
vt 0.388991 0.995911
vt 0.315312 0.994789
vt 0.315258 0.994377
vt 0.315382 0.994547
vt 0.457840 0.993732
vt 0.457912 0.993973
vt 0.457791 0.994143
vt 0.315370 0.995138
vt 0.315498 0.994692
vt 0.315422 0.995371
vt 0.315590 0.994789
vt 0.257707 0.994905
vt 0.257839 0.994871
vt 0.257839 0.995453
vt 0.257707 0.995535
vt 0.257158 0.995453
vt 0.257026 0.995535
vt 0.257001 0.994905
vt 0.257134 0.994871
vt 0.257272 0.995220
vt 0.257254 0.994774
vt 0.457881 0.993382
vt 0.458012 0.993828
vt 0.315382 0.994206
vt 0.457912 0.994314
vt 0.315498 0.994062
vt 0.256874 0.994871
vt 0.256773 0.994774
vt 0.256773 0.994143
vt 0.256874 0.994047
vt 0.257001 0.994013
vt 0.257134 0.994047
vt 0.257254 0.994143
vt 0.458012 0.994459
vt 0.315312 0.993965
vt 0.457840 0.994555
vt 0.315370 0.993616
vt 0.315590 0.993965
vt 0.315422 0.993382
vt 0.258193 0.995535
vt 0.258061 0.995453
vt 0.258061 0.994871
vt 0.258193 0.994905
vt 0.257026 0.993382
vt 0.257158 0.993464
vt 0.257272 0.993698
vt 0.457881 0.994905
vt 0.315214 0.993965
vt 0.457740 0.994555
vt 0.315189 0.993616
vt 0.257950 0.994774
vt 0.257950 0.994143
vt 0.258061 0.994047
vt 0.258193 0.994013
vt 0.258324 0.994871
vt 0.258324 0.994047
vt 0.258436 0.994774
vt 0.258436 0.994143
vt 0.457695 0.994905
vt 0.315145 0.994206
vt 0.457669 0.994314
vt 0.315061 0.994062
vt 0.254126 0.995453
vt 0.254012 0.995220
vt 0.254030 0.994774
vt 0.254150 0.994871
vt 0.254258 0.995535
vt 0.254283 0.994905
vt 0.258193 0.993382
vt 0.258324 0.993464
vt 0.258436 0.993698
vt 0.457564 0.994459
vt 0.315145 0.994547
vt 0.457669 0.993973
vt 0.253942 0.994629
vt 0.253942 0.994288
vt 0.254030 0.994143
vt 0.254150 0.994047
vt 0.254283 0.994013
vt 0.254410 0.994871
vt 0.254410 0.994047
vt 0.254511 0.994774
vt 0.254511 0.994143
vt 0.457564 0.993828
vt 0.315214 0.994789
vt 0.457740 0.993732
vt 0.315061 0.994692
vt 0.315189 0.995138
vt 0.254012 0.993698
vt 0.254126 0.993464
vt 0.254258 0.993382
vt 0.257576 0.993464
vt 0.257707 0.993382
vt 0.257707 0.994013
vt 0.257576 0.994047
vt 0.257465 0.993698
vt 0.257465 0.994143
vt 0.457695 0.993382
vt 0.257839 0.994047
vt 0.257950 0.994143
vt 0.257950 0.994774
vt 0.257576 0.994871
vt 0.257465 0.994774
vt 0.435632 0.994175
vt 0.435563 0.993497
vt 0.435840 0.993383
vt 0.435424 0.994026
vt 0.435424 0.994968
vt 0.435701 0.994853
vt 0.435840 0.994325
vt 0.530191 0.994016
vt 0.530111 0.993382
vt 0.530431 0.993474
vt 0.529950 0.993743
vt 0.529950 0.994557
vt 0.530271 0.994649
vt 0.530431 0.994288
vt 0.511705 0.994052
vt 0.511485 0.994281
vt 0.511485 0.993391
vt 0.511631 0.994722
vt 0.511925 0.994713
vt 0.511925 0.993823
vt 0.511778 0.993383
vt 0.374131 0.994293
vt 0.374335 0.994241
vt 0.374335 0.995203
vt 0.374200 0.993635
vt 0.373928 0.993382
vt 0.373927 0.994344
vt 0.374063 0.994951
vt 0.223159 0.994524
vt 0.222987 0.994187
vt 0.223159 0.993383
vt 0.222987 0.994948
vt 0.223159 0.995665
vt 0.223331 0.994861
vt 0.223331 0.994100
vt 0.247016 0.994483
vt 0.247195 0.994968
vt 0.247016 0.995584
vt 0.247195 0.994234
vt 0.247016 0.993382
vt 0.246836 0.993998
vt 0.246836 0.994732
vt 0.433745 0.994180
vt 0.433815 0.994857
vt 0.433535 0.994977
vt 0.433955 0.994326
vt 0.433955 0.993382
vt 0.433675 0.993502
vt 0.433535 0.994034
vt 0.529054 0.994016
vt 0.529135 0.994650
vt 0.528812 0.994566
vt 0.529297 0.994284
vt 0.529297 0.993467
vt 0.528974 0.993382
vt 0.528812 0.993749
vt 0.511082 0.994052
vt 0.511304 0.993827
vt 0.511304 0.994719
vt 0.511156 0.993382
vt 0.510861 0.993385
vt 0.510861 0.994277
vt 0.511008 0.994722
vt 0.371879 0.994295
vt 0.372084 0.994247
vt 0.372084 0.995208
vt 0.371947 0.993638
vt 0.371673 0.993382
vt 0.371673 0.994344
vt 0.371810 0.994952
vt 0.222210 0.994525
vt 0.222383 0.994865
vt 0.222210 0.995667
vt 0.222383 0.994103
vt 0.222210 0.993383
vt 0.222038 0.994185
vt 0.222038 0.994946
vt 0.248500 0.994481
vt 0.248321 0.993993
vt 0.248500 0.993382
vt 0.248321 0.994725
vt 0.248500 0.995579
vt 0.248679 0.994968
vt 0.248679 0.994236
s 0
usemtl Material.574
f 1/1/1 3/2/1 2/3/1
f 2/3/1 3/2/1 4/4/1
f 3/5/2 5/6/2 4/7/2
f 4/7/2 5/6/2 6/8/2
f 5/9/3 7/10/3 6/11/3
f 6/11/3 7/10/3 8/12/3
f 7/10/4 9/13/4 8/12/4
f 8/12/4 9/13/4 10/14/4
f 9/13/5 11/15/5 10/14/5
f 10/14/5 11/15/5 12/16/5
f 11/6/6 13/17/6 12/8/6
f 12/8/6 13/17/6 14/18/6
f 13/15/7 15/19/7 14/16/7
f 14/16/7 15/19/7 16/20/7
f 15/19/8 1/1/8 16/20/8
f 16/20/8 1/1/8 2/3/8
f 17/21/9 73/22/9 24/23/9
f 23/24/10 30/25/10 74/26/10
f 18/27/11 17/21/11 24/23/11
f 18/27/11 24/23/11 25/28/11
f 19/29/12 18/27/12 25/28/12
f 19/29/12 25/28/12 26/30/12
f 20/31/13 19/32/13 26/33/13
f 20/31/13 26/33/13 27/34/13
f 21/35/14 20/36/14 27/37/14
f 21/35/14 27/37/14 28/38/14
f 22/39/15 21/35/15 28/38/15
f 22/39/15 28/38/15 29/40/15
f 23/24/16 22/41/16 29/42/16
f 23/24/17 29/42/17 30/25/17
f 24/23/18 73/22/18 31/43/18
f 30/25/19 37/44/19 74/26/19
f 25/28/20 24/23/20 31/43/20
f 25/28/20 31/43/20 32/45/20
f 26/46/21 25/47/21 32/48/21
f 26/46/21 32/48/21 33/49/21
f 27/37/22 26/46/22 33/49/22
f 27/37/22 33/49/22 34/50/22
f 28/38/23 27/37/23 34/50/23
f 28/38/23 34/50/23 35/51/23
f 29/40/24 28/38/24 35/51/24
f 29/40/24 35/51/24 36/52/24
f 30/25/25 29/42/25 36/53/25
f 30/25/25 36/53/25 37/44/25
f 31/43/26 73/22/26 38/54/26
f 37/44/27 44/55/27 74/26/27
f 32/45/28 31/43/28 38/54/28
f 32/45/28 38/54/28 39/56/28
f 33/57/29 32/45/29 39/56/29
f 33/57/29 39/56/29 40/58/29
f 34/59/30 33/60/30 40/61/30
f 34/59/30 40/61/30 41/62/30
f 35/51/31 34/50/31 41/63/31
f 35/51/31 41/63/31 42/64/31
f 36/52/32 35/51/32 42/64/32
f 36/52/32 42/64/32 43/65/32
f 37/44/33 36/53/33 43/66/33
f 37/44/33 43/66/33 44/55/33
f 38/54/34 73/22/34 45/67/34
f 44/55/35 51/68/35 74/26/35
f 39/56/36 38/54/36 45/67/36
f 39/56/36 45/67/36 46/69/36
f 40/61/37 39/70/37 46/71/37
f 40/61/37 46/71/37 47/72/37
f 41/62/38 40/61/38 47/72/38
f 41/62/38 47/72/38 48/73/38
f 42/74/39 41/62/39 48/73/39
f 42/74/39 48/73/39 49/75/39
f 43/76/40 42/74/40 49/75/40
f 43/76/40 49/75/40 50/77/40
f 44/55/41 43/66/41 50/78/41
f 44/55/41 50/78/41 51/68/41
f 45/67/42 73/22/42 52/79/42
f 51/68/43 58/80/43 74/26/43
f 46/69/44 45/67/44 52/79/44
f 46/69/44 52/79/44 53/81/44
f 47/82/45 46/83/45 53/84/45
f 47/82/45 53/84/45 54/85/45
f 48/86/46 47/82/46 54/85/46
f 48/86/46 54/85/46 55/87/46
f 49/75/47 48/73/47 55/88/47
f 49/75/47 55/88/47 56/89/47
f 50/77/48 49/75/48 56/89/48
f 50/77/48 56/89/48 57/90/48
f 51/68/49 50/78/49 57/91/49
f 51/68/50 57/91/50 58/80/50
f 52/79/51 73/22/51 59/92/51
f 58/80/52 65/93/52 74/26/52
f 53/84/53 52/94/53 59/95/53
f 53/84/53 59/95/53 60/96/53
f 54/85/54 53/84/54 60/96/54
f 54/85/54 60/96/54 61/97/54
f 55/87/55 54/85/55 61/97/55
f 55/87/55 61/97/55 62/98/55
f 56/99/56 55/87/56 62/98/56
f 56/99/56 62/98/56 63/100/56
f 57/101/57 56/99/57 63/100/57
f 57/101/57 63/100/57 64/102/57
f 58/80/58 57/91/58 64/103/58
f 58/80/58 64/103/58 65/93/58
f 59/92/59 73/22/59 66/104/59
f 65/93/60 72/105/60 74/26/60
f 60/106/61 59/92/61 66/104/61
f 60/106/61 66/104/61 67/107/61
f 61/97/62 60/96/62 67/108/62
f 61/97/62 67/108/62 68/109/62
f 62/98/63 61/97/63 68/109/63
f 62/98/63 68/109/63 69/110/63
f 63/111/64 62/112/64 69/113/64
f 63/111/64 69/113/64 70/114/64
f 64/115/65 63/111/65 70/114/65
f 64/115/65 70/114/65 71/116/65
f 65/93/66 64/103/66 71/117/66
f 65/93/66 71/117/66 72/105/66
f 66/104/67 73/22/67 17/21/67
f 72/105/68 23/24/68 74/26/68
f 67/107/69 66/104/69 17/21/69
f 67/107/69 17/21/69 18/27/69
f 68/118/70 67/119/70 18/120/70
f 68/118/70 18/120/70 19/32/70
f 69/113/71 68/118/71 19/32/71
f 69/113/71 19/32/71 20/31/71
f 70/114/72 69/113/72 20/31/72
f 70/114/72 20/31/72 21/121/72
f 71/116/73 70/114/73 21/121/73
f 71/116/73 21/121/73 22/122/73
f 72/105/74 71/117/74 22/41/74
f 72/105/74 22/41/74 23/24/74
f 75/123/75 77/124/75 76/125/75
f 75/123/75 78/126/75 77/124/75
f 75/123/75 79/127/75 78/126/75
f 75/123/76 80/128/76 79/127/76
f 75/123/76 81/129/76 80/128/76
f 75/123/75 76/125/75 81/129/75
f 82/130/77 84/131/77 83/132/77
f 82/130/78 85/133/78 84/131/78
f 82/130/78 86/134/78 85/133/78
f 82/130/79 87/135/79 86/134/79
f 82/130/79 88/136/79 87/135/79
f 82/130/79 83/132/79 88/136/79
f 89/137/80 91/138/80 90/139/80
f 89/137/80 92/140/80 91/138/80
f 89/137/80 93/141/80 92/140/80
f 89/137/80 94/142/80 93/141/80
f 89/137/80 95/143/80 94/142/80
f 89/137/80 90/139/80 95/143/80
f 96/144/81 98/145/81 97/146/81
f 96/144/81 99/147/81 98/145/81
f 96/144/81 100/148/81 99/147/81
f 96/144/82 101/149/82 100/148/82
f 96/144/82 102/150/82 101/149/82
f 96/144/83 97/146/83 102/150/83
f 103/151/84 105/152/84 104/153/84
f 103/151/85 106/154/85 105/152/85
f 103/151/85 107/155/85 106/154/85
f 103/151/84 108/156/84 107/155/84
f 103/151/84 109/157/84 108/156/84
f 103/151/84 104/153/84 109/157/84
f 110/158/86 112/159/86 111/160/86
f 110/158/86 113/161/86 112/159/86
f 110/158/86 114/162/86 113/161/86
f 110/158/86 115/163/86 114/162/86
f 110/158/86 116/164/86 115/163/86
f 110/158/86 111/160/86 116/164/86
f 117/165/87 119/166/87 118/167/87
f 117/165/87 120/168/87 119/166/87
f 117/165/87 121/169/87 120/168/87
f 117/165/88 122/170/88 121/169/88
f 117/165/88 123/171/88 122/170/88
f 117/165/87 118/167/87 123/171/87
f 124/172/89 126/173/89 125/174/89
f 124/172/90 127/175/90 126/173/90
f 124/172/90 128/176/90 127/175/90
f 124/172/91 129/177/91 128/176/91
f 124/172/91 130/178/91 129/177/91
f 124/172/91 125/174/91 130/178/91
f 131/179/92 133/180/92 132/181/92
f 131/179/92 134/182/92 133/180/92
f 131/179/92 135/183/92 134/182/92
f 131/179/92 136/184/92 135/183/92
f 131/179/92 137/185/92 136/184/92
f 131/179/92 132/181/92 137/185/92
f 138/186/93 140/187/93 139/188/93
f 138/186/93 141/189/93 140/187/93
f 138/186/93 142/190/93 141/189/93
f 138/186/94 143/191/94 142/190/94
f 138/186/94 144/192/94 143/191/94
f 138/186/95 139/188/95 144/192/95
f 145/193/96 147/194/96 146/195/96
f 145/193/97 148/196/97 147/194/97
f 145/193/97 149/197/97 148/196/97
f 145/193/96 150/198/96 149/197/96
f 145/193/96 151/199/96 150/198/96
f 145/193/96 146/195/96 151/199/96
f 152/200/98 154/201/98 153/202/98
f 152/200/98 155/203/98 154/201/98
f 152/200/98 156/204/98 155/203/98
f 152/200/98 157/205/98 156/204/98
f 152/200/98 158/206/98 157/205/98
f 152/200/98 153/202/98 158/206/98

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,12 @@
# Blender 4.0.2 MTL File: 'kon_wer.blend'
# www.blender.org
newmtl Material.574
Ns 250.000000
Ka 1.000000 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 2
map_Kd C:/Users/neryt/Grafika2023/PlanetCreator/cw 6/models/mage.jpg

File diff suppressed because it is too large Load Diff

View File

@ -922,8 +922,15 @@ void init(GLFWwindow* window)
loadMTLAndGetTextureID("./models/plant_2_1_small.mtl", plant2_1Material);
loadModelToContext("./models/cube.obj", cubeContext);
texture::background = Core::LoadCubeMap("./textures/skyCut.jpg");
plant_specimens.push_back(Plant::Plant(40, 5, 40, 5, "drzewo_lisciaste", "./models/plant_1_1.obj", plant3Material));
plant_specimens.push_back(Plant::Plant(25, 5, 25, 5, "drzewo_iglaste", "./models/plant_2_1.obj", plant2_1Material));
//plant_specimens.push_back(Plant::Plant(40, 5, 40, 5, "drzewo_lisciaste", "./models/plant_1_1.obj", plant3Material));
//plant_specimens.push_back(Plant::Plant(25, 5, 25, 5, "drzewo_iglaste", "./models/plant_2_1.obj", plant2_1Material));
for (int i = 1; i <= 35; ++i) {
std::string plant_name = "testPlant" + std::to_string(i);
std::string model_name = "./models/roslina" + std::to_string(i)+".obj";
double random_value = static_cast<double>(rand()) / RAND_MAX;
std::cout << random_value;
//plant_specimens.push_back(Plant::Plant(1, random_value, 1, 1, plant_name, model_name));
}
defaultTexture = Core::LoadTexture("textures/1.png");
if (defaultTexture == 0) {