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

Comparing ray/src/util/rpiece.c (file contents):
Revision 2.63 by greg, Wed Jul 3 17:06:57 2024 UTC vs.
Revision 2.66 by greg, Thu Sep 12 23:14:32 2024 UTC

# Line 59 | Line 59 | main(
59   #define unguard()      
60   #endif
61  
62 extern char  *strerror();
63
62                                  /* rpict command */
63   char  *rpargv[128] = {"rpict", "-S", "1"};
64   int  rpargc = 3;
# Line 171 | Line 169 | main(
169                                          break;
170                                  pixaspect = atof(argv[++i]);
171                                  continue;
172 +                        case 'S':
173 +                                fprintf(stderr, "%s: -S unsupported\n", argv[0]);
174 +                                i++;
175 +                                continue;
176                          case 'T':               /* time limit (hours) */
177                                  if (argv[i][2])
178                                          break;
# Line 309 | Line 311 | init(                  /* set up output file and start rpict */
311                  newheader("RADIANCE", fp);      /* create header */
312                  printargs(ac, av, fp);
313                  fprintf(fp, "SOFTWARE= %s\n", VersionID);
314 +                fprintf(fp, "TILED= %d %d\n", hmult, vmult);
315                  fputs(VIEWSTR, fp);
316                  fprintview(&ourview, fp);
317                  fputc('\n', fp);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines