Blender Git Commit Log
Git Commits -> Revision 60e2e10
Revision 60e2e10 by Clément Foucault (temp-eeveelightcache) June 28, 2018, 13:53 (GMT) |
Eevee: LightCache: Write LightCache to File This patch does a few things for it to work. - It port some eevee's struct to DNA for them to be saved in the file. - Readback the result of the lightcache baking and store it in the scene struct. For small scenes, it's okayish to keep the data around in memory but a better approach would be to save it to disk. A standard reflection probe is more than 6 MB of data. Diffuse irradiance grids are relatively small compared to this. |
Commit Details:
Full Hash: 60e2e1058d6faf51fd95849440c9d8b5bcea2391
Parent Commit: ce6cc75
Lines Changed: +408, -186
13 Modified Paths:
/source/blender/blenloader/intern/readfile.c (+48, -3) (Diff)
/source/blender/blenloader/intern/writefile.c (+36, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_lightcache.c (+158, -57) (Diff)
/source/blender/draw/engines/eevee/eevee_lightcache.h (+7, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+39, -38) (Diff)
/source/blender/draw/engines/eevee/eevee_lookdev.c (+6, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+3, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+33, -72) (Diff)
/source/blender/draw/engines/eevee/eevee_screen_raytrace.c (+2, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_volumes.c (+2, -2) (Diff)
/source/blender/makesdna/DNA_lightprobe_types.h (+72, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -1) (Diff)
/source/blender/blenloader/intern/writefile.c (+36, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_engine.c (+1, -1) (Diff)
/source/blender/draw/engines/eevee/eevee_lightcache.c (+158, -57) (Diff)
/source/blender/draw/engines/eevee/eevee_lightcache.h (+7, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_lightprobes.c (+39, -38) (Diff)
/source/blender/draw/engines/eevee/eevee_lookdev.c (+6, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_materials.c (+3, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+33, -72) (Diff)
/source/blender/draw/engines/eevee/eevee_screen_raytrace.c (+2, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_volumes.c (+2, -2) (Diff)
/source/blender/makesdna/DNA_lightprobe_types.h (+72, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+1, -1) (Diff)