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

Comparing ray/src/rt/rmain.c (file contents):
Revision 1.19 by greg, Sat Jul 29 00:01:24 1989 UTC vs.
Revision 1.20 by greg, Sun Dec 10 13:42:42 1989 UTC

# Line 100 | Line 100 | char  *argv[];
100          int  report();
101          char  *err;
102          char  *recover = NULL;
103 +        char  *zfile = NULL;
104          char  *errfile = NULL;
105          char  *ambfile = NULL;
106          char  **amblp = amblist;
# Line 260 | Line 261 | char  *argv[];
261                          }
262                          break;
263   #if  RPICT
264 +                case 'z':                               /* z file */
265 +                        check(2,1);
266 +                        zfile = argv[++i];
267 +                        break;
268                  case 'r':                               /* recover file */
269                          check(2,1);
270                          recover = argv[++i];
# Line 444 | Line 449 | char  *argv[];
449   #if  RPICT
450          if (ralrm > 0)                  /* report init time */
451                  report();
452 <        render(recover);                /* render the scene */
452 >        render(zfile, recover);         /* render the scene */
453   #endif
454   #if  RTRACE
455          rtrace(NULL);                   /* trace rays from stdin */

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)