Orthographic View

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
sebi707
Posts: 18
Joined: Tue Feb 20, 2007 4:19 pm

Orthographic View

Post 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
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post 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
Post Reply