View Full Version : zooming

01-10-2005, 09:50 AM
Hi, I am very new to OpenGL. I have drew one images. I want to zoom in to the image same as camera where if I walk closer to the object, the object will become nearer and larger in my clipping area. How can I achieve this in OpenGL?


01-10-2005, 10:03 AM
translate on the z axis using glTranslatef

01-10-2005, 10:09 AM
Ok, thanks a lot.

I will go to look for the information now. :)

01-10-2005, 10:29 AM
Thanks again, I have solved the problems finally. :cool: