From 146ed67d5591e0058f24c30c81044b413cd66de4 Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Wed, 27 Aug 2014 10:51:50 +0200 Subject: Cycles Aperture Ratio - option to produce anamorphic bokeh Thanks for Aldo Zang for the help with the fix for the panorama/fisheye depth of field calculation and the overall math. Reviewed By: sergey, dingto Subscribers: juicyfruit, gregzaal, #cycles, dingto, matray Differential Revision: https://developer.blender.org/D753 --- intern/cycles/blender/addon/properties.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'intern/cycles/blender/addon/properties.py') diff --git a/intern/cycles/blender/addon/properties.py b/intern/cycles/blender/addon/properties.py index b4a1b10f8b4..59e60a9eef1 100644 --- a/intern/cycles/blender/addon/properties.py +++ b/intern/cycles/blender/addon/properties.py @@ -544,6 +544,13 @@ class CyclesCameraSettings(bpy.types.PropertyGroup): subtype='ANGLE', default=0, ) + cls.aperture_ratio = FloatProperty( + name="Aperture Ratio", + description="Distortion to simulate anamorphic lens bokeh", + min=0.01, soft_min=1.0, soft_max=2.0, + default=1.0, + precision=4, + ) cls.panorama_type = EnumProperty( name="Panorama Type", description="Distortion to use for the calculation", -- cgit v1.2.3