diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-11 11:42:38 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2015-06-11 15:53:15 +0300 |
commit | 2bd6de5bbb1381fa34bf4df59d9f134dd9ccce91 (patch) | |
tree | 9b096f3832f858a939631656ca564ab903d4ee9e /source/blender/render/extern | |
parent | 3438130a94ade30b64e0b33095339a96c0c933cd (diff) |
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.
Diffstat (limited to 'source/blender/render/extern')
-rw-r--r-- | source/blender/render/extern/include/RE_pipeline.h | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |