Jose Ricardo

12-08-2009, 06:06 PM

Hi People,

I'm having some trouble trying to understand how to manage working with projection matrix, specifically with orthographic one.

For example, using one the X axis, I set my left coord to -11 and my right coord to -1. In this case, I will have -(l + r)/2 => -(-11 - 1) / 2 => 12/6 => 6.

How is it possible if I've defined a volume of 10? Is there a rule that the right coord must be positive?

Thanks!

I'm having some trouble trying to understand how to manage working with projection matrix, specifically with orthographic one.

For example, using one the X axis, I set my left coord to -11 and my right coord to -1. In this case, I will have -(l + r)/2 => -(-11 - 1) / 2 => 12/6 => 6.

How is it possible if I've defined a volume of 10? Is there a rule that the right coord must be positive?

Thanks!