THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 27/05/2003 at 13:13, xxxxxxxx wrote:
Cinema 4D Version: 6.3
Platform: Windows ;
Language(s) : C++ ;
How is the FOV field calculated in Cinema? I need it for the RIB exporter Im making. Up until now I have just been using the default 53.13, but now I need to knowhow to calculate this field. Thanks.
On 28/05/2003 at 00:07, xxxxxxxx wrote:
This is pretty easy to derive if you draw an isosceles triangle where the base is the aperture width and the height is the focal length. Then the angle opposite to the base is the FOV.
So the FOV is 2 * arctan((aperture / 2) / focal).
On 09/02/2008 at 04:56, xxxxxxxx wrote:
And what if I want to set a camera's FOV?
Can I just put a value into CAMERAOBJECT_FOV?
Thanks for tips!
Hm, I just tried. Since CAMERAOBJECT_FOV is only virtual, setting a value here doesn't do anything.
But I really have to set the FocalLength according to a specific FOV value. How does this work?[/edit]
On 09/02/2008 at 05:14, xxxxxxxx wrote:
Ooohh, stupid. Just found something that may work:
Another nice topic in plugin café