Field of View

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 17/03/2005 at 04:59, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.5 
Platform:   Windows  ; Mac  ;  Mac OSX  ; 
Language(s) :   C.O.F.F.E.E  ;

---------
How can I calculate the field of view value of the camera from the Focal Lenght and the Aperture Width?
Wil the result be in degrees or radians.

Rui Batista

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 17/03/2005 at 06:41, xxxxxxxx wrote:

Ok, never mind ;-)

aperture=camera_container->GetFloat(CAMERAOBJECT_APERTURE);
focus=camera_container->GetFloat(CAMERAOBJECT_FOCUS);
fov=2*atan(aperture/2/focus);

Nothing like doing drawings and remembering the old school trigonometry ;-)

Rui Batista