PDA

View Full Version : prespective projection



alneam
08-03-2012, 05:32 PM
hello...
I have a question that how can i make a projection for (x,y,z) => (x,y) manualy, using mathematic equations, to represent { glVertex3f(x,y,z) } function in 2D world using glvertex2f(x,y) ???
thanks in advance

Kophay
08-03-2012, 07:15 PM
This explains how to construct the matrix manually

http://www.cse.wustl.edu/~kjg/cse131/Labs/lab8/PerspectiveProjection.pdf