24 |
|
VIEW ourview = STDVIEW(512); /* view parameters */ |
25 |
|
|
26 |
|
int psample = 4; /* pixel sample size */ |
27 |
– |
|
27 |
|
double maxdiff = .05; /* max. difference for interpolation */ |
29 |
– |
|
28 |
|
double dstrpix = 0.67; /* square pixel distribution */ |
29 |
+ |
|
30 |
|
double dstrsrc = 0.0; /* square source distribution */ |
31 |
+ |
double shadthresh = .01; /* shadow threshold */ |
32 |
|
|
33 |
|
int maxdepth = 6; /* maximum recursion depth */ |
34 |
|
double minweight = 5e-3; /* minimum ray weight */ |
263 |
|
getheader(fp, NULL); |
264 |
|
/* get picture size */ |
265 |
|
if (fscanf(fp, "-Y %d +X %d\n", &y, &x) != 2) { |
266 |
+ |
sprintf(errmsg, "bad recover file \"%s\"", oldfile); |
267 |
+ |
error(WARNING, errmsg); |
268 |
|
fclose(fp); |
269 |
|
return(0); |
270 |
|
} |