[Bf-blender-cvs] [e0a0658] soc-2013-paint: Cycles: Add link to a paper used for Beckmann table calculation

Sergey Sharybin noreply at git.blender.org
Sat Jul 12 12:44:49 CEST 2014


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

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