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.5 by greg, Sat Mar 13 09:33:17 1993 UTC vs.
Revision 2.6 by greg, Tue Mar 30 13:16:26 1993 UTC

# Line 94 | Line 94 | int    (*setqopts[3])() = {lowqopts, medqopts, hiqopts};
94  
95   #define renderopts      (*setqopts[vscale(QUALITY)])
96  
97 +                                /* overture calculation file */
98 + #ifdef NIX
99 + char    overfile[] = "overture.raw";
100 + #else
101 + char    overfile[] = "/dev/null";
102 + #endif
103 +
104   extern long     fdate(), time();
105  
106   long    scenedate;              /* date of latest scene or object file */
# Line 1047 | Line 1054 | char   *opts;
1054                                  sprintf(combuf,
1055                                  "rpict%s %s%s -x 64 -y 64 -ps 1 %s > %s",
1056                                                  rep, vw, opts,
1057 <                                                vval(OCTREE), rawfile);
1057 >                                                vval(OCTREE), overfile);
1058                                  if (runcom(combuf)) {
1059                                          fprintf(stderr,
1060 <                        "%s: error in overture for view %s\n\t%s removed\n",
1061 <                                                progname, vs, rawfile);
1055 <                                        unlink(rawfile);
1060 >                                        "%s: error in overture for view %s\n",
1061 >                                                progname, vs);
1062                                          exit(1);
1063                                  }
1064 + #ifdef NIX
1065 +                                rmfile(overfile);
1066 + #endif
1067                          }
1068                          sprintf(combuf, "rpict%s %s %s%s %s > %s",
1069                                          rep, vw, res, opts,

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines