add two fish models

This commit is contained in:
s452746 2021-12-27 14:41:00 +01:00
parent 7af54405c3
commit 5c9ddf6a8c
16 changed files with 33193 additions and 2 deletions

View File

@ -1 +1,4 @@
 grafika_projekt.vcxproj -> C:\Users\sanan\source\repos\GRK-Projekt\Debug\grafika_projekt.exe
 main.cpp
C:\Users\sanan\source\repos\GRK-Projekt\grafika_projekt\src\main.cpp(112,10): warning C4244: "=": konwersja z "int" do "float", możliwa utrata danych
C:\Users\sanan\source\repos\GRK-Projekt\grafika_projekt\src\main.cpp(113,10): warning C4244: "=": konwersja z "int" do "float", możliwa utrata danych
grafika_projekt.vcxproj -> C:\Users\sanan\source\repos\GRK-Projekt\Debug\grafika_projekt.exe

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

View File

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,13 @@
# Blender MTL File: 'fish.blend'
# Material Count: 1
newmtl Material
Ns 96.078431
Ka 1.000000 1.000000 1.000000
Kd 0.800000 0.800000 0.800000
Ks 0.050000 0.050000 0.050000
Ke 0.000000 0.000000 0.000000
Ni 1.000000
d 1.000000
illum 2
map_Kd fish_texture.png

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

View File

@ -258,7 +258,7 @@ void init()
glEnable(GL_DEPTH_TEST);
skyboxProgram = shaderLoader.CreateProgram((char *) "shaders/skybox.vert", (char *) "shaders/skybox.frag");
cubemapTexture = loadCubemap();
loadModelToContext("models/Blank.obj", fishContext);
initSkybox();
}