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.38 by greg, Tue Feb 16 15:49:32 2021 UTC vs.
Revision 2.39 by greg, Thu Feb 25 02:13:15 2021 UTC

# Line 227 | Line 227 | main(int argc, char *argv[])
227          const char      *symmetry = "0";
228          int             ninpfiles, totinc;
229          int             a, i;
230 <                                                /* start header */
231 <        SET_FILE_BINARY(stdout);
232 <        newheader("RADIANCE", stdout);
233 <        printargs(argc, argv, stdout);
234 <        fputnow(stdout);
230 >
231          progname = argv[0];                     /* get options */
232          for (a = 1; a < argc && argv[a][0] == '-'; a++)
233                  switch (argv[a][1]) {
# Line 305 | Line 301 | main(int argc, char *argv[])
301                                  quadrant_sym[inp_coverage]);
302   #endif
303          build_mesh();                           /* create interpolation */
304 <        save_bsdf_rep(stdout);                  /* write it out */
304 >        SET_FILE_BINARY(stdout);                /* start header */
305 >        newheader("RADIANCE", stdout);
306 >        printargs(argc, argv, stdout);
307 >        fputnow(stdout);
308 >        save_bsdf_rep(stdout);                  /* complete header + data */
309          return(0);
310   userr:
311          fprintf(stderr, "Usage: %s [-t][-n nproc][-s symmetry] meas1.dat meas2.dat .. > bsdf.sir\n",

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines