fix comments

metadata
Wenzel Jakob 2010-09-14 11:59:52 +02:00
parent 18390c39b2
commit 8a34e39713
3 changed files with 3 additions and 3 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)