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

Comparing ray/src/cv/bsdfinterp.c (file contents):
Revision 2.18 by greg, Mon Mar 24 17:22:33 2014 UTC vs.
Revision 2.19 by greg, Thu Aug 21 10:33:48 2014 UTC

# Line 263 | Line 263 | get_interp(MIGRATION *miga[3], FVECT invec)
263          }
264   }
265  
266 + /*
267 +
268   /* Advect between recorded incident angles and allocate new RBF */
269   RBFNODE *
270   advect_rbf(const FVECT invec, int lobe_lim)
# Line 280 | Line 282 | advect_rbf(const FVECT invec, int lobe_lim)
282          VCOPY(sivec, invec);                    /* find triangle/edge */
283          sym = get_interp(miga, sivec);
284          if (sym < 0)                            /* can't interpolate? */
285 <                return(NULL);
285 >                return(def_rbf_spec(invec));
286          if (miga[1] == NULL) {                  /* advect along edge? */
287                  rbf = e_advect_rbf(miga[0], sivec, lobe_lim);
288                  if (single_plane_incident)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines