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();
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
Binary file not shown.
After Width: | Height: | Size: 48 KiB |
Binary file not shown.
Loading…
Reference in New Issue