Blender Git Commit Log

Git Commits -> Revision 9b867b1

Revision 9b867b1 by Brecht Van Lommel (cycles-x)
June 8, 2021, 15:24 (GMT)
Cycles X: restore baking of more passes

The idea is to map baking settings to render passes. Still various passes
missing. In particular AO and Shadow (also missing for regular render) and
the complete filter options for light baking.

Some details of the implementation:
* The pass accessor can now read e.g. roughness into an RGBA image, which
is convenient for baking.
* ShaderEvalType is now only used for displace/background baking, no longer
part of the kernel and much smaller. Instead passes are used.
* Roughness render pass added for baking.
* Normals are baked as -1..1 just like the render pass, the Blender side
was updated since it expected 0..1 previously.

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

Commit Details:

Full Hash: 9b867b1cf707ae393f02ea6d17da3e376d8ef7da
Parent Commit: a59c17e
Lines Changed: +229, -637

15 Modified Paths:

/intern/cycles/blender/addon/ui.py (+0, -1) (Diff)
/intern/cycles/blender/blender_session.cpp (+78, -75) (Diff)
/intern/cycles/integrator/pass_accessor.cpp (+48, -3) (Diff)
/intern/cycles/integrator/shader_eval.cpp (+0, -7) (Diff)
/intern/cycles/integrator/shader_eval.h (+5, -0) (Diff)
/intern/cycles/kernel/integrator/integrator_init_from_bake.h (+66, -35) (Diff)
/intern/cycles/kernel/kernel_bake.h (+0, -391) (Diff)
/intern/cycles/kernel/kernel_passes.h (+13, -9) (Diff)
/intern/cycles/kernel/kernel_shader.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_types.h (+5, -39) (Diff)
/intern/cycles/render/bake.cpp (+1, -45) (Diff)
/intern/cycles/render/bake.h (+1, -3) (Diff)
/intern/cycles/render/film.cpp (+4, -4) (Diff)
/intern/cycles/render/pass.cpp (+4, -9) (Diff)
/source/blender/render/intern/bake.c (+3, -15) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021