Camera vertical FOV

   3077   1   1
User Avatar
Member
24 posts
Joined: 10月 2014
Offline
Hi,

How can I set the vertical FOV directly in Houdini? I need the camera to match a game engine's camera that has no film back or aperture values, and simply relies on a vertical FOV (horizontal changes depending on aspect, while vertical is fixed - the opposite of Houdini's).

I'm aware of the formulas here:http://www.sidefx.com/docs/houdini/ref/cameralenses.html [www.sidefx.com]
However, I'm terrible at math, and just can't figure out how to move the “focal” variable out of the atan() function… I know it's probably really basic, but I can't figure it out!… :-(

Thanks, any help appreciated!
User Avatar
Member
385 posts
Joined: 11月 2016
Offline
Unless I'm mistaken, you'd get: focal = apy /(2*tan(fovy/2))

Hope that helps!
  • Quick Links