# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |