Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

boxdot3

Camera Clipping planes

This topic is 5800 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

How would i go about calculating the clipping planes for my camera? Should i start with just vectors going in the six directions, rotate the top, bottom, right and left fov/2 degrees? And then find the different rotations of the camera, and rotate it again? the variables i have are FOV, Camera Pos, and Lookat Pos. Any help would be greatly appreciated. Thank you simon

Share this post


Link to post
Share on other sites
Advertisement
Yeah you''re basically on the right track, but if you''re using OpenGL or D3D, you might want to look at this article, which explains how to extract these planes from your API.

Share this post


Link to post
Share on other sites

  • 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!