View Full Version : DirectX, help!!! How an Ortho W-Friendly Projection Matrix must look???

04-02-2001, 01:35 AM
When I activate a W Buffer with a GeForce using a perspective projection matrix the results I get reading W buffer are OK, but in the case of Orthogonal projection it fails. I am afraid that it is due to the fact that my ortho projection matrix is not compliant but I can not find How an Ortho W-Friendly Projection Matrix must look.
Thanks in advance

04-02-2001, 04:02 AM
I don't why it is doing that, from what I know an ortho projection doesn't need a w-buffer since the z values are equally spread from the near and far plane.

The W-buffer is only useful for perspective because it gives you a more equal spreading in the z values

04-02-2001, 06:00 AM
And you posted this in the OpenGL Forum because....???????

04-02-2001, 07:26 AM
I thought that was obvious LordKronos... must be just me then.. http://www.opengl.org/discussion_boards/ubb/smile.gif