Blender Git Loki

Git Commits -> Revision 50782df

Revision 50782df by Brecht Van Lommel (master)
April 5, 2021, 12:05 (GMT)
Render: faster animation and re-rendering with Persistent Data

For Cycles, when enabling the Persistent Data option, the full render data
will be preserved from frame-to-frame in animation renders and between
re-renders of the scene. This means that any modifier evaluation, BVH
building, OpenGL vertex buffer uploads, etc, can be done only once for
unchanged objects. This comes at an increased memory cost.

Previously there option was named Persistent Images and had a more limited
impact on render time and memory.

When using multiple view layers, only data from a single view layer is
preserved to keep memory usage somewhat under control. However objects
shared between view layers are preserved, and so this can speedup such
renders as well, even single frame renders.

For Eevee and Workbench this option is not available, however these engines
will now always reuse the depsgraph for animation and multiple view layers.
This can significantly speed up rendering.

These engines do not support sharing the depsgraph between re-renders, due
to technical issues regarding OpenGL contexts. Support for this could be added
if those are solved, see the code comments for details.

Commit Details:

Full Hash: 50782df42586a5a038cad11530714371edaa5cd4
Parent Commit: 3fa5808
Lines Changed: +229, -125

17 Modified Paths:

/intern/cycles/blender/addon/ui.py (+1, -1) (Diff)
/intern/cycles/blender/blender_session.cpp (+10, -26) (Diff)
/intern/cycles/blender/blender_sync.cpp (+5, -9) (Diff)
/intern/cycles/render/scene.cpp (+1, -1) (Diff)
/intern/cycles/render/scene.h (+2, -4) (Diff)
/source/blender/blenkernel/intern/scene.c (+7, -8) (Diff)
/source/blender/depsgraph/DEG_depsgraph.h (+14, -10) (Diff)
/source/blender/depsgraph/intern/depsgraph.cc (+5, -2) (Diff)
/source/blender/depsgraph/intern/depsgraph.h (+3, -0) (Diff)
/source/blender/depsgraph/intern/depsgraph_tag.cc (+15, -2) (Diff)
/source/blender/editors/render/render_update.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_render.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+7, -5) (Diff)
/source/blender/render/intern/engine.c (+109, -22) (Diff)
/source/blender/render/intern/pipeline.c (+37, -24) (Diff)
/source/blender/render/RE_engine.h (+2, -0) (Diff)
/source/blender/render/RE_pipeline.h (+7, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021