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

Comparing ray/src/cv/pabopto2bsdf.c (file contents):
Revision 2.12 by greg, Fri Jan 31 00:47:10 2014 UTC vs.
Revision 2.13 by greg, Mon Feb 17 21:56:22 2014 UTC

# Line 219 | Line 219 | main(int argc, char *argv[])
219   #ifdef DEBUG
220          fprintf(stderr, "Minimum BSDF = %.4f\n", bsdf_min);
221   #endif
222 <        min_log = log(bsdf_min*.5);
222 >        min_log = log(bsdf_min*.5 + 1e-5);
223   #if 1                                           /* produce spheres at meas. */
224          puts("void plastic yellow\n0\n0\n5 .6 .4 .01 .04 .08\n");
225          n = 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines