Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorThomas Dinges <blender@dingto.org>2012-02-23 13:11:17 +0400
committerThomas Dinges <blender@dingto.org>2012-02-23 13:11:17 +0400
commitf8c6f81271f98d94e6f9bd1e9d55154601a59297 (patch)
treee8e78d57385320eb2862b8228a5f1f66a3e8693e /intern
parent5ccbe5a7d0e8c893f459d57009a1fc23de90e838 (diff)
Cycles:
* Remove obsolete comments in the Oren Nayar code.
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/kernel/svm/bsdf_oren_nayar.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/intern/cycles/kernel/svm/bsdf_oren_nayar.h b/intern/cycles/kernel/svm/bsdf_oren_nayar.h
index 81884de8798..a7edccdc423 100644
--- a/intern/cycles/kernel/svm/bsdf_oren_nayar.h
+++ b/intern/cycles/kernel/svm/bsdf_oren_nayar.h
@@ -16,31 +16,6 @@
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
-/*
- * An implementation of Oren-Nayar reflectance model, public domain
- * http://www1.cs.columbia.edu/CAVE/publications/pdfs/Oren_SIGGRAPH94.pdf
- *
- * NOTE:
- * BSDF = A + B * cos() * sin() * tan()
- *
- * The parameter sigma means different from original.
- * A and B are calculated by the following formula:
- * 0 <= sigma <= 1
- * A = 1 / ((1 + sigma / 2) * pi);
- * B = sigma / ((1 + sigma / 2) * pi);
- *
- * This formula is derived as following:
- *
- * 0. Normalize A-term and B-term of BSDF *individually*.
- * B-term is normalized at maximum point: dot(L, N) = 0.
- * A = (1/pi) * A'
- * B = (2/pi) * B'
- *
- * 1. Solve the following equation:
- * A' + B' = 1
- * B / A = sigma
- */
-
#ifndef __BSDF_OREN_NAYAR_H__
#define __BSDF_OREN_NAYAR_H__