Jump to content
  • Advertisement
Sign in to follow this  
AlexSud

Adjusting clipping planes

This topic is 3153 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hey everyone. I've been stucked with the following issue lately.The thing is that i can not find a way to adjust "default" clipping planes."Default" planes mean the ones created by the glFrustum function.The reason i'm trying to do it is because somehow i decided to use scaling when the camera is "rolling" on and off an object.So when i'm too close object does not seem to fit in the viewing volume and it got clipped.I tried to redefine glFrustum on the fly but it didn't work...Any suggestions are greatly appreciated:) P.S:small video demonstrating what i mean,both yellow and blue objects got clipped when the camera is approaching them: http://yfrog.us/56videoclip10z

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!