From 89fd8c1d5233eb9195080e8b3c3cd96234cbb4db Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Mon, 19 May 2014 11:13:14 +0200 Subject: [PATCH] typos, added mention of 'stddev' to documentation of 'gaussian' --- doc/section_rfilters.tex | 3 ++- src/integrators/photonmapper/photonmapper.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/section_rfilters.tex b/doc/section_rfilters.tex index ecdcfb3c..7c93750d 100644 --- a/doc/section_rfilters.tex +++ b/doc/section_rfilters.tex @@ -31,7 +31,8 @@ this is a windowed Gaussian filter with configurable standard deviation. It produces pleasing results and never suffers from ringing, but may occasionally introduce too much blurring. When no reconstruction filter is explicitly requested, this is the default -choice in Mitsuba. +choice in Mitsuba. Takes a standard deviation parameter (\code{stddev}) +which is set to 0.5 pixels by default. \item[Mitchell-Netravali filter (\code{mitchell}):] Separable cubic spline reconstruction filter by Mitchell and Netravali \cite{Mitchell:1988:Reconstruction} diff --git a/src/integrators/photonmapper/photonmapper.cpp b/src/integrators/photonmapper/photonmapper.cpp index 9b205b67..77fd07d9 100644 --- a/src/integrators/photonmapper/photonmapper.cpp +++ b/src/integrators/photonmapper/photonmapper.cpp @@ -437,7 +437,7 @@ public: unsigned int bsdfType = bsdf->getType() & BSDF::EAll; - /* Irradiance cachq query -> trat as diffuse */ + /* Irradiance cache query -> treat as diffuse */ bool isDiffuse = (bsdfType == BSDF::EDiffuseReflection) || cacheQuery; bool hasSpecular = bsdfType & BSDF::EDelta;