From 8a34e39713b11a3c130b9c4db3323ce0f4bdf532 Mon Sep 17 00:00:00 2001 From: Wenzel Jakob Date: Tue, 14 Sep 2010 11:59:52 +0200 Subject: [PATCH] fix comments --- src/integrators/path/path.cpp | 2 +- src/integrators/path/volpath.cpp | 2 +- src/integrators/path/volpath_simple.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/integrators/path/path.cpp b/src/integrators/path/path.cpp index 006c68ee..79258939 100644 --- a/src/integrators/path/path.cpp +++ b/src/integrators/path/path.cpp @@ -162,7 +162,7 @@ public: /* Russian roulette - Possibly stop the recursion */ if (rRec.depth >= m_rrDepth) { /* Assuming that BSDF importance sampling is perfect, - the following should equal the maximum albedo + 'bsdfVal.max()' should equal the maximum albedo over all spectral samples */ Float approxAlbedo = std::min((Float) 0.9f, bsdfVal.max()); if (rRec.nextSample1D() > approxAlbedo) diff --git a/src/integrators/path/volpath.cpp b/src/integrators/path/volpath.cpp index c236a26e..3ba27287 100644 --- a/src/integrators/path/volpath.cpp +++ b/src/integrators/path/volpath.cpp @@ -274,7 +274,7 @@ public: /* Russian roulette - Possibly stop the recursion */ if (rRec.depth >= m_rrDepth) { /* Assuming that BSDF importance sampling is perfect, - the following should equal the maximum albedo + 'bsdfVal.max()' should equal the maximum albedo over all spectral samples */ Float approxAlbedo = std::min((Float) 0.9f, bsdfVal.max()); if (rRec.nextSample1D() > approxAlbedo) diff --git a/src/integrators/path/volpath_simple.cpp b/src/integrators/path/volpath_simple.cpp index 19935a80..164f07e7 100644 --- a/src/integrators/path/volpath_simple.cpp +++ b/src/integrators/path/volpath_simple.cpp @@ -209,7 +209,7 @@ public: /* Russian roulette - Possibly stop the recursion */ if (rRec.depth >= m_rrDepth) { /* Assuming that BSDF importance sampling is perfect, - the following should equal the maximum albedo + 'bsdfVal.max()' should equal the maximum albedo over all spectral samples */ Float approxAlbedo = std::min((Float) 0.9, bsdfVal.max()); if (rRec.nextSample1D() > approxAlbedo)