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.37 by greg, Thu Aug 18 00:52:48 2016 UTC vs.
Revision 2.40 by greg, Fri Feb 17 22:31:49 2017 UTC

# Line 27 | Line 27 | static int             samp_order = 6;
27   const double            ssamp_thresh = 0.35;
28                                  /* number of super-samples */
29   #ifndef NSSAMP
30 < #define NSSAMP          100
30 > #define NSSAMP          64
31   #endif
32                                  /* limit on number of RBF lobes */
33   static int              lobe_lim = 15000;
# 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