ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/m_bsdf.c
(Generate patch)

Comparing ray/src/rt/m_bsdf.c (file contents):
Revision 2.53 by greg, Thu Aug 2 22:44:35 2018 UTC vs.
Revision 2.54 by greg, Wed Aug 8 04:15:18 2018 UTC

# Line 162 | Line 162 | compute_through(BSDFDAT *ndp)
162                  goto baderror;
163          if (tomega > 1.5*dfp->minProjSA)
164                  return;                         /* not really a peak? */
165        tomega /= fabs(pdir[2]);                /* remove cosine factor */
165          if ((bright(vpeak) - ndp->sd->tLamb.cieY*(1./PI))*tomega <= .001)
166                  return;                         /* < 0.1% transmission */
167          for (i = 3; i--; )                      /* remove peak from average */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines