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

Comparing ray/src/util/rad.c (file contents):
Revision 2.74 by schorsch, Mon Oct 27 10:32:06 2003 UTC vs.
Revision 2.75 by greg, Thu Jan 1 19:31:46 2004 UTC

# Line 107 | Line 107 | int    silent = 0;             /* do work silently */
107   int     touchonly = 0;          /* touch files only */
108   int     nprocs = 1;             /* maximum executing processes */
109   int     sayview = 0;            /* print view out */
110 < char    *rvdevice = NULL;       /* rview output device */
110 > char    *rvdevice = NULL;       /* rvu output device */
111   char    *viewselect = NULL;     /* specific view only */
112  
113   int     overture = 0;           /* overture calculation needed */
# Line 200 | Line 200 | char   *argv[];
200          renderopts(ropts, popts);
201          xferopts(ropts);
202          if (rvdevice != NULL)
203 <                rview(ropts, popts);
203 >                rvu(ropts, popts);
204          else
205                  rpict(ropts, popts);
206          quit(0);
# Line 1083 | Line 1083 | again:
1083   }
1084  
1085  
1086 < rview(opts, po)                         /* run rview with first view */
1086 > rvu(opts, po)                           /* run rvu with first view */
1087   char    *opts, *po;
1088   {
1089          char    *vw;
# Line 1093 | Line 1093 | char   *opts, *po;
1093                  return;
1094          if (sayview)
1095                  myprintview(vw, stdout);
1096 <        sprintf(combuf, "rview %s%s%s -R %s ", vw, po, opts, rifname);
1096 >        sprintf(combuf, "rvu %s%s%s -R %s ", vw, po, opts, rifname);
1097          if (rvdevice != NULL)
1098                  sprintf(combuf+strlen(combuf), "-o %s ", rvdevice);
1099          if (vdef(EXPOSURE))
1100                  sprintf(combuf+strlen(combuf), "-pe %s ", vval(EXPOSURE));
1101          strcat(combuf, oct1name);
1102          if (runcom(combuf)) {           /* run it */
1103 <                fprintf(stderr, "%s: error running rview\n", progname);
1103 >                fprintf(stderr, "%s: error running rvu\n", progname);
1104                  quit(1);
1105          }
1106   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines