--- ray/src/rt/rv2.c 1989/06/07 08:35:26 1.5 +++ ray/src/rt/rv2.c 1989/06/08 17:04:40 1.8 @@ -369,11 +369,11 @@ char *s; e *= atof(cp); } if (p != NULL) { /* relative setting */ - if (intens(p->v) <= FTINY) { + if (bright(p->v) <= FTINY) { error(COMMAND, "cannot normalize to zero"); return; } - e *= 0.5 / intens(p->v); + e *= 0.5 / bright(p->v); } if (e <= FTINY || fabs(1.0 - e) <= FTINY) return; @@ -404,7 +404,7 @@ register char *s; char buf[128]; if (s[0] == '\0') { - (*dev->comout)("aa ab ad ar as av dj dt lr lw sd sp: "); + (*dev->comout)("aa ab ad ar as av dj dt lr lw sp st: "); (*dev->comin)(buf); s = buf; } @@ -555,9 +555,9 @@ register char *s; psample = i0; pdepth = 0; break; - case 'd': /* difference */ + case 't': /* threshold */ if (sscanf(s+2, "%lf", &d0) != 1) { - sprintf(buf, "sample difference (%.6g): ", + sprintf(buf, "sample threshold (%.6g): ", maxdiff); (*dev->comout)(buf); (*dev->comin)(buf);