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

Comparing ray/src/px/macbethcal.c (file contents):
Revision 2.24 by greg, Wed Dec 15 06:30:36 2004 UTC vs.
Revision 2.25 by greg, Mon Nov 10 19:08:19 2008 UTC

# Line 240 | Line 240 | main(
240  
241                  printf("# Color correspondence produced by:\n#\t\t");
242                  printargs(argc, argv, stdout);
243 <                printf("#\tUsage: pcwarp %s uncorrected.pic > corrected.pic\n",
243 >                printf("#\tUsage: pcwarp %s uncorrected.hdr > corrected.hdr\n",
244                                  i+1 < argc ? argv[i+1] : "{this_file}");
245 <                printf("#\t   Or: pcond [options] -m %s orig.pic > output.pic\n",
245 >                printf("#\t   Or: pcond [options] -m %s orig.hdr > output.hdr\n",
246                                  i+1 < argc ? argv[i+1] : "{this_file}");
247                  for (j = 0; j < 24; j++)
248                          printf("%f %f %f    %f %f %f\n",
# Line 255 | Line 255 | main(
255                                                  /* print header */
256                  printf("{\n\tColor correction file computed by:\n\t\t");
257                  printargs(argc, argv, stdout);
258 <                printf("\n\tUsage: pcomb -f %s uncorrected.pic > corrected.pic\n",
258 >                printf("\n\tUsage: pcomb -f %s uncorrected.hdr > corrected.hdr\n",
259                                  i+1 < argc ? argv[i+1] : "{this_file}");
260                  if (!scanning)
261 <                        printf("\t   Or: pcond [options] -f %s orig.pic > output.pic\n",
261 >                        printf("\t   Or: pcond [options] -f %s orig.hdr > output.hdr\n",
262                                          i+1 < argc ? argv[i+1] : "{this_file}");
263                  printf("}\n");
264                  putmapping();                   /* put out color mapping */
# Line 272 | Line 272 | main(
272          exit(0);
273   userr:
274          fprintf(stderr,
275 < "Usage: %s [-d dbg.pic][-P | -p xul yul xur yur xll yll xlr ylr][-i irrad][-m] input.pic [output.{cal|cwp}]\n",
275 > "Usage: %s [-d dbg.hdr][-P | -p xul yul xur yur xll yll xlr ylr][-i irrad][-m] input.hdr [output.{cal|cwp}]\n",
276                          progname);
277 <        fprintf(stderr, "   or: %s [-d dbg.pic][-i irrad][-m] -c [xyY.dat [output.{cal|cwp}]]\n",
277 >        fprintf(stderr, "   or: %s [-d dbg.hdr][-i irrad][-m] -c [xyY.dat [output.{cal|cwp}]]\n",
278                          progname);
279          exit(1);
280          return 1; /* pro forma return */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines