Compare commits

...

1 Commits

Author SHA1 Message Date
EldonMusk
9d6676c52f coins 2023-02-17 11:10:14 +01:00
44 changed files with 32886 additions and 29 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -2,7 +2,7 @@
<Project> <Project>
<ProjectOutputs> <ProjectOutputs>
<ProjectOutput> <ProjectOutput>
<FullPath>j:\Desktop\New folder\grk-2023\Debug\grk-cw9.exe</FullPath> <FullPath>D:\.Agrk-new\pull_attempt\Debug\grk-cw9.exe</FullPath>
</ProjectOutput> </ProjectOutput>
</ProjectOutputs> </ProjectOutputs>
<ContentFiles /> <ContentFiles />

View File

@ -1,29 +1,30 @@
 main.cpp  main.cpp
C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\shared\minwindef.h(130,1): warning C4005: 'APIENTRY': macro redefinition C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\shared\minwindef.h(130,1): warning C4005: "APIENTRY": ponowna definicja makra
j:\Desktop\New folder\grk-2023\dependencies\glfw-3.3.8.bin.WIN32\include\GLFW\glfw3.h(123): message : see previous definition of 'APIENTRY' D:\.Agrk-new\pull_attempt\dependencies\glfw-3.3.8.bin.WIN32\include\GLFW\glfw3.h(123,1): message : zobacz poprzednią definicję „APIENTRY”
j:\Desktop\New folder\grk-2023\src\ex_9_1.hpp(129,30): warning C4305: 'initializing': truncation from 'double' to 'float' D:\.Agrk-new\pull_attempt\src\ex_9_1.hpp(142,30): warning C4305: "inicjowanie": obcięcie z "double" do "float"
j:\Desktop\New folder\grk-2023\src\ex_9_1.hpp(176,38): warning C4305: '=': truncation from 'double' to 'float' D:\.Agrk-new\pull_attempt\src\ex_9_1.hpp(181,12): warning C4244: "argument": konwersja z "time_t" do "unsigned int", możliwa utrata danych
j:\Desktop\New folder\grk-2023\src\ex_9_1.hpp(199,16): warning C4305: 'initializing': truncation from 'double' to 'float' D:\.Agrk-new\pull_attempt\src\ex_9_1.hpp(210,38): warning C4305: "=": obcięcie z "double" do "float"
j:\Desktop\New folder\grk-2023\src\ex_9_1.hpp(260,13): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data D:\.Agrk-new\pull_attempt\src\ex_9_1.hpp(233,16): warning C4305: "inicjowanie": obcięcie z "double" do "float"
j:\Desktop\New folder\grk-2023\src\ex_9_1.hpp(365,99): warning C4305: 'argument': truncation from 'double' to 'T' D:\.Agrk-new\pull_attempt\src\ex_9_1.hpp(294,13): warning C4244: "inicjowanie": konwersja z "double" do "float", możliwa utrata danych
D:\.Agrk-new\pull_attempt\src\ex_9_1.hpp(399,99): warning C4305: "argument": obcięcie z "double" do "T"
with with
[ [
T=float T=float
] ]
j:\Desktop\New folder\grk-2023\src\ex_9_1.hpp(379,13): warning C4244: 'initializing': conversion from 'double' to 'float', possible loss of data D:\.Agrk-new\pull_attempt\src\ex_9_1.hpp(413,13): warning C4244: "inicjowanie": konwersja z "double" do "float", możliwa utrata danych
j:\Desktop\New folder\grk-2023\src\ex_9_1.hpp(386,108): warning C4305: 'argument': truncation from 'double' to 'T' D:\.Agrk-new\pull_attempt\src\ex_9_1.hpp(420,108): warning C4305: "argument": obcięcie z "double" do "T"
with with
[ [
T=float T=float
] ]
j:\Desktop\New folder\grk-2023\src\ex_9_1.hpp(442,2): warning C4305: 'argument': truncation from 'double' to 'float' D:\.Agrk-new\pull_attempt\src\ex_9_1.hpp(476,2): warning C4305: "argument": obcięcie z "double" do "float"
j:\Desktop\New folder\grk-2023\src\ex_9_1.hpp(522,99): warning C4305: 'argument': truncation from 'double' to 'T' D:\.Agrk-new\pull_attempt\src\ex_9_1.hpp(608,99): warning C4305: "argument": obcięcie z "double" do "T"
with with
[ [
T=float T=float
] ]
j:\Desktop\New folder\grk-2023\src\ex_9_1.hpp(813,21): warning C4305: '-=': truncation from 'double' to 'float' D:\.Agrk-new\pull_attempt\src\ex_9_1.hpp(987,21): warning C4305: "-=": obcięcie z "double" do "float"
j:\Desktop\New folder\grk-2023\src\ex_9_1.hpp(815,21): warning C4305: '+=': truncation from 'double' to 'float' D:\.Agrk-new\pull_attempt\src\ex_9_1.hpp(989,21): warning C4305: "+=": obcięcie z "double" do "float"
Box.obj : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/INCREMENTAL:NO' specification Box.obj : warning LNK4075: zignorowano opcję „/EDITANDCONTINUE” z powodu określenia opcji „/INCREMENTAL:NO”
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library LINK : warning LNK4098: domyślna biblioteka „MSVCRT” powoduje konflikt z innymi bibliotekami; użyj opcji /NODEFAULTLIB:biblioteka
grk-cw9.vcxproj -> j:\Desktop\New folder\grk-2023\Debug\grk-cw9.exe grk-cw9.vcxproj -> D:\.Agrk-new\pull_attempt\Debug\grk-cw9.exe

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,2 +1,2 @@
PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.29.30133:TargetPlatformVersion=10.0.19041.0: PlatformToolSet=v143:VCToolArchitecture=Native32Bit:VCToolsVersion=14.34.31933:TargetPlatformVersion=10.0.22000.0:
Debug|Win32|j:\Desktop\New folder\grk-2023\| Debug|Win32|D:\.Agrk-new\pull_attempt\|

Binary file not shown.

Binary file not shown.

View File

@ -1,2 +1,3 @@
D:\git\grk\GRK-2023\Debug\grk-cw9.exe D:\git\grk\GRK-2023\Debug\grk-cw9.exe
j:\Desktop\New folder\grk-2023\Debug\grk-cw9.exe j:\Desktop\New folder\grk-2023\Debug\grk-cw9.exe
D:\.Agrk-new\pull_attempt\Debug\grk-cw9.exe

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

Binary file not shown.

View File

@ -0,0 +1,22 @@
# 3ds Max Wavefront OBJ Exporter v0.97b - (c)2007 guruware
# File Created: 25.09.2020 17:09:52
newmtl wire_018018025
Ns 32
d 1
Tr 0
Tf 1 1 1
illum 2
Ka 0.0706 0.0706 0.0980
Kd 0.0706 0.0706 0.0980
Ks 0.3500 0.3500 0.3500
newmtl wire_009009010
Ns 32
d 1
Tr 0
Tf 1 1 1
illum 2
Ka 0.0353 0.0353 0.0392
Kd 0.0353 0.0353 0.0392
Ks 0.3500 0.3500 0.3500

File diff suppressed because it is too large Load Diff

16
models2/coin/Coin.mtl Normal file
View File

@ -0,0 +1,16 @@
# Blender MTL File: 'GoldCoin.blend'
# Material Count: 1
newmtl GoldCoin
Ns 225.000000
Ka 1.000000 1.000000 1.000000
Kd 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 3
map_Bump textures\Coin_Gold_nm.png
map_Kd textures\Coin_Gold_albedo.png
map_Ns textures\Coin_Gold_rough.png
map_Ks textures\Coin_Gold_metalness.png

908
models2/coin/Coin.obj Normal file
View File

@ -0,0 +1,908 @@
# Blender v2.83.2 OBJ File: 'GoldCoin.blend'
# www.blender.org
mtllib Coin.mtl
o Coin
v -0.801558 0.801558 0.223476
v -0.801558 -0.801558 0.223476
v 0.801558 0.801558 0.223476
v 0.801558 -0.801558 0.223476
v -0.000000 1.133575 0.223476
v -1.133575 -0.000000 0.223476
v 0.000000 -1.133575 0.223476
v 1.133575 0.000000 0.223476
v -0.506950 1.013900 0.223476
v -1.013900 -0.506950 0.223476
v 0.506950 -1.013900 0.223476
v 1.013900 0.506950 0.223476
v 0.506950 1.013900 0.223476
v -1.013900 0.506950 0.223476
v -0.506950 -1.013900 0.223476
v 1.013900 -0.506950 0.223476
v -0.662813 0.919604 0.223476
v -0.919604 -0.662813 0.223476
v 0.662813 -0.919604 0.223476
v 0.919604 0.662813 0.223476
v 0.260442 1.103251 0.223476
v -1.103251 0.260442 0.223476
v -0.260442 -1.103251 0.223476
v 1.103251 -0.260442 0.223476
v -0.260442 1.103251 0.223476
v -1.103251 -0.260442 0.223476
v 0.260442 -1.103251 0.223476
v 1.103251 0.260442 0.223476
v 0.662813 0.919604 0.223476
v -0.919604 0.662813 0.223476
v -0.662813 -0.919604 0.223476
v 0.919604 -0.662813 0.223476
v -0.975326 0.975326 0.223476
v -0.975326 -0.975326 0.223476
v 0.975326 0.975326 0.223476
v 0.975326 -0.975326 0.223476
v -0.000000 1.379320 0.223476
v -1.379320 -0.000000 0.223476
v 0.000000 -1.379320 0.223476
v 1.379320 0.000000 0.223476
v -0.616851 1.233701 0.223476
v -1.233701 -0.616851 0.223476
v 0.616851 -1.233701 0.223476
v 1.233701 0.616851 0.223476
v 0.616850 1.233701 0.223476
v -1.233701 0.616850 0.223476
v -0.616850 -1.233701 0.223476
v 1.233701 -0.616850 0.223476
v -0.806503 1.118962 0.223476
v -1.118962 -0.806503 0.223476
v 0.806503 -1.118962 0.223476
v 1.118962 0.806503 0.223476
v 0.316903 1.342422 0.223476
v -1.342422 0.316903 0.223476
v -0.316903 -1.342422 0.223476
v 1.342422 -0.316903 0.223476
v -0.316903 1.342422 0.223476
v -1.342422 -0.316903 0.223476
v 0.316903 -1.342422 0.223476
v 1.342422 0.316903 0.223476
v 0.806502 1.118962 0.223476
v -1.118962 0.806502 0.223476
v -0.806502 -1.118962 0.223476
v 1.118962 -0.806502 0.223476
v 0.810829 0.000000 0.181527
v -0.000000 0.831285 0.181527
v 0.000000 -0.220283 0.181527
v -0.810829 -0.000000 0.181527
v -0.000000 0.220283 0.181527
v -0.000000 0.500000 0.181527
v 0.000000 -0.831285 0.181527
v 0.000000 -0.500000 0.181527
v -0.250000 -0.500000 0.181527
v -0.769917 -0.509959 0.181527
v -0.500000 -0.500000 0.181527
v -0.500000 -0.220283 0.181527
v -0.509959 -0.769917 0.181527
v -0.250000 0.500000 0.181527
v -0.769917 0.509959 0.181527
v -0.500000 0.500000 0.181527
v -0.509959 0.769917 0.181527
v -0.500000 0.220283 0.181527
v 0.769917 0.509959 0.181527
v 0.250000 0.500000 0.181527
v 0.500000 0.500000 0.181527
v 0.509959 0.769917 0.181527
v 0.500000 0.220283 0.181527
v 0.769917 -0.509959 0.181527
v 0.250000 -0.500000 0.181527
v 0.500000 -0.500000 0.181527
v 0.500000 -0.220283 0.181527
v 0.509959 -0.769917 0.181527
v 0.254979 -0.800601 0.181527
v 0.250000 -0.220283 0.181527
v 0.810829 -0.224670 0.181527
v 0.250000 0.220283 0.181527
v 0.254979 0.800601 0.181527
v 0.720453 0.720453 0.181527
v -0.810829 0.224670 0.181527
v -0.720453 0.720453 0.181527
v -0.254979 0.800601 0.181527
v -0.720453 -0.720453 0.181527
v -0.810829 -0.224670 0.181527
v -0.250000 -0.220283 0.181527
v -0.254979 -0.800601 0.181527
v -0.250000 0.220283 0.181527
v 0.810829 0.224670 0.181527
v 0.720453 -0.720453 0.181527
v -0.662813 0.919604 0.181527
v -0.801558 0.801558 0.181527
v -0.919604 -0.662813 0.181527
v -0.801558 -0.801558 0.181527
v 0.662813 -0.919604 0.181527
v 0.801558 -0.801558 0.181527
v 0.919604 0.662813 0.181527
v 0.801558 0.801558 0.181527
v 0.260442 1.103251 0.181527
v -0.000000 1.133575 0.181527
v -1.103251 0.260442 0.181527
v -1.133575 -0.000000 0.181527
v -0.260442 -1.103251 0.181527
v 0.000000 -1.133575 0.181527
v 1.103251 -0.260442 0.181527
v 1.133575 0.000000 0.181527
v -0.260442 1.103251 0.181527
v -0.506950 1.013900 0.181527
v -1.103251 -0.260442 0.181527
v -1.013900 -0.506950 0.181527
v 0.260442 -1.103251 0.181527
v 0.506950 -1.013900 0.181527
v 1.103251 0.260442 0.181527
v 1.013900 0.506950 0.181527
v 0.662813 0.919604 0.181527
v 0.506950 1.013900 0.181527
v -0.919604 0.662813 0.181527
v -1.013900 0.506950 0.181527
v -0.662813 -0.919604 0.181527
v -0.506950 -1.013900 0.181527
v 0.919604 -0.662813 0.181527
v 1.013900 -0.506950 0.181527
v 0.500000 0.000000 0.181527
v 0.250000 0.000000 0.181527
v -0.000000 -0.000000 0.181527
v -0.250000 -0.000000 0.181527
v -0.500000 -0.000000 0.181527
v -0.801558 0.801558 -0.223476
v -0.801558 -0.801558 -0.223476
v 0.801558 0.801558 -0.223476
v 0.801558 -0.801558 -0.223476
v -0.000000 1.133575 -0.223476
v -1.133575 -0.000000 -0.223476
v 0.000000 -1.133575 -0.223476
v 1.133575 0.000000 -0.223476
v -0.506950 1.013900 -0.223476
v -1.013900 -0.506950 -0.223476
v 0.506950 -1.013900 -0.223476
v 1.013900 0.506950 -0.223476
v 0.506950 1.013900 -0.223476
v -1.013900 0.506950 -0.223476
v -0.506950 -1.013900 -0.223476
v 1.013900 -0.506950 -0.223476
v -0.662813 0.919604 -0.223476
v -0.919604 -0.662813 -0.223476
v 0.662813 -0.919604 -0.223476
v 0.919604 0.662813 -0.223476
v 0.260442 1.103251 -0.223476
v -1.103251 0.260442 -0.223476
v -0.260442 -1.103251 -0.223476
v 1.103251 -0.260442 -0.223476
v -0.260442 1.103251 -0.223476
v -1.103251 -0.260442 -0.223476
v 0.260442 -1.103251 -0.223476
v 1.103251 0.260442 -0.223476
v 0.662813 0.919604 -0.223476
v -0.919604 0.662813 -0.223476
v -0.662813 -0.919604 -0.223476
v 0.919604 -0.662813 -0.223476
v -0.975326 0.975326 -0.223476
v -0.975326 -0.975326 -0.223476
v 0.975326 0.975326 -0.223476
v 0.975326 -0.975326 -0.223476
v -0.000000 1.379320 -0.223476
v -1.379320 -0.000000 -0.223476
v 0.000000 -1.379320 -0.223476
v 1.379320 0.000000 -0.223476
v -0.616851 1.233701 -0.223476
v -1.233701 -0.616851 -0.223476
v 0.616851 -1.233701 -0.223476
v 1.233701 0.616851 -0.223476
v 0.616850 1.233701 -0.223476
v -1.233701 0.616850 -0.223476
v -0.616850 -1.233701 -0.223476
v 1.233701 -0.616850 -0.223476
v -0.806503 1.118962 -0.223476
v -1.118962 -0.806503 -0.223476
v 0.806503 -1.118962 -0.223476
v 1.118962 0.806503 -0.223476
v 0.316903 1.342422 -0.223476
v -1.342422 0.316903 -0.223476
v -0.316903 -1.342422 -0.223476
v 1.342422 -0.316903 -0.223476
v -0.316903 1.342422 -0.223476
v -1.342422 -0.316903 -0.223476
v 0.316903 -1.342422 -0.223476
v 1.342422 0.316903 -0.223476
v 0.806502 1.118962 -0.223476
v -1.118962 0.806502 -0.223476
v -0.806502 -1.118962 -0.223476
v 1.118962 -0.806502 -0.223476
v 0.810829 0.000000 -0.181527
v -0.000000 0.831285 -0.181527
v 0.000000 -0.220283 -0.181527
v -0.810829 -0.000000 -0.181527
v -0.000000 0.220283 -0.181527
v -0.000000 0.500000 -0.181527
v 0.000000 -0.831285 -0.181527
v 0.000000 -0.500000 -0.181527
v -0.250000 -0.500000 -0.181527
v -0.769917 -0.509959 -0.181527
v -0.500000 -0.500000 -0.181527
v -0.500000 -0.220283 -0.181527
v -0.509959 -0.769917 -0.181527
v -0.250000 0.500000 -0.181527
v -0.769917 0.509959 -0.181527
v -0.500000 0.500000 -0.181527
v -0.509959 0.769917 -0.181527
v -0.500000 0.220283 -0.181527
v 0.769917 0.509959 -0.181527
v 0.250000 0.500000 -0.181527
v 0.500000 0.500000 -0.181527
v 0.509959 0.769917 -0.181527
v 0.500000 0.220283 -0.181527
v 0.769917 -0.509959 -0.181527
v 0.250000 -0.500000 -0.181527
v 0.500000 -0.500000 -0.181527
v 0.500000 -0.220283 -0.181527
v 0.509959 -0.769917 -0.181527
v 0.254979 -0.800601 -0.181527
v 0.250000 -0.220283 -0.181527
v 0.810829 -0.224670 -0.181527
v 0.250000 0.220283 -0.181527
v 0.254979 0.800601 -0.181527
v 0.720453 0.720453 -0.181527
v -0.810829 0.224670 -0.181527
v -0.720453 0.720453 -0.181527
v -0.254979 0.800601 -0.181527
v -0.720453 -0.720453 -0.181527
v -0.810829 -0.224670 -0.181527
v -0.250000 -0.220283 -0.181527
v -0.254979 -0.800601 -0.181527
v -0.250000 0.220283 -0.181527
v 0.810829 0.224670 -0.181527
v 0.720453 -0.720453 -0.181527
v -0.662813 0.919604 -0.181527
v -0.801558 0.801558 -0.181527
v -0.919604 -0.662813 -0.181527
v -0.801558 -0.801558 -0.181527
v 0.662813 -0.919604 -0.181527
v 0.801558 -0.801558 -0.181527
v 0.919604 0.662813 -0.181527
v 0.801558 0.801558 -0.181527
v 0.260442 1.103251 -0.181527
v -0.000000 1.133575 -0.181527
v -1.103251 0.260442 -0.181527
v -1.133575 -0.000000 -0.181527
v -0.260442 -1.103251 -0.181527
v 0.000000 -1.133575 -0.181527
v 1.103251 -0.260442 -0.181527
v 1.133575 0.000000 -0.181527
v -0.260442 1.103251 -0.181527
v -0.506950 1.013900 -0.181527
v -1.103251 -0.260442 -0.181527
v -1.013900 -0.506950 -0.181527
v 0.260442 -1.103251 -0.181527
v 0.506950 -1.013900 -0.181527
v 1.103251 0.260442 -0.181527
v 1.013900 0.506950 -0.181527
v 0.662813 0.919604 -0.181527
v 0.506950 1.013900 -0.181527
v -0.919604 0.662813 -0.181527
v -1.013900 0.506950 -0.181527
v -0.662813 -0.919604 -0.181527
v -0.506950 -1.013900 -0.181527
v 0.919604 -0.662813 -0.181527
v 1.013900 -0.506950 -0.181527
v 0.500000 0.000000 -0.181527
v 0.250000 0.000000 -0.181527
v 0.000000 -0.000000 -0.181527
v -0.250000 -0.000000 -0.181527
v -0.500000 -0.000000 -0.181527
vt 0.451646 0.142578
vt 0.531575 0.142901
vt 0.530032 0.156442
vt 0.453113 0.156129
vt 0.373585 0.160882
vt 0.377789 0.173790
vt 0.793818 0.324662
vt 0.816308 0.377413
vt 0.803831 0.381741
vt 0.782246 0.331182
vt 0.763255 0.276498
vt 0.752866 0.284925
vt 0.146250 0.537915
vt 0.146555 0.455394
vt 0.159673 0.456984
vt 0.159381 0.536406
vt 0.163919 0.618564
vt 0.176433 0.614227
vt 0.322467 0.184310
vt 0.328813 0.196259
vt 0.275828 0.216007
vt 0.284015 0.226725
vt 0.255660 0.761893
vt 0.217465 0.719626
vt 0.227861 0.711141
vt 0.264605 0.751709
vt 0.300197 0.797144
vt 0.307266 0.785474
vt 0.186572 0.671463
vt 0.198186 0.664875
vt 0.745923 0.739733
vt 0.705141 0.779065
vt 0.696936 0.768374
vt 0.736085 0.730532
vt 0.779954 0.693907
vt 0.768686 0.686627
vt 0.372072 0.833866
vt 0.376563 0.820978
vt 0.449928 0.852974
vt 0.451431 0.839438
vt 0.725260 0.234287
vt 0.716314 0.244414
vt 0.680982 0.198994
vt 0.673885 0.210604
vt 0.815452 0.619981
vt 0.803012 0.615339
vt 0.834112 0.539934
vt 0.821042 0.538347
vt 0.234977 0.255322
vt 0.244802 0.264548
vt 0.200828 0.301088
vt 0.212086 0.308408
vt 0.609425 0.161880
vt 0.604907 0.174792
vt 0.164935 0.375016
vt 0.177449 0.379675
vt 0.529756 0.852855
vt 0.528248 0.839331
vt 0.607632 0.834360
vt 0.603410 0.821482
vt 0.834356 0.457689
vt 0.821233 0.459238
vt 0.658676 0.810925
vt 0.652291 0.798981
vt 0.788565 0.888410
vt 0.723542 0.932062
vt 0.835271 0.731314
vt 0.892610 0.770106
vt 0.941534 0.667267
vt 0.877233 0.643109
vt 0.103764 0.351986
vt 0.039732 0.327840
vt 0.012864 0.438751
vt 0.080720 0.447113
vt 0.263798 0.854500
vt 0.226319 0.913731
vt 0.326371 0.964435
vt 0.349612 0.897988
vt 0.631766 0.098744
vt 0.655340 0.032581
vt 0.547893 0.004803
vt 0.539609 0.074919
vt 0.101779 0.641268
vt 0.037417 0.665121
vt 0.068966 0.738368
vt 0.128838 0.704092
vt 0.966622 0.556324
vt 0.898750 0.547954
vt 0.351550 0.096656
vt 0.328631 0.030146
vt 0.257780 0.062633
vt 0.290782 0.124519
vt 0.434349 0.990346
vt 0.442224 0.920211
vt 0.878867 0.354625
vt 0.943439 0.330918
vt 0.911997 0.257979
vt 0.851899 0.292066
vt 0.815276 0.234584
vt 0.869297 0.190959
vt 0.816410 0.132096
vt 0.769915 0.184097
vt 0.111329 0.805817
vt 0.165172 0.761943
vt 0.629702 0.898170
vt 0.652933 0.964647
vt 0.690263 0.870221
vt 0.746032 0.832782
vt 0.845370 0.833642
vt 0.794754 0.785808
vt 0.192903 0.106820
vt 0.235137 0.162418
vt 0.186301 0.209312
vt 0.135963 0.161495
vt 0.088688 0.224925
vt 0.145753 0.263716
vt 0.164542 0.864740
vt 0.210812 0.812480
vt 0.755009 0.083210
vt 0.717252 0.142168
vt 0.012751 0.553128
vt 0.080622 0.545213
vt 0.437077 0.004673
vt 0.444564 0.074808
vt 0.966610 0.442549
vt 0.898740 0.450370
vt 0.544922 0.990307
vt 0.537062 0.920178
vt 0.259235 0.685640
vt 0.527517 0.745385
vt 0.462961 0.737563
vt 0.562111 0.431616
vt 0.642189 0.441478
vt 0.633623 0.515379
vt 0.553556 0.505532
vt 0.582829 0.266080
vt 0.662963 0.288218
vt 0.650789 0.367613
vt 0.570716 0.357724
vt 0.672269 0.736093
vt 0.610387 0.743385
vt 0.269843 0.393936
vt 0.355738 0.406112
vt 0.347172 0.480119
vt 0.252355 0.468444
vt 0.308663 0.259097
vt 0.370654 0.251941
vt 0.364278 0.332154
vt 0.287304 0.319610
vt 0.252231 0.621605
vt 0.252316 0.545093
vt 0.338597 0.554144
vt 0.330034 0.628132
vt 0.545046 0.579457
vt 0.625106 0.589295
vt 0.616646 0.663200
vt 0.536595 0.653373
vt 0.398320 0.729669
vt 0.317979 0.707674
vt 0.710882 0.601334
vt 0.693533 0.675598
vt 0.728330 0.526971
vt 0.418778 0.563972
vt 0.410246 0.637929
vt 0.427319 0.489998
vt 0.453632 0.250101
vt 0.518213 0.258058
vt 0.444393 0.342106
vt 0.728361 0.374230
vt 0.728316 0.450550
vt 0.721502 0.310307
vt 0.435864 0.416037
vt 0.481925 0.571717
vt 0.473442 0.645658
vt 0.490448 0.497767
vt 0.498995 0.423828
vt 0.507559 0.349916
vt 0.451646 0.142578
vt 0.453113 0.156129
vt 0.530032 0.156442
vt 0.531575 0.142901
vt 0.373585 0.160882
vt 0.377789 0.173790
vt 0.793818 0.324662
vt 0.782246 0.331182
vt 0.803831 0.381741
vt 0.816308 0.377413
vt 0.763255 0.276498
vt 0.752866 0.284925
vt 0.146250 0.537915
vt 0.159381 0.536406
vt 0.159673 0.456984
vt 0.146555 0.455394
vt 0.163919 0.618564
vt 0.176433 0.614227
vt 0.322467 0.184310
vt 0.328813 0.196259
vt 0.275828 0.216007
vt 0.284015 0.226725
vt 0.255660 0.761893
vt 0.264605 0.751709
vt 0.227861 0.711141
vt 0.217465 0.719626
vt 0.300197 0.797144
vt 0.307266 0.785474
vt 0.186572 0.671463
vt 0.198186 0.664875
vt 0.745923 0.739733
vt 0.736085 0.730532
vt 0.696936 0.768374
vt 0.705141 0.779065
vt 0.779954 0.693907
vt 0.768686 0.686627
vt 0.372072 0.833866
vt 0.376563 0.820978
vt 0.449928 0.852974
vt 0.451431 0.839438
vt 0.725260 0.234287
vt 0.716314 0.244414
vt 0.680982 0.198994
vt 0.673885 0.210604
vt 0.815452 0.619981
vt 0.803012 0.615339
vt 0.834112 0.539934
vt 0.821042 0.538347
vt 0.234977 0.255322
vt 0.244802 0.264548
vt 0.200828 0.301088
vt 0.212086 0.308408
vt 0.609425 0.161880
vt 0.604907 0.174792
vt 0.164935 0.375016
vt 0.177449 0.379675
vt 0.529756 0.852855
vt 0.528248 0.839331
vt 0.607632 0.834360
vt 0.603410 0.821482
vt 0.834356 0.457689
vt 0.821233 0.459238
vt 0.658676 0.810925
vt 0.652291 0.798981
vt 0.259235 0.685640
vt 0.527517 0.745385
vt 0.462961 0.737563
vt 0.562111 0.431616
vt 0.553556 0.505532
vt 0.633623 0.515379
vt 0.642189 0.441478
vt 0.582829 0.266080
vt 0.570716 0.357724
vt 0.650789 0.367613
vt 0.662963 0.288218
vt 0.672269 0.736093
vt 0.610387 0.743385
vt 0.269843 0.393936
vt 0.252355 0.468444
vt 0.347172 0.480119
vt 0.355738 0.406112
vt 0.308663 0.259097
vt 0.287304 0.319610
vt 0.364278 0.332154
vt 0.370654 0.251941
vt 0.252231 0.621605
vt 0.252316 0.545093
vt 0.330034 0.628132
vt 0.338597 0.554144
vt 0.545046 0.579457
vt 0.536595 0.653373
vt 0.616646 0.663200
vt 0.625106 0.589295
vt 0.398320 0.729669
vt 0.317979 0.707674
vt 0.693533 0.675598
vt 0.710882 0.601334
vt 0.728330 0.526971
vt 0.410246 0.637929
vt 0.418778 0.563972
vt 0.427319 0.489998
vt 0.453632 0.250101
vt 0.518213 0.258058
vt 0.444393 0.342106
vt 0.728361 0.374230
vt 0.728316 0.450550
vt 0.721502 0.310307
vt 0.435864 0.416037
vt 0.481925 0.571717
vt 0.473442 0.645658
vt 0.490448 0.497767
vt 0.498995 0.423828
vt 0.507559 0.349916
vn 0.9732 -0.2298 0.0000
vn 1.0000 0.0000 0.0000
vn 0.9022 -0.4313 0.0000
vn 0.5847 0.8112 0.0000
vn 0.4313 0.9022 0.0000
vn 0.7071 0.7071 0.0000
vn -0.2298 -0.9732 0.0000
vn -0.0000 -1.0000 0.0000
vn -0.4313 -0.9022 0.0000
vn 0.8112 -0.5847 0.0000
vn 0.7071 -0.7071 0.0000
vn -0.8112 -0.5847 0.0000
vn -0.7071 -0.7071 0.0000
vn -0.9022 -0.4313 0.0000
vn -0.5847 -0.8112 0.0000
vn -0.5847 0.8112 0.0000
vn -0.7071 0.7071 0.0000
vn -0.4313 0.9022 0.0000
vn -0.9732 -0.2298 0.0000
vn -1.0000 0.0000 0.0000
vn 0.8112 0.5847 0.0000
vn 0.9022 0.4313 0.0000
vn -0.2298 0.9732 0.0000
vn 0.0000 1.0000 0.0000
vn 0.5847 -0.8112 0.0000
vn 0.4313 -0.9022 0.0000
vn 0.9732 0.2298 0.0000
vn 0.2298 -0.9732 0.0000
vn -0.9732 0.2298 0.0000
vn -0.9022 0.4313 0.0000
vn 0.2298 0.9732 0.0000
vn -0.8112 0.5847 0.0000
vn -0.0000 -0.0000 1.0000
vn 0.0000 0.0000 -1.0000
usemtl GoldCoin
s 1
f 22/1/1 6/2/2 120/3/2 119/4/1
f 14/5/3 22/1/1 119/4/1 136/6/3
f 31/7/4 15/8/5 138/9/5 137/10/4
f 2/11/6 31/7/4 137/10/4 112/12/6
f 21/13/7 5/14/8 118/15/8 117/16/7
f 13/17/9 21/13/7 117/16/7 134/18/9
f 30/19/10 14/5/3 136/6/3 135/20/10
f 1/21/11 30/19/10 135/20/10 110/22/11
f 20/23/12 3/24/13 116/25/13 115/26/12
f 12/27/14 20/23/12 115/26/12 132/28/14
f 29/29/15 13/17/9 134/18/9 133/30/15
f 3/24/13 29/29/15 133/30/15 116/25/13
f 19/31/16 4/32/17 114/33/17 113/34/16
f 11/35/18 19/31/16 113/34/16 130/36/18
f 28/37/19 12/27/14 132/28/14 131/38/19
f 8/39/20 28/37/19 131/38/19 124/40/20
f 18/41/21 2/11/6 112/12/6 111/42/21
f 10/43/22 18/41/21 111/42/21 128/44/22
f 27/45/23 11/35/18 130/36/18 129/46/23
f 7/47/24 27/45/23 129/46/23 122/48/24
f 17/49/25 1/21/11 110/22/11 109/50/25
f 9/51/26 17/49/25 109/50/25 126/52/26
f 26/53/27 10/43/22 128/44/22 127/54/27
f 6/2/2 26/53/27 127/54/27 120/3/2
f 25/55/28 9/51/26 126/52/26 125/56/28
f 5/14/8 25/55/28 125/56/28 118/15/8
f 24/57/29 8/39/20 124/40/20 123/58/29
f 16/59/30 24/57/29 123/58/29 140/60/30
f 23/61/31 7/47/24 122/48/24 121/62/31
f 15/8/5 23/61/31 121/62/31 138/9/5
f 32/63/32 16/59/30 140/60/30 139/64/32
f 4/32/17 32/63/32 139/64/32 114/33/17
f 36/65/33 64/66/33 32/63/33 4/32/33
f 188/67/26 43/68/26 59/69/28 204/70/28
f 202/71/23 57/72/23 37/73/24 182/74/24
f 189/75/22 44/76/22 60/77/27 205/78/27
f 203/79/19 58/80/19 38/81/20 183/82/20
f 190/83/5 45/84/5 61/85/4 206/86/4
f 204/70/28 59/69/28 39/87/8 184/88/8
f 191/89/30 46/90/30 62/91/32 207/92/32
f 205/78/27 60/77/27 40/93/2 185/94/2
f 192/95/9 47/96/9 63/97/15 208/98/15
f 179/99/13 34/100/13 50/101/12 195/102/12
f 206/86/4 61/85/4 35/103/6 180/104/6
f 193/105/3 48/106/3 64/66/10 209/107/10
f 181/108/11 36/65/11 51/109/25 196/110/25
f 207/92/32 62/91/32 33/111/17 178/112/17
f 194/113/16 49/114/16 41/115/18 186/116/18
f 180/104/6 35/103/6 52/117/21 197/118/21
f 208/98/15 63/97/15 34/100/13 179/99/13
f 195/102/12 50/101/12 42/119/14 187/120/14
f 182/74/24 37/73/24 53/121/31 198/122/31
f 209/107/10 64/66/10 36/65/11 181/108/11
f 196/110/25 51/109/25 43/68/26 188/67/26
f 183/82/20 38/81/20 54/123/29 199/124/29
f 197/118/21 52/117/21 44/76/22 189/75/22
f 184/88/8 39/87/8 55/125/7 200/126/7
f 198/122/31 53/121/31 45/84/5 190/83/5
f 185/94/2 40/93/2 56/127/1 201/128/1
f 199/124/29 54/123/29 46/90/30 191/89/30
f 186/116/18 41/115/18 57/72/23 202/71/23
f 200/126/7 55/125/7 47/96/9 192/95/9
f 187/120/14 42/119/14 58/80/19 203/79/19
f 98/129/33 115/26/33 116/25/33 133/30/33
f 95/130/33 123/58/33 124/40/33 65/131/33
f 104/132/33 73/133/33 72/134/33 67/135/33
f 103/136/33 74/137/33 75/138/33 76/139/33
f 108/140/33 139/64/33 140/60/33 88/141/33
f 101/142/33 78/143/33 70/144/33 66/145/33
f 100/146/33 79/147/33 80/148/33 81/149/33
f 86/150/33 134/18/33 117/16/33 97/151/33
f 97/151/33 84/152/33 85/153/33 86/150/33
f 66/145/33 118/15/33 125/56/33 101/142/33
f 94/154/33 89/155/33 90/156/33 91/157/33
f 107/158/33 131/38/33 132/28/33 83/159/33
f 89/155/33 93/160/33 92/161/33 90/156/33
f 72/134/33 71/162/33 93/160/33 89/155/33
f 65/131/33 124/40/33 131/38/33 107/158/33
f 67/135/33 72/134/33 89/155/33 94/154/33
f 101/142/33 125/56/33 126/52/33 81/149/33
f 91/157/33 90/156/33 88/141/33 95/130/33
f 84/152/33 96/163/33 87/164/33 85/153/33
f 70/144/33 69/165/33 96/163/33 84/152/33
f 79/147/33 136/6/33 119/4/33 99/166/33
f 99/166/33 119/4/33 120/3/33 68/167/33
f 66/145/33 70/144/33 84/152/33 97/151/33
f 97/151/33 117/16/33 118/15/33 66/145/33
f 100/146/33 135/20/33 136/6/33 79/147/33
f 86/150/33 85/153/33 83/159/33 98/129/33
f 79/147/33 99/166/33 82/168/33 80/148/33
f 77/169/33 138/9/33 121/62/33 105/170/33
f 105/170/33 121/62/33 122/48/33 71/162/33
f 74/137/33 128/44/33 111/42/33 102/171/33
f 102/171/33 137/10/33 138/9/33 77/169/33
f 68/167/33 120/3/33 127/54/33 103/136/33
f 103/136/33 127/54/33 128/44/33 74/137/33
f 81/149/33 80/148/33 78/143/33 101/142/33
f 74/137/33 102/171/33 77/169/33 75/138/33
f 92/161/33 130/36/33 113/34/33 108/140/33
f 71/162/33 122/48/33 129/46/33 93/160/33
f 93/160/33 129/46/33 130/36/33 92/161/33
f 76/139/33 75/138/33 73/133/33 104/132/33
f 73/133/33 105/170/33 71/162/33 72/134/33
f 75/138/33 77/169/33 105/170/33 73/133/33
f 88/141/33 140/60/33 123/58/33 95/130/33
f 78/143/33 106/172/33 69/165/33 70/144/33
f 80/148/33 82/168/33 106/172/33 78/143/33
f 98/129/33 133/30/33 134/18/33 86/150/33
f 85/153/33 87/164/33 107/158/33 83/159/33
f 81/149/33 126/52/33 109/50/33 100/146/33
f 90/156/33 92/161/33 108/140/33 88/141/33
f 83/159/33 132/28/33 115/26/33 98/129/33
f 32/63/33 64/66/33 48/106/33 16/59/33
f 47/96/33 55/125/33 23/61/33 15/8/33
f 23/61/33 55/125/33 39/87/33 7/47/33
f 16/59/33 48/106/33 56/127/33 24/57/33
f 24/57/33 56/127/33 40/93/33 8/39/33
f 37/73/33 57/72/33 25/55/33 5/14/33
f 25/55/33 57/72/33 41/115/33 9/51/33
f 38/81/33 58/80/33 26/53/33 6/2/33
f 26/53/33 58/80/33 42/119/33 10/43/33
f 9/51/33 41/115/33 49/114/33 17/49/33
f 17/49/33 49/114/33 33/111/33 1/21/33
f 7/47/33 39/87/33 59/69/33 27/45/33
f 27/45/33 59/69/33 43/68/33 11/35/33
f 10/43/33 42/119/33 50/101/33 18/41/33
f 18/41/33 50/101/33 34/100/33 2/11/33
f 8/39/33 40/93/33 60/77/33 28/37/33
f 28/37/33 60/77/33 44/76/33 12/27/33
f 11/35/33 43/68/33 51/109/33 19/31/33
f 19/31/33 51/109/33 36/65/33 4/32/33
f 35/103/33 61/85/33 29/29/33 3/24/33
f 29/29/33 61/85/33 45/84/33 13/17/33
f 12/27/33 44/76/33 52/117/33 20/23/33
f 20/23/33 52/117/33 35/103/33 3/24/33
f 1/21/33 33/111/33 62/91/33 30/19/33
f 30/19/33 62/91/33 46/90/33 14/5/33
f 13/17/33 45/84/33 53/121/33 21/13/33
f 21/13/33 53/121/33 37/73/33 5/14/33
f 2/11/33 34/100/33 63/97/33 31/7/33
f 31/7/33 63/97/33 47/96/33 15/8/33
f 14/5/33 46/90/33 54/123/33 22/1/33
f 22/1/33 54/123/33 38/81/33 6/2/33
f 100/146/33 109/50/33 110/22/33 135/20/33
f 102/171/33 111/42/33 112/12/33 137/10/33
f 108/140/33 113/34/33 114/33/33 139/64/33
f 142/173/33 141/174/33 87/164/33 96/163/33
f 94/154/33 91/157/33 141/174/33 142/173/33
f 91/157/33 95/130/33 65/131/33 141/174/33
f 143/175/33 142/173/33 96/163/33 69/165/33
f 94/154/33 142/173/33 143/175/33 67/135/33
f 144/176/33 143/175/33 69/165/33 106/172/33
f 67/135/33 143/175/33 144/176/33 104/132/33
f 145/177/33 144/176/33 106/172/33 82/168/33
f 104/132/33 144/176/33 145/177/33 76/139/33
f 68/167/33 145/177/33 82/168/33 99/166/33
f 76/139/33 145/177/33 68/167/33 103/136/33
f 141/174/33 65/131/33 107/158/33 87/164/33
f 201/128/1 56/127/1 48/106/3 193/105/3
f 167/178/1 264/179/1 265/180/2 151/181/2
f 159/182/3 281/183/3 264/179/1 167/178/1
f 176/184/4 282/185/4 283/186/5 160/187/5
f 147/188/6 257/189/6 282/185/4 176/184/4
f 166/190/7 262/191/7 263/192/8 150/193/8
f 158/194/9 279/195/9 262/191/7 166/190/7
f 175/196/10 280/197/10 281/183/3 159/182/3
f 146/198/11 255/199/11 280/197/10 175/196/10
f 165/200/12 260/201/12 261/202/13 148/203/13
f 157/204/14 277/205/14 260/201/12 165/200/12
f 174/206/15 278/207/15 279/195/9 158/194/9
f 148/203/13 261/202/13 278/207/15 174/206/15
f 164/208/16 258/209/16 259/210/17 149/211/17
f 156/212/18 275/213/18 258/209/16 164/208/16
f 173/214/19 276/215/19 277/205/14 157/204/14
f 153/216/20 269/217/20 276/215/19 173/214/19
f 163/218/21 256/219/21 257/189/6 147/188/6
f 155/220/22 273/221/22 256/219/21 163/218/21
f 172/222/23 274/223/23 275/213/18 156/212/18
f 152/224/24 267/225/24 274/223/23 172/222/23
f 162/226/25 254/227/25 255/199/11 146/198/11
f 154/228/26 271/229/26 254/227/25 162/226/25
f 171/230/27 272/231/27 273/221/22 155/220/22
f 151/181/2 265/180/2 272/231/27 171/230/27
f 170/232/28 270/233/28 271/229/26 154/228/26
f 150/193/8 263/192/8 270/233/28 170/232/28
f 169/234/29 268/235/29 269/217/20 153/216/20
f 161/236/30 285/237/30 268/235/29 169/234/29
f 168/238/31 266/239/31 267/225/24 152/224/24
f 160/187/5 283/186/5 266/239/31 168/238/31
f 177/240/32 284/241/32 285/237/30 161/236/30
f 149/211/17 259/210/17 284/241/32 177/240/32
f 181/108/34 149/211/34 177/240/34 209/107/34
f 243/242/34 278/207/34 261/202/34 260/201/34
f 240/243/34 210/244/34 269/217/34 268/235/34
f 249/245/34 212/246/34 217/247/34 218/248/34
f 248/249/34 221/250/34 220/251/34 219/252/34
f 253/253/34 233/254/34 285/237/34 284/241/34
f 246/255/34 211/256/34 215/257/34 223/258/34
f 245/259/34 226/260/34 225/261/34 224/262/34
f 231/263/34 242/264/34 262/191/34 279/195/34
f 242/264/34 231/263/34 230/265/34 229/266/34
f 211/256/34 246/255/34 270/233/34 263/192/34
f 239/267/34 236/268/34 235/269/34 234/270/34
f 252/271/34 228/272/34 277/205/34 276/215/34
f 234/270/34 235/269/34 237/273/34 238/274/34
f 217/247/34 234/270/34 238/274/34 216/275/34
f 210/244/34 252/271/34 276/215/34 269/217/34
f 212/246/34 239/267/34 234/270/34 217/247/34
f 246/255/34 226/260/34 271/229/34 270/233/34
f 236/268/34 240/243/34 233/254/34 235/269/34
f 229/266/34 230/265/34 232/276/34 241/277/34
f 215/257/34 229/266/34 241/277/34 214/278/34
f 224/262/34 244/279/34 264/179/34 281/183/34
f 244/279/34 213/280/34 265/180/34 264/179/34
f 211/256/34 242/264/34 229/266/34 215/257/34
f 242/264/34 211/256/34 263/192/34 262/191/34
f 245/259/34 224/262/34 281/183/34 280/197/34
f 231/263/34 243/242/34 228/272/34 230/265/34
f 224/262/34 225/261/34 227/281/34 244/279/34
f 222/282/34 250/283/34 266/239/34 283/186/34
f 250/283/34 216/275/34 267/225/34 266/239/34
f 219/252/34 247/284/34 256/219/34 273/221/34
f 247/284/34 222/282/34 283/186/34 282/185/34
f 213/280/34 248/249/34 272/231/34 265/180/34
f 248/249/34 219/252/34 273/221/34 272/231/34
f 226/260/34 246/255/34 223/258/34 225/261/34
f 219/252/34 220/251/34 222/282/34 247/284/34
f 237/273/34 253/253/34 258/209/34 275/213/34
f 216/275/34 238/274/34 274/223/34 267/225/34
f 238/274/34 237/273/34 275/213/34 274/223/34
f 221/250/34 249/245/34 218/248/34 220/251/34
f 218/248/34 217/247/34 216/275/34 250/283/34
f 220/251/34 218/248/34 250/283/34 222/282/34
f 233/254/34 240/243/34 268/235/34 285/237/34
f 223/258/34 215/257/34 214/278/34 251/285/34
f 225/261/34 223/258/34 251/285/34 227/281/34
f 243/242/34 231/263/34 279/195/34 278/207/34
f 230/265/34 228/272/34 252/271/34 232/276/34
f 226/260/34 245/259/34 254/227/34 271/229/34
f 235/269/34 233/254/34 253/253/34 237/273/34
f 228/272/34 243/242/34 260/201/34 277/205/34
f 177/240/34 161/236/34 193/105/34 209/107/34
f 192/95/34 160/187/34 168/238/34 200/126/34
f 168/238/34 152/224/34 184/88/34 200/126/34
f 161/236/34 169/234/34 201/128/34 193/105/34
f 169/234/34 153/216/34 185/94/34 201/128/34
f 182/74/34 150/193/34 170/232/34 202/71/34
f 170/232/34 154/228/34 186/116/34 202/71/34
f 183/82/34 151/181/34 171/230/34 203/79/34
f 171/230/34 155/220/34 187/120/34 203/79/34
f 154/228/34 162/226/34 194/113/34 186/116/34
f 162/226/34 146/198/34 178/112/34 194/113/34
f 152/224/34 172/222/34 204/70/34 184/88/34
f 172/222/34 156/212/34 188/67/34 204/70/34
f 155/220/34 163/218/34 195/102/34 187/120/34
f 163/218/34 147/188/34 179/99/34 195/102/34
f 153/216/34 173/214/34 205/78/34 185/94/34
f 173/214/34 157/204/34 189/75/34 205/78/34
f 156/212/34 164/208/34 196/110/34 188/67/34
f 164/208/34 149/211/34 181/108/34 196/110/34
f 180/104/34 148/203/34 174/206/34 206/86/34
f 174/206/34 158/194/34 190/83/34 206/86/34
f 157/204/34 165/200/34 197/118/34 189/75/34
f 165/200/34 148/203/34 180/104/34 197/118/34
f 146/198/34 175/196/34 207/92/34 178/112/34
f 175/196/34 159/182/34 191/89/34 207/92/34
f 158/194/34 166/190/34 198/122/34 190/83/34
f 166/190/34 150/193/34 182/74/34 198/122/34
f 147/188/34 176/184/34 208/98/34 179/99/34
f 176/184/34 160/187/34 192/95/34 208/98/34
f 159/182/34 167/178/34 199/124/34 191/89/34
f 167/178/34 151/181/34 183/82/34 199/124/34
f 245/259/34 280/197/34 255/199/34 254/227/34
f 247/284/34 282/185/34 257/189/34 256/219/34
f 253/253/34 284/241/34 259/210/34 258/209/34
f 287/286/34 241/277/34 232/276/34 286/287/34
f 239/267/34 287/286/34 286/287/34 236/268/34
f 236/268/34 286/287/34 210/244/34 240/243/34
f 288/288/34 214/278/34 241/277/34 287/286/34
f 239/267/34 212/246/34 288/288/34 287/286/34
f 289/289/34 251/285/34 214/278/34 288/288/34
f 212/246/34 249/245/34 289/289/34 288/288/34
f 290/290/34 227/281/34 251/285/34 289/289/34
f 249/245/34 221/250/34 290/290/34 289/289/34
f 213/280/34 244/279/34 227/281/34 290/290/34
f 221/250/34 248/249/34 213/280/34 290/290/34
f 286/287/34 232/276/34 252/271/34 210/244/34
f 178/112/17 33/111/17 49/114/16 194/113/16

