Diagonal field of view

Hi all,

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

-Pieter

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:

Hi,

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.

Pieter

1 Like