[Bf-blender-cvs] [49c73f2] master: Cycles: Add link to a paper used for Beckmann table calculation

Sergey Sharybin noreply at git.blender.org
Thu Jul 10 15:04:59 CEST 2014


Commit: 49c73f2f228d736e1f63b3ef8ea79ccc4ed9a763
Author: Sergey Sharybin
Date:   Thu Jul 10 17:55:56 2014 +0600
https://developer.blender.org/rB49c73f2f228d736e1f63b3ef8ea79ccc4ed9a763

Cycles: Add link to a paper used for Beckmann table calculation

This is for those who'll be reading code and trying to improve it.

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

M	intern/cycles/render/shader.cpp

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

diff --git a/intern/cycles/render/shader.cpp b/intern/cycles/render/shader.cpp
index 351efca..9279186 100644
--- a/intern/cycles/render/shader.cpp
+++ b/intern/cycles/render/shader.cpp
@@ -45,6 +45,11 @@ static float beckmann_table_slope_max()
 	return 6.0;
 }
 
+/* Paper used: Importance Sampling Microfacet-Based BSDFs with the
+ * Distribution of Visible Normals. Supplemental Material 2/2.
+ *
+ * http://hal.inria.fr/docs/01/00/66/20/ANNEX/supplemental2.pdf
+ */
 static void beckmann_table_rows(float *table, int row_from, int row_to)
 {
 	/* allocate temporary data */




More information about the Bf-blender-cvs mailing list