Jump to content
  • Advertisement
Sign in to follow this  
Starfox

OpenGL Focal length vs far plane distance

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

In 3D rendering (OpenGL specifically if that makes a difference), what's the difference between a perspective camera's focal length (denoted as e where e = 1 / tan(FoVAngle / 2) ) and the distance to the far plane F?

Share this post


Link to post
Share on other sites
Advertisement

The field of view (directly related to the focal length) is the horizontal and vertical angle of the view volume, and the far clip plane is how far away you can see objects. The two are totally unrelated and you can change either one without affecting the other. The field of view is what you change when you, for example, zoom in on an object to get a closeup view of it from a distance.

Edited by Brother Bob

Share this post


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

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!