[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [28243] trunk/blender/source/blender: move camera lens/angle conversion to BLI_math

Matt Ebb matt at mke3.net
Sat Apr 17 14:50:06 CEST 2010


On Sat, Apr 17, 2010 at 6:55 PM, Campbell Barton <ideasman42 at gmail.com> wrote:

> Log Message:
> -----------
> move camera lens/angle conversion to BLI_math

Hi, one of the reasons for making those functions was so we can also
migrate to proper camera lens units (rather than blender's completely
arbitrary 'lens' parameter), with the formula taking into
consideration film back size and focus point, both of which will also
contribute to the final FOV. In this case it's dependent on a few
inputs belonging to the camera data. Anyway, this might be able to
still work in blenlib either way (would need more inputs/flags
though), but i just wanted to explain the intention here too.

cheers,

Matt


More information about the Bf-committers mailing list