Increasing viewing depth

Ok, I have a 3d box when I move it away 10 OpenGL distance units, it disappears and yet, it’s big enough on the screen that I would like to see it get smaller and smaller until my monitor can’t display it.

I would be happy if I knew how to set it to draw at 20 OpenGl distance units away.

cam

the last two parameters of the glPerspective call set the near and far clipping planes.

increase the value of the last parameter (far clip) in glPerspective to push your far clip plane back.

Hi! :slight_smile:
I had the same question as you did and posted it!

Read this post and it will get you the answer:
http://www.opengl.org/discussion_boards/cgi_directory/ultimatebb.cgi?ubb=get_topic;f=2;t=019933

Hope it’s useful! :slight_smile: