Cycles/Eevee: unify depth of field settings for cameras
authorJeroen Bakker <j.bakker@atmind.nl>
Fri, 17 May 2019 14:57:31 +0000 (16:57 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Fri, 17 May 2019 15:59:26 +0000 (17:59 +0200)
commitbc3139d79226896cf6c2b0813a1188eda70fad09
treee5c7f1f878b4769def10e2ddbc75aacebda4afd5
parent043299ab69ca47a42fc8ca4f629727f8a6a2dd31
Cycles/Eevee: unify depth of field settings for cameras

There is now a checkbox to enable/disable depth of field per camera. For Eevee
this replace the scene level setting. For Cycles there is now only an F-Stop
value, no longer a Radius.

Existing files are converted based on Cycles or Eevee being set in the scene.

Differential Revision: https://developer.blender.org/D4882
28 files changed:
intern/cycles/blender/addon/properties.py
intern/cycles/blender/addon/ui.py
intern/cycles/blender/blender_camera.cpp
release/scripts/startup/bl_ui/properties_data_camera.py
release/scripts/startup/bl_ui/properties_render.py
source/blender/alembic/intern/abc_camera.cc
source/blender/blenkernel/BKE_blender_version.h
source/blender/blenkernel/BKE_camera.h
source/blender/blenkernel/intern/camera.c
source/blender/blenkernel/intern/library_query.c
source/blender/blenloader/intern/readfile.c
source/blender/blenloader/intern/versioning_280.c
source/blender/blenloader/intern/versioning_cycles.c
source/blender/depsgraph/intern/builder/deg_builder_relations.cc
source/blender/draw/engines/eevee/eevee_depth_of_field.c
source/blender/draw/engines/gpencil/gpencil_shader_fx.c
source/blender/draw/engines/workbench/workbench_effect_dof.c
source/blender/editors/include/ED_view3d.h
source/blender/editors/space_view3d/view3d_draw.c
source/blender/editors/space_view3d/view3d_gizmo_camera.c
source/blender/makesdna/DNA_camera_types.h
source/blender/makesdna/DNA_scene_types.h
source/blender/makesdna/intern/makesdna.c
source/blender/makesrna/RNA_access.h
source/blender/makesrna/intern/rna_camera.c
source/blender/makesrna/intern/rna_scene.c
source/blender/python/gpu/gpu_py_offscreen.c
tests/python/eevee_render_tests.py