[Bf-blender-cvs] [5c34266] master: Cycles: Enable camera motion blur in split kernel for Intel/NVidia

Sergey Sharybin noreply at git.blender.org
Thu May 14 20:38:06 CEST 2015


Commit: 5c3426638389e25e96a17f4efdf7efdf0dfaed2d
Author: Sergey Sharybin
Date:   Thu May 14 23:35:19 2015 +0500
Branches: master
https://developer.blender.org/rB5c3426638389e25e96a17f4efdf7efdf0dfaed2d

Cycles: Enable camera motion blur in split kernel for Intel/NVidia

It's good for testing and seems to work quite reliably here.

This probably not totally cheap in terms of performance, but this we
could solve quite easily by selective kernel compilation once other
things are tested/proved to be reliable.

===================================================================

M	intern/cycles/kernel/kernel_types.h

===================================================================

diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h
index 473e6bb..7108d7b 100644
--- a/intern/cycles/kernel/kernel_types.h
+++ b/intern/cycles/kernel/kernel_types.h
@@ -110,6 +110,7 @@ CCL_NAMESPACE_BEGIN
 #    define __LAMP_MIS__
 #    define __AO__
 #    define __HAIR__
+#    define __CAMERA_MOTION__
 #  endif
 #endif
 
@@ -150,6 +151,7 @@ CCL_NAMESPACE_BEGIN
 #    define __LAMP_MIS__
 #    define __AO__
 #    define __HAIR__
+#    define __CAMERA_MOTION__
 #  endif
 #endif




More information about the Bf-blender-cvs mailing list