Blender Git Loki
Git Commits -> Revision 7e61e59
Revision 7e61e59 by Jeroen Bakker (master) September 11, 2019, 10:19 (GMT) |
Cycles: Display RenderPass in Viewport This change allows the user to select a renderpass in the 3d viewport. Added support for external renderers to extend the `View3DShading` struct. This way Blender doesn't need to know the features an external render engine wants to support. Note that the View3DShading is also available in the scene->display.shading; although this is supported, it does not make sense for render engines to put something here as it is really scene/workbench related. Currently cycles assumes that it always needs to calculate the combined pass; it ignores the `pass_flag` in KernelFilm. We could optimize this but that was not in scope of this change Reviewed By: brecht Differential Revision: https://developer.blender.org/D5689 |
Commit Details:
Full Hash: 7e61e597253f3ca75f2fb86a57212ca750ffbbe8
Parent Commit: d4f8bc8
Lines Changed: +330, -61
20 Modified Paths:
/intern/cycles/blender/addon/properties.py (+54, -0) (Diff)
/intern/cycles/blender/addon/ui.py (+20, -0) (Diff)
/intern/cycles/blender/blender_camera.cpp (+2, -0) (Diff)
/intern/cycles/blender/blender_sync.cpp (+9, -3) (Diff)
/intern/cycles/blender/blender_sync.h (+1, -1) (Diff)
/intern/cycles/blender/blender_viewport.cpp (+36, -0) (Diff)
/intern/cycles/blender/blender_viewport.h (+10, -0) (Diff)
/intern/cycles/kernel/kernel_film.h (+75, -25) (Diff)
/intern/cycles/kernel/kernel_types.h (+8, -0) (Diff)
/intern/cycles/render/buffers.h (+0, -1) (Diff)
/intern/cycles/render/film.cpp (+39, -5) (Diff)
/intern/cycles/render/film.h (+2, -1) (Diff)
/intern/cycles/render/session.cpp (+22, -22) (Diff)
/intern/cycles/render/session.h (+3, -3) (Diff)
/source/blender/blenkernel/intern/scene.c (+5, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+12, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+10, -0) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+6, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+14, -0) (Diff)
/intern/cycles/blender/addon/ui.py (+20, -0) (Diff)
/intern/cycles/blender/blender_camera.cpp (+2, -0) (Diff)
/intern/cycles/blender/blender_sync.cpp (+9, -3) (Diff)
/intern/cycles/blender/blender_sync.h (+1, -1) (Diff)
/intern/cycles/blender/blender_viewport.cpp (+36, -0) (Diff)
/intern/cycles/blender/blender_viewport.h (+10, -0) (Diff)
/intern/cycles/kernel/kernel_film.h (+75, -25) (Diff)
/intern/cycles/kernel/kernel_types.h (+8, -0) (Diff)
/intern/cycles/render/buffers.h (+0, -1) (Diff)
/intern/cycles/render/film.cpp (+39, -5) (Diff)
/intern/cycles/render/film.h (+2, -1) (Diff)
/intern/cycles/render/session.cpp (+22, -22) (Diff)
/intern/cycles/render/session.h (+3, -3) (Diff)
/source/blender/blenkernel/intern/scene.c (+5, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+12, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+10, -0) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+6, -0) (Diff)
/source/blender/makesdna/DNA_view3d_types.h (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_space.c (+14, -0) (Diff)