From 2bd6de5bbb1381fa34bf4df59d9f134dd9ccce91 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 11 Jun 2015 10:42:38 +0200 Subject: Cycles: Add debug pass showing average number of ray bounces per pixel Quite straightforward implementation, but still needs some work for the split kernel. Includes both regular and split kernel implementation for that. The pass is not exposed to the interface yet because it's currently not really easy to have same pass listed in the menu multiple times. --- source/blender/render/extern/include/RE_pipeline.h | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/render/extern') diff --git a/source/blender/render/extern/include/RE_pipeline.h b/source/blender/render/extern/include/RE_pipeline.h index 9331c45237d..98abae26488 100644 --- a/source/blender/render/extern/include/RE_pipeline.h +++ b/source/blender/render/extern/include/RE_pipeline.h @@ -99,6 +99,7 @@ typedef struct RenderPass { enum { RENDER_PASS_DEBUG_BVH_TRAVERSAL_STEPS = 0, + RENDER_PASS_DEBUG_RAY_BOUNCES = 1, }; /* a renderlayer is a full image, but with all passes and samples */ -- cgit v1.2.3