star-sf

Set of surface and volume scattering functions
git clone git://git.meso-star.fr/star-sf.git
Log | Files | Refs | README | LICENSE

commit 549eeb8ef88321a1a37938d2a94e4edc30b3a63c
parent 400afff2a9e06aab7cf7ff554c4317ee8382f77e
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 22 Mar 2017 10:01:45 +0100

Comment the ssf_specular_transmission built-in BTDF

Diffstat:
Msrc/ssf.h | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/src/ssf.h b/src/ssf.h @@ -199,7 +199,12 @@ SSF_API const struct ssf_bxdf_type ssf_microfacet2_reflection; * by the user. */ SSF_API const struct ssf_bxdf_type ssf_thin_specular_dielectric; -/* TODO comment me */ +/* Dirac distribution whose incoming direction `wi' is refracted wrt N and a + * dielectric/dielectric fresnel term `Fr'. + * fr(wo, wi) = (1 - Fr(|wi.N|)) * delta(wo - Refract(wi, N)) / |wi.N| + * Since it is a dirac distribution, the returned value of the `eval' and `pdf' + * function is always 0 while the pdf returned by `sample' function is + * infinity. */ SSF_API const struct ssf_bxdf_type ssf_specular_transmission; /*******************************************************************************