Diagonal field of view

Hi all,

Can someone help me out with a formula for calculating the camera’s diagonal field of view.


Hi @Pieter,

I don’t have code in place, but given the camera aspect ratio and the verical fov (which you can get from the camera component) I think with some trigonometry you can find the diagonal fov:


Thanks for your quick reply - I had seen that site as it was referenced in other fora as well.
I had trouble implementing it though and there were even mentions that the code includes an approximation.

Nevertheless, I brushed up my trigonometry and I think I got it to work.


1 Like