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.7 by greg, Sat Nov 10 19:47:42 2012 UTC vs.
Revision 2.9 by greg, Thu Nov 22 06:07:17 2012 UTC

# Line 32 | Line 32 | interp_isotropic()
32          float           bsdf;
33   #if DEBUG
34          fprintf(stderr, "Writing isotropic order %d ", samp_order);
35 <        if (pctcull >= 0) fprintf(stderr, "data with %f%% culling\n", pctcull);
35 >        if (pctcull >= 0) fprintf(stderr, "data with %.1f%% culling\n", pctcull);
36          else fputs("raw data\n", stderr);
37   #endif
38          if (pctcull >= 0) {                     /* begin output */
# Line 94 | Line 94 | interp_anisotropic()
94          float           bsdf;
95   #if DEBUG
96          fprintf(stderr, "Writing anisotropic order %d ", samp_order);
97 <        if (pctcull >= 0) fprintf(stderr, "data with %f%% culling\n", pctcull);
97 >        if (pctcull >= 0) fprintf(stderr, "data with %.1f%% culling\n", pctcull);
98          else fputs("raw data\n", stderr);
99   #endif
100          if (pctcull >= 0) {                     /* begin output */
# Line 180 | Line 180 | xml_prologue(int ac, char *av[])
180          puts("\t\t<DetectorSpectrum>ASTM E308 1931 Y.dsp</DetectorSpectrum>");
181          puts("\t\t<WavelengthDataBlock>");
182          printf("\t\t\t<WavelengthDataDirection>%s</WavelengthDataDirection>\n",
183 <                bsdf_type[(input_orient>0)<<1 | (output_orient>0)]);
183 >                        bsdf_type[(input_orient>0)<<1 | (output_orient>0)]);
184          puts("\t\t\t<AngleBasis>LBNL/Shirley-Chiu</AngleBasis>");
185          puts("\t\t\t<ScatteringDataType>BTDF</ScatteringDataType>");
186          puts("\t\t\t<ScatteringData>");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines