So what is happening is, with the orthogonal camera, my object sometime disappear. it seems to happen on orthogonal angle as you can see in the screenshot.
here is how my camera and my scene node are created:
Code: Select all
irr::core::matrix4 matrix;
matrix.buildProjectionMatrixOrthoLH(width, height, 1.0f, 1000000);
m_smgr->getActiveCamera()->setProjectionMatrix(matrix,true);
m_smgr->getActiveCamera()->setFarValue(1000000);
m_smgr->getActiveCamera()->setAspectRatio(width/height);
Code: Select all
scene::ISceneNode* cube = m_smgr->addCubeSceneNode(20,m_smgr->getRootSceneNode(),-1,cubePos);

and here it disappear

this happens for all object, i just did a real simple test.
Does anyone have an idea of what the problem could be ?
Thanks