Binary file not shown.

After

Width:  |  Height:  |  Size: 402 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 518 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

View File

@ -5,6 +5,7 @@
#include <iostream> #include <iostream>
#include <cmath> #include <cmath>
#include <stdlib.h> #include <stdlib.h>
#include <vector>
#include "Shader_Loader.h" #include "Shader_Loader.h"
#include "Render_Utils.h" #include "Render_Utils.h"
@ -50,6 +51,8 @@ namespace models {
Core::RenderContext trashcan; Core::RenderContext trashcan;
Core::RenderContext cap; Core::RenderContext cap;
Core::RenderContext aquarium; Core::RenderContext aquarium;
Core::RenderContext coin;
Core::RenderContext book;
} }
namespace textures { namespace textures {
GLuint floorTexture; GLuint floorTexture;
@ -71,6 +74,8 @@ namespace textures {
GLuint smallerWallTexture; GLuint smallerWallTexture;
GLuint trashcanTexture; GLuint trashcanTexture;
GLuint capTexture; GLuint capTexture;
GLuint coinTexture;
GLuint bookTexture;
} }
GLuint depthMapFBO; GLuint depthMapFBO;
@ -83,6 +88,13 @@ GLuint programDepth;
GLuint programSkybox; GLuint programSkybox;
bool flashOff = false; bool flashOff = false;
bool onBed = false;
bool onChair = false;
bool coinShow[4] = { true , true , true , true };
glm::vec3 coinPos[4] = { glm::vec3(0.f,0.f,0.f),glm::vec3(0.f,0.f,0.f), glm::vec3(0.f,0.f,0.f), glm::vec3(0.f,0.f,0.f) };
std::vector<glm::vec3>values{ glm::vec3(1.f,1.25f,0.8f),glm::vec3(1.f,1.25f,1.3f),glm::vec3(-1.5f,1.25f,1.3f),glm::vec3(1.f,1.25f,-1.3f),glm::vec3(-1.5f,1.25f,-1.3f) ,glm::vec3(-0.5f,1.25f,0.3f),glm::vec3(-2.f,1.25f,-1.1f), glm::vec3(1.5f,1.25f,-1.f), glm::vec3(-2.3f,1.25f,0.f),glm::vec3(-2.3f,1.25f,-1.3f) };
double prevTime = 0.0; double prevTime = 0.0;
double currTime = 0.0; double currTime = 0.0;
@ -164,6 +176,27 @@ unsigned int skyboxIndices[] =
6, 2, 3 6, 2, 3
}; };
void Los() //chooses coins spawns
{
srand(time(NULL));
int i = 1 + rand() % values.size();
//std::cout << i;
coinPos[0] = values[i - 1];
values.erase(values.begin() + i - 1);
i = 1 + rand() % values.size();
//std::cout << i;
coinPos[1] = values[i - 1];
values.erase(values.begin() + i - 1);
i = 1 + rand() % values.size();
//std::cout << i;
coinPos[2] = values[i - 1];
values.erase(values.begin() + i - 1);
i = 1 + rand() % values.size();
//std::cout << i;
coinPos[3] = values[i - 1];
values.erase(values.begin() + i - 1);
}
float lastTime = -1.f; float lastTime = -1.f;
float deltaTime = 0.f; float deltaTime = 0.f;
@ -506,6 +539,58 @@ void renderScene(GLFWwindow* window)
0.4f, 0.4f,
0.0f 0.0f
); );
model = glm::mat4(1.0f) * glm::translate(glm::vec3(-1.5f, 1.23f, 1.75f)) * glm::scale(glm::vec3(0.01f));
model = glm::rotate(model, glm::radians(-90.0f), glm::vec3(0.0, 1.0, 0.0));
drawObjectPBR(models::book, model,
textures::bookTexture,
0.4f,
0.0f
);
model = glm::mat4(1.0f) * glm::translate(coinPos[0]) * glm::scale(glm::vec3(0.05f));
model = glm::rotate(model, glm::radians(90.0f) * time, glm::vec3(0.0, 1.0, 0.0));
if (coinShow[0] == true)
{
drawObjectPBR(models::coin, model,
textures::coinTexture,
0.4f,
0.0f
);
}
//glm::vec3(1.f, 1.25f, 1.30f);
model = glm::mat4(1.0f) * glm::translate(coinPos[1]) * glm::scale(glm::vec3(0.05f));
model = glm::rotate(model, glm::radians(90.0f) * time, glm::vec3(0.0, 1.0, 0.0));
if (coinShow[1] == true)
{
drawObjectPBR(models::coin, model,
textures::coinTexture,
0.4f,
0.0f
);
}
//glm::vec3(1.f, 1.25f, -1.30f);
model = glm::mat4(1.0f) * glm::translate(coinPos[2]) * glm::scale(glm::vec3(0.05f));
model = glm::rotate(model, glm::radians(90.0f) * time, glm::vec3(0.0, 1.0, 0.0));
if (coinShow[2] == true)
{
drawObjectPBR(models::coin, model,
textures::coinTexture,
0.4f,
0.0f
);
}
//glm::vec3(-1.5f, 1.25f, -1.30f);
model = glm::mat4(1.0f) * glm::translate(coinPos[3]) * glm::scale(glm::vec3(0.05f));
model = glm::rotate(model, glm::radians(90.0f) * time, glm::vec3(0.0, 1.0, 0.0));
if (coinShow[3] == true)
{
drawObjectPBR(models::coin, model,
textures::coinTexture,
0.4f,
0.0f
);
}
model = glm::mat4(1.0f); model = glm::mat4(1.0f);
model = glm::scale(glm::vec3(0.4f)) * glm::translate(glm::vec3(0.0f, 3.6f, 0.0f)); model = glm::scale(glm::vec3(0.4f)) * glm::translate(glm::vec3(0.0f, 3.6f, 0.0f));
drawObjectPBR(models::ceilingLamp, model, drawObjectPBR(models::ceilingLamp, model,
@ -540,12 +625,15 @@ void renderScene(GLFWwindow* window)
// glm::translate(cameraPos + 1.5 * cameraDir + cameraUp * -0.5f) * inveseCameraRotrationMatrix * glm::eulerAngleY(glm::pi<float>()), // glm::translate(cameraPos + 1.5 * cameraDir + cameraUp * -0.5f) * inveseCameraRotrationMatrix * glm::eulerAngleY(glm::pi<float>()),
// glm::vec3(0.3, 0.3, 0.5) // glm::vec3(0.3, 0.3, 0.5)
// ); // );
if ((!onBed) && (!onChair))
{
drawObjectPBR(shipContext, drawObjectPBR(shipContext,
glm::translate(spaceshipPos) * specshipCameraRotrationMatrix * glm::eulerAngleY(glm::pi<float>()) * glm::scale(glm::vec3(0.03f)), glm::translate(spaceshipPos) * specshipCameraRotrationMatrix * glm::eulerAngleY(glm::pi<float>()) * glm::scale(glm::vec3(0.03f)),
textures::flashlightTexture, textures::flashlightTexture,
0.0, 0.0,
0.0 0.0
); );
}
//drawObjectPBR(models::aquarium, //drawObjectPBR(models::aquarium,
//glm::mat4(), //glm::mat4(),
//textures::flashlightTexture, //textures::flashlightTexture,
@ -736,6 +824,8 @@ void init(GLFWwindow* window)
loadModelToContext("./models2/trashcan/trashcan.obj", models::trashcan); loadModelToContext("./models2/trashcan/trashcan.obj", models::trashcan);
loadModelToContext("./models2/cap/Cap.obj", models::cap); loadModelToContext("./models2/cap/Cap.obj", models::cap);
loadModelToContext("./models/aquarium1.obj", models::aquarium); loadModelToContext("./models/aquarium1.obj", models::aquarium);
loadModelToContext("./models2/coin/Coin.obj", models::coin);
loadModelToContext("./models2/books/Vintage_books/export/Vintage_books.obj", models::book);
textures::floorTexture = Core::LoadTexture("./models2/room/wood.png"); textures::floorTexture = Core::LoadTexture("./models2/room/wood.png");
textures::flashlightTexture = Core::LoadTexture("./models/FlashlightTexture.png"); textures::flashlightTexture = Core::LoadTexture("./models/FlashlightTexture.png");
@ -757,6 +847,8 @@ void init(GLFWwindow* window)
textures::laptopTexture = Core::LoadTexture("./models2/laptop/10119_Laptop_Computer_v1_Diffuse_SG.jpg"); textures::laptopTexture = Core::LoadTexture("./models2/laptop/10119_Laptop_Computer_v1_Diffuse_SG.jpg");
textures::trashcanTexture = Core::LoadTexture("./models2/trashcan/trashcan.jpg"); textures::trashcanTexture = Core::LoadTexture("./models2/trashcan/trashcan.jpg");
textures::capTexture = Core::LoadTexture("./models2/cap/Cap.jpg"); textures::capTexture = Core::LoadTexture("./models2/cap/Cap.jpg");
textures::coinTexture = Core::LoadTexture("./models2/coin/Coin_Gold_albedo.png");
textures::bookTexture = Core::LoadTexture("./models2/books/Vintage_books/Textures/OldBookLeather_Diffuse.jpg");
} }
void shutdown(GLFWwindow* window) void shutdown(GLFWwindow* window)
@ -774,6 +866,28 @@ void processInput(GLFWwindow* window)
if (glfwGetKey(window, GLFW_KEY_ESCAPE) == GLFW_PRESS) { if (glfwGetKey(window, GLFW_KEY_ESCAPE) == GLFW_PRESS) {
glfwSetWindowShouldClose(window, true); glfwSetWindowShouldClose(window, true);
} }
/*if (glfwGetKey(window, GLFW_KEY_W) == GLFW_PRESS)
spaceshipPos += glm::vec3(cameraDir.x, 0.0f, cameraDir.z) * moveSpeed;
if (glfwGetKey(window, GLFW_KEY_S) == GLFW_PRESS)
spaceshipPos -= glm::vec3(cameraDir.x, 0.0f, cameraDir.z) * moveSpeed;
if (glfwGetKey(window, GLFW_KEY_D) == GLFW_PRESS)
spaceshipPos += spaceshipSide * moveSpeed;
if (glfwGetKey(window, GLFW_KEY_A) == GLFW_PRESS)
spaceshipPos -= spaceshipSide * moveSpeed;
if (glfwGetKey(window, GLFW_KEY_Q) == GLFW_PRESS)
spaceshipPos += spaceshipUp * moveSpeed;
if (glfwGetKey(window, GLFW_KEY_E) == GLFW_PRESS)
spaceshipPos -= spaceshipUp * moveSpeed;
if (glfwGetKey(window, GLFW_KEY_Z) == GLFW_PRESS)
spaceshipDir = glm::vec3(glm::eulerAngleY(angleSpeed) * glm::vec4(spaceshipDir, 0));
if (glfwGetKey(window, GLFW_KEY_X) == GLFW_PRESS)
spaceshipDir = glm::vec3(glm::eulerAngleY(-angleSpeed) * glm::vec4(spaceshipDir, 0));
if (glfwGetKey(window, GLFW_KEY_4) == GLFW_PRESS)
flashOff = false;
if (glfwGetKey(window, GLFW_KEY_5) == GLFW_PRESS)
flashOff = true;*/
if ((!onBed) && (!onChair))
{
if (glfwGetKey(window, GLFW_KEY_W) == GLFW_PRESS) if (glfwGetKey(window, GLFW_KEY_W) == GLFW_PRESS)
spaceshipPos += glm::vec3(cameraDir.x, 0.0f, cameraDir.z) * moveSpeed; spaceshipPos += glm::vec3(cameraDir.x, 0.0f, cameraDir.z) * moveSpeed;
if (glfwGetKey(window, GLFW_KEY_S) == GLFW_PRESS) if (glfwGetKey(window, GLFW_KEY_S) == GLFW_PRESS)
@ -794,6 +908,53 @@ void processInput(GLFWwindow* window)
flashOff = false; flashOff = false;
if (glfwGetKey(window, GLFW_KEY_5) == GLFW_PRESS) if (glfwGetKey(window, GLFW_KEY_5) == GLFW_PRESS)
flashOff = true; flashOff = true;
if ((glfwGetKey(window, GLFW_KEY_7) == GLFW_PRESS) && (spaceshipPos.x > 0.520976f) && (spaceshipPos.x < 2.88460f) && (spaceshipPos.z > -1.766063f) && (spaceshipPos.z < 0.234780f))
{
onBed = true;
if (flashOff == false)
flashOff = true;
}
if ((glfwGetKey(window, GLFW_KEY_7) == GLFW_PRESS) && (spaceshipPos.x > -1.788921f) && (spaceshipPos.x < -0.850460f) && (spaceshipPos.z > -2.18765f) && (spaceshipPos.z < -0.823819f))
{
onChair = true;
if (flashOff == false)
flashOff = true;
}
cameraPos = spaceshipPos - 0.6 * spaceshipDir + glm::vec3(0, 1, 0) * 0.26f;
cameraDir = spaceshipDir;
for (int i = 0; i < 4; i++)
{
if (abs(coinPos[i].x - spaceshipPos.x) + (abs(coinPos[i].y - spaceshipPos.y)) + abs(coinPos[i].z - spaceshipPos.z) < 0.25f)
{
coinShow[i] = false;
}
}
}
else if (onBed)
{
cameraPos = glm::vec3(1.611680f, 0.987579f, -1.657322f);
cameraDir = glm::vec3(-0.004837f, 0.978933f, 0.204055f);
if (glfwGetKey(window, GLFW_KEY_8) == GLFW_PRESS)
{
onBed = false;
if (flashOff == true)
flashOff = false;
}
}
else if (onChair)
{
cameraPos = glm::vec3(-1.249430f, 1.142591f, -0.706420f);
cameraDir = glm::vec3(-0.032018f, -0.177466f, -0.983601f);
if (glfwGetKey(window, GLFW_KEY_8) == GLFW_PRESS)
{
onChair = false;
if (flashOff == true)
flashOff = false;
}
}
if (glfwGetKey(window, GLFW_KEY_6) == GLFW_RELEASE) if (glfwGetKey(window, GLFW_KEY_6) == GLFW_RELEASE)
{ {
glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_HIDDEN); glfwSetInputMode(window, GLFW_CURSOR, GLFW_CURSOR_HIDDEN);
@ -819,8 +980,8 @@ void processInput(GLFWwindow* window)
cameraPos = spaceshipPos - 0.6 * spaceshipDir + glm::vec3(0, 1, 0) * 0.26f; /*cameraPos = spaceshipPos - 0.6 * spaceshipDir + glm::vec3(0, 1, 0) * 0.26f;
cameraDir = spaceshipDir; cameraDir = spaceshipDir;*/
if (glfwGetKey(window, GLFW_KEY_1) == GLFW_PRESS) if (glfwGetKey(window, GLFW_KEY_1) == GLFW_PRESS)
exposition -= 0.05; exposition -= 0.05;
@ -838,6 +999,7 @@ void processInput(GLFWwindow* window)
// funkcja jest glowna petla // funkcja jest glowna petla
void renderLoop(GLFWwindow* window) { void renderLoop(GLFWwindow* window) {
Los();
while (!glfwWindowShouldClose(window)) while (!glfwWindowShouldClose(window))
{ {
currTime = glfwGetTime(); currTime = glfwGetTime();