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 */ |
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, |