Blender Git Loki

Git Commits -> Revision 7440807

Revision 7440807 by Brecht Van Lommel (cycles-x)
August 5, 2021, 15:16 (GMT)
Cycles X: refactor passes to work like other nodes in the scene

* Alloc through create_node<Pass>() instead of Pass::add().
* Handle auto adding of passes, duplicate removal and other validation
in update_pass(), afterwards.
* Centralize pass logic from scene.cpp and pass.cpp into film.cpp.
* Move logic for which passes are read/written or noisy/denoised out
of Blender sync.
* Eliminate or change DENOISED to NOISY passes when denoising is
disabled, rather than using is_written().

This makes some upcoming changes easier, and is also a step towards
a better Cycles public API.

Differential Revision: https://developer.blender.org/D12118

Commit Details:

Full Hash: 7440807beb9eb1e65b9285fd005ae11a6a4ecf71
Parent Commit: 1a6b480
Lines Changed: +405, -402

17 Modified Paths:

/intern/cycles/blender/blender_session.cpp (+3, -1) (Diff)
/intern/cycles/blender/blender_sync.cpp (+46, -45) (Diff)
/intern/cycles/graph/node.cpp (+1, -1) (Diff)
/intern/cycles/graph/node.h (+1, -1) (Diff)
/intern/cycles/integrator/pass_accessor.cpp (+2, -2) (Diff)
/intern/cycles/integrator/pass_accessor.h (+1, -1) (Diff)
/intern/cycles/render/bake.cpp (+1, -4) (Diff)
/intern/cycles/render/bake.h (+1, -1) (Diff)
/intern/cycles/render/buffers.cpp (+6, -6) (Diff)
/intern/cycles/render/buffers.h (+1, -1) (Diff)
/intern/cycles/render/film.cpp (+262, -67) (Diff)
/intern/cycles/render/film.h (+16, -6) (Diff)
/intern/cycles/render/pass.cpp (+22, -147) (Diff)
/intern/cycles/render/pass.h (+9, -39) (Diff)
/intern/cycles/render/scene.cpp (+24, -74) (Diff)
/intern/cycles/render/scene.h (+7, -4) (Diff)
/intern/cycles/render/session.cpp (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021