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

Comparing ray/src/rt/source.c (file contents):
Revision 2.81 by greg, Wed Nov 15 18:02:53 2023 UTC vs.
Revision 2.82 by greg, Fri Apr 5 01:10:26 2024 UTC

# Line 494 | Line 494 | direct(                                        /* add direct component */
494                          break;
495                  scp = srccnt + cntord[sn].sndx;
496                                                  /* test for hit */
497 <                rayorigin(&sr, SHADOW, r, NULL);
497 >                rayorigin(&sr, thrudir(r,scp->dir) ? TSHADOW : RSHADOW, r, NULL);
498                  copyscolor(sr.rcoef, scp->coef);
499                  VCOPY(sr.rdir, scp->dir);
500                  sr.rsrc = scp->sno;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines