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

Comparing ray/src/rt/ambient.c (file contents):
Revision 2.84 by greg, Sat Apr 26 15:54:43 2014 UTC vs.
Revision 2.85 by greg, Tue May 6 17:15:11 2014 UTC

# Line 413 | Line 413 | sumambient(            /* get interpolated ambient value */
413                  /*
414                   *  Modified ray behind test
415                   */
416 <                VSUB(ck0, av->pos, r->rop);
416 >                VSUB(ck0, r->rop, av->pos);
417                  d = DOT(ck0, uvw[2]);
418                  if (d < -minarad*ambacc-.001)
419                          continue;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines