View Full Version : Increasing viewing depth
02-01-2006, 06:17 AM
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.
02-01-2006, 06:53 AM
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.
02-02-2006, 04:06 AM
I had the same question as you did and posted it!
Read this post and it will get you the answer:
Hope it's useful! :)
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.