Blender Git Loki

Git Commits -> Revision c14925b

Revision c14925b by Dalai Felinto (master)
February 20, 2018, 14:03 (GMT)
Proper implementation of compositor support for Draw Manager

We need to move the render result logic outside the render engine code.

It makes no sense for Eevee/Clay/... to have to re-implement the render resilt
creation logic. Beside the original implementation really got it wrong, by
ignoring the different render layers needed for the final render.

Finally, there is no need to re-create the logic for views. So this was also
fixed.

Note 1: This will break still if the depsgraph of the needed view layers is not
updated / created. We need to address this separately. For now if users want
to test this, just show each view layer in the viewport at least once.

Note 2: We are still getting depsgraph from scene and creating if needed.
`BKE_scene_get_depsgraph(scene, view_layer, true);` according to Sergey we need
to move the render depsgraph for the Render struct instead. I will do it
separately as well.

Commit Details:

Full Hash: c14925bddf9bb446e4b8435d2fa0530b2d0b31b8
Parent Commit: a16c0eb
Lines Changed: +50, -49

5 Modified Paths:

/source/blender/draw/engines/eevee/eevee_engine.c (+5, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+3, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_render.c (+14, -28) (Diff)
/source/blender/draw/intern/draw_manager.c (+27, -15) (Diff)
/source/blender/draw/intern/DRW_render.h (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021