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

Comparing ray/src/util/rpiece.c (file contents):
Revision 2.62 by greg, Mon Jun 3 18:55:51 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 298 | Line 300 | init(                  /* set up output file and start rpict */
300          sprintf(vrbuf, "%d", vres);
301          rpargv[rpargc++] = "-y"; rpargv[rpargc++] = vrbuf;
302          rpargv[rpargc++] = "-pa"; rpargv[rpargc++] = "0";
303 +        rpargv[rpargc++] = "-pm"; rpargv[rpargc++] = "0";
304          rpargv[rpargc++] = av[ac-1];
305          rpargv[rpargc] = NULL;
306                                          /* open output file */
# Line 308 | 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 (old)
> Changed lines (new)