Page 1 of 1

Orthographic View

Posted: Fri Jun 29, 2007 5:25 pm
by sebi707
i want to add a orthographic view to my project but i couldn't make it working! i tried code from this topic but it didn't works.

sorry for my bad english

Posted: Fri Jun 29, 2007 5:45 pm
by vitek
What have you tried? This should work...

Code: Select all

   core::matrix4 m;
   m.buildProjectionMatrixOrthoLH(80.f, 80.f, .1f, 1000.f);

   camera->setProjectionMatrix(m);
Travis