--- ray/src/rt/rpict.c 1989/02/02 10:41:36 1.1 +++ ray/src/rt/rpict.c 1989/06/07 08:35:21 1.3 @@ -24,11 +24,11 @@ static char SCCSid[] = "$SunId$ LBL"; VIEW ourview = STDVIEW(512); /* view parameters */ int psample = 4; /* pixel sample size */ - double maxdiff = .05; /* max. difference for interpolation */ - double dstrpix = 0.67; /* square pixel distribution */ + double dstrsrc = 0.0; /* square source distribution */ +double shadthresh = .01; /* shadow threshold */ int maxdepth = 6; /* maximum recursion depth */ double minweight = 5e-3; /* minimum ray weight */ @@ -263,6 +263,8 @@ char *oldfile; getheader(fp, NULL); /* get picture size */ if (fscanf(fp, "-Y %d +X %d\n", &y, &x) != 2) { + sprintf(errmsg, "bad recover file \"%s\"", oldfile); + error(WARNING, errmsg); fclose(fp); return(0); }