PDA

View Full Version : glOrtho



driver
02-27-2013, 08:44 PM
hi

i am a little confused about the z parameters used in glOrtho.

I often see z go from -1 to 1
glOrtho(0,3000,3000, 0,-1, 1);

But doesn't this force the z vertices to be between -1 and 1 in order to be drawn.

Would something like this get drawn using the above glOrtho definition?
glVertex3f(0, 2000, 1500);

thanks