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

Comparing ray/src/cv/bsdf2ttree.c (file contents):
Revision 2.38 by greg, Wed Oct 12 17:36:11 2016 UTC vs.
Revision 2.40 by greg, Fri Feb 17 22:31:49 2017 UTC

# Line 38 | Line 38 | static int             do_prog = 79;
38   static char             *wrapBSDF[MAXCARG] = {"wrapBSDF", "-U"};
39   static int              wbsdfac = 2;
40  
41 < /* Add argument to wrapBSDF, allocating space if isstatic */
41 > /* Add argument to wrapBSDF, allocating space if !isstatic */
42   static void
43   add_wbsdf(const char *arg, int isstatic)
44   {
# Line 206 | Line 206 | eval_isotropic(char *funame)
206                              eval_rbfcol(&sdv, rbf, iovec+3);
207                              bsdf = sdv.cieY;
208                              if (rbf_colorimetry == RBCtristimulus) {
209                                c_ccvt(&sdv.spec, C_CSXY);
209                                  uv[0] = uv[1] = 1. /
210                                      (-2.*sdv.spec.cx + 12.*sdv.spec.cy + 3.);
211                                  uv[0] *= 4.*sdv.spec.cx;
# Line 398 | Line 397 | eval_anisotropic(char *funame)
397                              eval_rbfcol(&sdv, rbf, iovec+3);
398                              bsdf = sdv.cieY;
399                              if (rbf_colorimetry == RBCtristimulus) {
401                                c_ccvt(&sdv.spec, C_CSXY);
400                                  uv[0] = uv[1] = 1. /
401                                      (-2.*sdv.spec.cx + 12.*sdv.spec.cy + 3.);
402                                  uv[0] *= 4.*sdv.spec.cx;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines