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

Comparing ray/src/common/loadbsdf.c (file contents):
Revision 3.6 by greg, Wed May 2 16:28:45 2012 UTC vs.
Revision 3.7 by greg, Sun Sep 2 15:33:15 2012 UTC

# Line 58 | Line 58 | loadBSDF(char *fname)
58                                                  /* simple checks */
59          checkDF(sd->name, sd->rLambFront.cieY, sd->rf, "front reflection");
60          checkDF(sd->name, sd->rLambBack.cieY, sd->rb, "rear reflection");
61 <        checkDF(sd->name, sd->tLamb.cieY, sd->tf, "transmission");
61 >        checkDF(sd->name, sd->tLamb.cieY, sd->tf, "front transmission");
62 >        checkDF(sd->name, sd->tLamb.cieY, sd->tb, "back transmission");
63   #if 0
64   fprintf(stderr, "Loaded BSDF '%s' (file \"%s\")\n", sd->name, pname);
65   fprintf(stderr, "Front diffuse reflectance: %.3f%%\n", sd->rLambFront.cieY*100.);
# Line 71 | Line 72 | if (sd->rb)
72   fprintf(stderr, "Maximum direct hemispherical back reflection: %.3f%%\n",
73   sd->rb->maxHemi*100.);
74   if (sd->tf)
75 < fprintf(stderr, "Maximum direct hemispherical transmission: %.3f%%\n",
75 > fprintf(stderr, "Maximum direct hemispherical front transmission: %.3f%%\n",
76   sd->tf->maxHemi*100.);
77 + if (sd->tb)
78 + fprintf(stderr, "Maximum direct hemispherical back transmission: %.3f%%\n",
79 + sd->tb->maxHemi*100.);
80   #endif
81          SDretainSet = SDretainAll;              /* keep data in core */
82          return(sd);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines