The code is the same as in the native mel script (AEcameraTemplateCommon.mel) that converts camera's focal length to fov :
Code: Select all
float $fov = (0.5 * $aperture) / ($focal * 0.03937);
$fov = 2.0 * atan ($fov);
$fov = 57.29578 * $fov;
Default camera's horizontal aperture is 1.417 (x0.945 for vertical) ... and does not correspond to an existing preset like imax or a 35mm film, but might be a 36mm x 24mm.
In maya, the focal length is the attribute attached to a camera (mm), and fov 'is more like' a simple displayed information in the attribute editor.
That doesn't seems to match the octane's fov calculation.
Hope that helps.
F
Win XP x64 | Q6600 2.40GHz | 8Go | GTX470 1.28Go // Win 7 x64 | I7 Q740 1.73Ghz | 6Go | GTX460m 1.5Go