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

Comparing ray/src/cv/bsdfrbf.c (file contents):
Revision 2.27 by greg, Fri Jan 29 16:21:55 2016 UTC vs.
Revision 2.28 by greg, Wed Feb 3 18:42:13 2016 UTC

# Line 137 | Line 137 | add_bsdf_data(double theta_out, double phi_out, const
137          dsf_grid[pos[0]][pos[1]].sum.n++;
138                                          /* add in X and Z values */
139          if (rbf_colorimetry == RBCtristimulus) {
140 <                spec_grid[0][pos[0]][pos[1]] += val[0];
141 <                spec_grid[1][pos[0]][pos[1]] += val[2];
140 >                spec_grid[0][pos[0]][pos[1]] += cfact * val[0];
141 >                spec_grid[1][pos[0]][pos[1]] += cfact * val[2];
142          }
143   }
144  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines