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

Comparing ray/src/cv/pabopto2bsdf.c (file contents):
Revision 2.23 by greg, Sun Mar 23 17:46:25 2014 UTC vs.
Revision 2.24 by greg, Mon Mar 24 02:31:02 2014 UTC

# Line 238 | Line 238 | main(int argc, char *argv[])
238                  if (dsf_grid[i][j].sum.n > 0) {
239                          ovec_from_pos(dir, i, j);
240                          bsdf = dsf_grid[i][j].sum.v /
241 <                                (dsf_grid[i][j].sum.n*output_orient*dir[2]);
241 >                           ((double)dsf_grid[i][j].sum.n*output_orient*dir[2]);
242                          if (bsdf <= bsdf_min*.6)
243                                  continue;
244                          bsdf = log(bsdf + 1e-5) - min_log;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines