--- ray/src/rt/rpict.c 1989/02/02 10:41:36 1.1 +++ ray/src/rt/rpict.c 1989/07/10 15:21:30 1.6 @@ -24,18 +24,19 @@ 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 = .05; /* shadow threshold */ +double shadcert = .5; /* shadow certainty */ int maxdepth = 6; /* maximum recursion depth */ double minweight = 5e-3; /* minimum ray weight */ COLOR ambval = BLKCOLOR; /* ambient value */ double ambacc = 0.2; /* ambient accuracy */ -int ambres = 128; /* ambient resolution */ +int ambres = 32; /* ambient resolution */ int ambdiv = 128; /* ambient divisions */ int ambssamp = 0; /* ambient super-samples */ int ambounce = 0; /* ambient bounces */ @@ -263,6 +264,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); }