Code: Select all
irr::core::matrix4 OrthoMatrix;
OrthoMatrix.buildProjectionMatrixOrthoLH(320.0f,240.0f,300.0f,-300.0f);
camera = smgr->addCameraSceneNode(Center,irr::core::vector3df(-14.0f,14.0f,-14.0f),irr::core::vector3df(0,0,0));
camera->setProjectionMatrix(OrthoMatrix);
Now, with the SVN version of Irrlicht, and the new 1.2, the behavior is quite different. Some polygons in the meshes are simply not rendered at all, the models appear "cut" and some are not even rendered at all. I know there were a few changes in the implementation of matrix4 recently and I wonder if that's what's causing the problem? And how to solve it?