Blender Git Commit Log

Git Commits -> Revision 1a43e08

Revision 1a43e08 by Clément Foucault (master)
July 10, 2018, 13:31 (GMT)
Eevee: LightCache: Initial Implementation

This separate probe rendering from viewport rendering, making possible to
run the baking in another thread (non blocking and faster).

The baked lighting is saved in the blend file. Nothing needs to be
recomputed on load.

There is a few missing bits / bugs:
- Cache cannot be saved to disk as a separate file, it is saved in the DNA
for now making file larger and memory usage higher.
- Auto update only cubemaps does update the grids (bug).
- Probes cannot be updated individually (considered as dynamic).
- Light Cache cannot be (re)generated during render.

Commit Details:

Full Hash: 1a43e081873415754950766edaddad220adf67bc
Parent Commit: 97f90d4
Lines Changed: +2722, -1348

2 Added Paths:

/source/blender/draw/engines/eevee/eevee_lightcache.c (+1141, -0) (View)
/source/blender/draw/engines/eevee/eevee_lightcache.h (+59, -0) (View)

35 Modified Paths:

/release/scripts/startup/bl_ui/properties_render.py (+34, -0) (Diff)
/source/blender/blenkernel/intern/scene.c (+15, -0) (Diff)
/source/blender/blenloader/CMakeLists.txt (+1, -0) (Diff)
/source/blender/blenloader/intern/readblenentry.c (+6, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+95, -1) (Diff)
/source/blender/blenloader/intern/readfile.h (+3, -0) (Diff)
/source/blender/blenloader/intern/versioning_280.c (+7, -0) (Diff)
/source/blender/blenloader/intern/writefile.c (+36, -0) (Diff)
/source/blender/depsgraph/intern/eval/deg_eval_copy_on_write.cc (+18, -0) (Diff)
/source/blender/draw/CMakeLists.txt (+2, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_data.c (+18, -9) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+11, -5) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+705, -1191) (Diff)
/source/blender/draw/engines/eevee/eevee_lights.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_lookdev.c (+54, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+4, -6) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+73, -79) (Diff)
/source/blender/draw/engines/eevee/eevee_render.c (+21, -13) (Diff)
/source/blender/draw/engines/eevee/eevee_screen_raytrace.c (+2, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_volumes.c (+2, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_cube_display_frag.glsl (+10, -7) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_cube_display_vert.glsl (+33, -16) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_grid_display_frag.glsl (+11, -3) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_grid_display_vert.glsl (+26, -9) (Diff)
/source/blender/draw/engines/eevee/shaders/lightprobe_lib.glsl (+1, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl (+8, -3) (Diff)
/source/blender/editors/render/render_intern.h (+3, -0) (Diff)
/source/blender/editors/render/render_ops.c (+3, -0) (Diff)
/source/blender/editors/render/render_shading.c (+181, -0) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+23, -0) (Diff)
/source/blender/makesdna/DNA_lightprobe_types.h (+72, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+9, -0) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+32, -0) (Diff)
/source/blender/windowmanager/WM_api.h (+1, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021