Maniphest T61273

Cycles Aperture size does not properly translate to corresponding f-stop value
Closed, Duplicate

Assigned To
None
Authored By
Thomas Androxman (ThomasAn)
Feb 7 2019, 9:15 AM
Tags
  • BF Blender
Subscribers
Brecht Van Lommel (brecht)
Jacques Lucke (JacquesLucke)
Thomas Androxman (ThomasAn)

Description

(Model space set to unit length in centimeters and unit scale to 0.1)
(Camera: 50mm, with focal point locked to the same object each time)

For the exact same scene at the exact same camera view with the exact same camera settings test two scenarios:

a) switch aperture type to "radius" and set to 2cm (this corresponds to an f-stop of 50mm/20mm=2.5)

b) switch aperture type to "f-stop" and set it to 2.5 (as calculated above)

Observation:
(a) and (b) should render the same, but they do not.

Event Timeline

Thomas Androxman (ThomasAn) created this task.Feb 7 2019, 9:15 AM
Jacques Lucke (JacquesLucke) added a subscriber: Jacques Lucke (JacquesLucke).Feb 7 2019, 11:04 AM

Can you upload the .blend file please?

Jacques Lucke (JacquesLucke) lowered the priority of this task from 90 to 50.Feb 7 2019, 11:23 AM

ok, looks like the unit scale is not taken into account for the aperture radius.

Jacques Lucke (JacquesLucke) added a subscriber: Brecht Van Lommel (brecht).Feb 7 2019, 11:33 AM

@Brecht Van Lommel (brecht), looks like to solve that blender_camera_from_object needs access to the unit scale somehow. Or we need RNA functions that take care of the unit scale (that could make sense since the unit system is integrated into the RNA properties).

Brecht Van Lommel (brecht) closed this task as a duplicate of T48352: Blender GLSL viewport DoF doesn't respect world scale.Feb 7 2019, 11:48 AM

We have another task for this. However the rule is that changing the unit scale does not affect rendered results at all, it is purely a display thing.