From b92eaceb185a59eb15c59202bbbdea62e5462c94 Mon Sep 17 00:00:00 2001 From: Francois Beaune Date: Sat, 9 Aug 2014 22:29:57 +0200 Subject: [PATCH] reported sppm photon map size now include the photons themselves. --- src/appleseed/renderer/kernel/lighting/sppm/sppmphotonmap.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/appleseed/renderer/kernel/lighting/sppm/sppmphotonmap.cpp b/src/appleseed/renderer/kernel/lighting/sppm/sppmphotonmap.cpp index 90f8a70a67..9b96bbcdcb 100644 --- a/src/appleseed/renderer/kernel/lighting/sppm/sppmphotonmap.cpp +++ b/src/appleseed/renderer/kernel/lighting/sppm/sppmphotonmap.cpp @@ -64,6 +64,7 @@ SPPMPhotonMap::SPPMPhotonMap(SPPMPhotonVector& photons) Statistics statistics; statistics.insert_time("build time", builder.get_build_time()); + statistics.insert_size("size", photons.get_memory_size()); statistics.merge(knn::TreeStatistics(*this)); RENDERER_LOG_DEBUG("%s",