display all models from a mesh,
problem, apply different model matrices for each model, solution give a list of all models to ogl controller, where they are handled, next steps: find solution for wrong rotation + draw ALL models instead of only the first
This commit is contained in:
@@ -28,7 +28,7 @@ openGL:
|
||||
|
||||
OpenGLController *scene = OpenGLController::getInstance();
|
||||
|
||||
scene->loadMsh("..\\Release\\Msh\\cubeTex.msh");
|
||||
scene->loadMsh("..\\Release\\Msh\\cubeTrans.msh");
|
||||
|
||||
do {
|
||||
scene->updateScene();
|
||||
|
||||
Reference in New Issue
Block a user