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

Comparing ray/src/cv/bsdf2rad.c (file contents):
Revision 2.25 by greg, Wed Apr 12 00:31:40 2017 UTC vs.
Revision 2.26 by greg, Wed Apr 12 03:35:01 2017 UTC

# Line 26 | Line 26 | double overall_max = .0;               /* overall maximum BSDF valu
26  
27   char    ourTempDir[TEMPLEN] = "";       /* our temporary directory */
28  
29 < const char      frpref[] = "frefl";
30 < const char      ftpref[] = "ftrans";
31 < const char      brpref[] = "brefl";
32 < const char      btpref[] = "btrans";
29 > const char      frpref[] = "rf";
30 > const char      ftpref[] = "tf";
31 > const char      brpref[] = "rb";
32 > const char      btpref[] = "tb";
33   const char      dsuffix[] = ".txt";
34  
35   const char      sph_fmat[] = "fBSDFmat";
# Line 381 | Line 381 | put_BSDFs(void)
381          printf("\nvoid glow arrow_glow\n0\n0\n4 1 0 1 0\n");
382          printf("\nvoid mixfunc arrow_mat\n4 arrow_glow void 0.25 .\n0\n0\n");
383  
384        if (front_comp & SDsampR)                       /* front reflection */
384          for (i = 0; i < NINCIDENT; i++) {
385                  get_ivector(ivec, i);
386                  nrm[0] = -ivec[0]; nrm[1] = -ivec[1]; nrm[2] = ivec[2];

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines