next step: draw each model with it's own texture,
added new example mesh
This commit is contained in:
parent
b9903e593b
commit
0fd3a7f9c8
@ -20,25 +20,7 @@ int main(int argc, char** argv)
|
||||
else
|
||||
scene = OpenGLController::getInstance();
|
||||
|
||||
|
||||
goto openGL;
|
||||
|
||||
try {
|
||||
Object obj("..\\Release\\Msh\\cubeTex.msh");
|
||||
}
|
||||
catch (std::invalid_argument e)
|
||||
{
|
||||
std::cout << e.what() << std::endl;
|
||||
}
|
||||
|
||||
system("pause");
|
||||
|
||||
|
||||
return 0;
|
||||
|
||||
openGL:
|
||||
|
||||
scene->loadMsh("..\\Release\\Msh\\multipleModels.msh");
|
||||
scene->loadMsh("..\\Release\\Msh\\multiModTex.msh");
|
||||
|
||||
do {
|
||||
scene->updateScene();
|
||||
|
BIN
Release/Msh/128x128Braun.tga
Normal file
BIN
Release/Msh/128x128Braun.tga
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
BIN
Release/Msh/128x128Grau.tga
Normal file
BIN
Release/Msh/128x128Grau.tga
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
BIN
Release/Msh/128x128Gruen.tga
Normal file
BIN
Release/Msh/128x128Gruen.tga
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
BIN
Release/Msh/128x128Rot.tga
Normal file
BIN
Release/Msh/128x128Rot.tga
Normal file
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
BIN
Release/Msh/multiModTex.msh
Normal file
BIN
Release/Msh/multiModTex.msh
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user