When i zoom out an object in an OGL view, this object will disappear at a certain distance suddenly.Because this object is so big, when it disappears it even occupies 1/5 of the view.I don’t want the object to disappear so suddenly, and want it to disappear when it’s much smaller.
Originally posted by Attach:
[b]When i zoom out an object in an OGL view, this object will disappear at a certain distance suddenly.Because this object is so big, when it disappears it even occupies 1/5 of the view.I don’t want the object to disappear so suddenly, and want it to disappear when it’s much smaller.
What shall i do?
Thanks.[/b]
you want to modify your far clipping plane. the far clipping plane is the distance into the screen at which your objects are clipped. it seems that your far clipping plane has to shallow a value for your app.
Your near clip plane should not be set to zero. Make sure that your near clip plane is pushed out a ways. Try 1.0 at least in your case, but push it out more if you can get away with it. This is very important for features like fog and zbuffering.