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.55 by greg, Tue Aug 21 23:31:01 2018 UTC vs.
Revision 2.57 by greg, Mon Jun 10 13:56:52 2019 UTC

# Line 116 | Line 116 | compute_through(BSDFDAT *ndp)
116                                          {0, -1.6},
117                                          {1.6, 0},
118                                  };
119 <        const double    peak_over = 1.5;
119 >        const double    peak_over = 1.3 + .4*frandom(); /* jitter threshold */
120          SDSpectralDF    *dfp;
121          FVECT           pdir;
122          double          tomega, srchrad;
# Line 555 | Line 555 | sample_sdf(BSDFDAT *ndp, int sflags)
555                          rayvalue(&tr);
556                          multcolor(tr.rcol, tr.rcoef);
557                          addcolor(ndp->pr->rcol, tr.rcol);
558 +                        ndp->pr->rxt = ndp->pr->rot + raydistance(&tr);
559                          ++ntotal;
560                          b = bright(ndp->cthru);
561                  } else

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines