[Bf-committers] F-Stop

Jeroen Bakker j.bakker at atmind.nl
Sun May 17 09:47:13 CEST 2015


Hi all,

Well the defocus node has a setting no_zbuf. this option is used to 
determine if it needs to preprocess the z input. When no_zbuf is set, 
the fstop and active camera settings are not used at all. When it is 
turned off the fstop is read from the node and the active camera 
distance, lens and sensor are used to preprocess the input zbuffer.

Currently when we need to set the fstop we also need the camera, 
otherwise the missing values will be set to some defaults. (some even 
uninitialized with a possible division by zero in the 
ConvertDepthToRadiusOperation).

We could add an option to select the actual scene where to get the 
camera from or when no scene is selected the user could set the options 
inside the node (distance, fstop, lens, sensor). When the scene is set, 
these are read from the active camera of that specific scene. The 
interactive part is still guaranteed. The UI could also be cleaned up a 
bit by only showing the options that are used by the algorithm.

Jeroen

On 05/12/2015 12:18 PM, Ejner Fergo wrote:
> As I see it, the f-stop value in the defocus node has nothing to do with
> what f-stop is in Cycles (and in reality). This value in the defocus node
> is a purely creative tool, and as such should stay, but the name should
> change to "focal blur" so it is not confused with the concept and mechanism
> of f-stop, IMHO.
>
> On Tue, May 12, 2015 at 7:10 AM, Knapp <magick.crow at gmail.com> wrote:
>
>> Is it not so that you set it in cycles and then live with the results but
>> in the compositor you can change it real time and see the results? I would
>> not want to loose the interactive aspect.
>>
>> On Mon, May 11, 2015 at 11:55 PM, Sergey Sharybin <sergey.vfx at gmail.com>
>> wrote:
>>
>>> I'm not sure how you can drop F-Stop from the defocus node. it's not
>>> guaranteed that render scene is used for compositing, meaning different
>>> value might be needed.
>>>
>>> On Tue, May 12, 2015 at 2:27 AM, Antony Riakiotakis <kalast at gmail.com>
>>> wrote:
>>>
>>>
>> --
>> Douglas E Knapp
>>
>> Massage in Gelsenkirchen-Buer:
>> http://douglas.bespin.org/tcm/ztab1.htm
>> Please link to me and trade links with me!
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-committers
>>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers
>



More information about the Bf-committers mailing list