[Bf-blender-cvs] [0d5ecc5] master: Fix T40117: cycles sobol RNG issue when disabling __CAMERA_MOTION__.

Brecht Van Lommel noreply at git.blender.org
Sun May 11 16:37:06 CEST 2014


Commit: 0d5ecc5c3339f9fede6e7d2bc60315e4b4743cd2
Author: Brecht Van Lommel
Date:   Sun May 11 15:36:28 2014 +0200
https://developer.blender.org/rB0d5ecc5c3339f9fede6e7d2bc60315e4b4743cd2

Fix T40117: cycles sobol RNG issue when disabling __CAMERA_MOTION__.

This doesn't affect any actual release code since camera motion blur is enabled.

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

M	intern/cycles/kernel/kernel_types.h

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

diff --git a/intern/cycles/kernel/kernel_types.h b/intern/cycles/kernel/kernel_types.h
index b3656c3..11445aa 100644
--- a/intern/cycles/kernel/kernel_types.h
+++ b/intern/cycles/kernel/kernel_types.h
@@ -204,10 +204,8 @@ enum PathTraceDimension {
 	PRNG_UNUSED_0 = 5,
 	PRNG_UNUSED_1 = 6,	/* for some reason (6, 7) is a bad sobol pattern */
 	PRNG_UNUSED_2 = 7,  /* with a low number of samples (< 64) */
-	PRNG_BASE_NUM = 8,
-#else
-	PRNG_BASE_NUM = 4,
 #endif
+	PRNG_BASE_NUM = 8,
 
 	PRNG_BSDF_U = 0,
 	PRNG_BSDF_V = 1,




More information about the Bf-blender-cvs mailing list