sbayeta

09-11-2005, 09:53 AM

Hi,

I need to render some objects using a special projection, that is a like ortho in the x direction and like perspective in the y direction.

I've been looking for the math behind this issue, and I finally arrived to this page

http://www.codeguru.com/Cpp/misc/misc/math/article.php/c10123/

which gives a nice introduction.

I thought it would be easy to come up with the matrix I need, but I was wrong. The equations used to derive each matrix (ortho an persperctive) differ in the w coordinate, so I can't figure out how to mix them.

Can anyone give me some insight on this, or suggest o book or link where to look?

Thanks a lot

I need to render some objects using a special projection, that is a like ortho in the x direction and like perspective in the y direction.

I've been looking for the math behind this issue, and I finally arrived to this page

http://www.codeguru.com/Cpp/misc/misc/math/article.php/c10123/

which gives a nice introduction.

I thought it would be easy to come up with the matrix I need, but I was wrong. The equations used to derive each matrix (ortho an persperctive) differ in the w coordinate, so I can't figure out how to mix them.

Can anyone give me some insight on this, or suggest o book or link where to look?

Thanks a lot