straight perspective

excuse me for my english, I’m not sure of the word used for the kind of perspective I want.
So I made a quick picture :
I want the perspective in red, not the one in black. Is it possible and how to do it ? (I tried to put 0° in gluPerspective() but it doesn’t work)

(edit) I drawed the perspective from the side so you can see what I mean, but I want it from the front (i.e. a transparent cube will render as a square, the backface exactly the same dimension as the frontface, not smaller)

That’s orthographic projection, and the function you want it glOrtho.

Thanks for the reply, that is exactly what I needed.