From b9998541e193b1f30728fc034c7a10daae183a08 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Tue, 30 Aug 2022 17:20:00 +0200 Subject: Fix part of T100626: Cycles not using tiles for baking Leading to excessive memory usage compared to Blender 2.93. There's still some avoidable memory usage remaining, due to the full float buffer in the new image editor drawing and not loading the cached EXR from disk in tiles. Main difficulty was handling multi-image baking and disk caches, which is solved by associating a unique layer name with each image so it can be matched when reading back the image from the disk. Also some minor header changes to be able to use RE_MAXNAME in RE_bake.h. --- source/blender/render/RE_pipeline.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/render/RE_pipeline.h') diff --git a/source/blender/render/RE_pipeline.h b/source/blender/render/RE_pipeline.h index 548e38d3ef3..66057c06058 100644 --- a/source/blender/render/RE_pipeline.h +++ b/source/blender/render/RE_pipeline.h @@ -7,7 +7,7 @@ #pragma once -#include "DEG_depsgraph.h" +#include "DNA_ID.h" #include "DNA_listBase.h" #include "DNA_vec_types.h" -- cgit v1.2.3