zooming

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?

Thanks.

translate on the z axis using glTranslatef

Ok, thanks a lot.

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

Thanks again, I have solved the problems finally. :cool: