THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 13/05/2007 at 09:42, xxxxxxxx wrote:
Cinema 4D Version: 9.6+
Platform: Windows ; Mac ; Mac OSX ;
Language(s) : C++ ;
i need to calculate the focal, aperture for a raycam.
I see that i have 2 value to get it:
zoom and scale.
The camera scale, this is the screen scale, including focal length, aperture etc.
Any help to calculate the focal and aperture from the scale vector?
On 14/05/2007 at 02:50, xxxxxxxx wrote:
From what I can see you can get only the Field Of View from the RayCamera scale.
field of view = arctan(xres/scale.x/2)*2
the field of view contains the aperture and the focal length
field of view = arctan(aperture/focal/2)*2
the scale.x and scale.y ratio is the pixel aspect ratio
Otherwise couldn't you get focal length and aperture by accessing the RayCamera's link parameter?
On 14/05/2007 at 02:54, xxxxxxxx wrote:
i can't access to link camera because will not work if i render a viewport without a camera