--- ray/src/rt/rpict.c 1991/12/10 17:42:01 2.3 +++ ray/src/rt/rpict.c 1992/01/14 16:15:57 2.5 @@ -47,6 +47,9 @@ int vspretest = 512; /* virtual source pretest dens int directinvis = 0; /* sources invisible? */ double srcsizerat = .25; /* maximum ratio source size/dist. */ +double specthresh = .5; /* specular sampling threshold */ +double specjitter = 1.; /* specular sampling jitter */ + int maxdepth = 6; /* maximum recursion depth */ double minweight = 5e-3; /* minimum ray weight */ @@ -108,11 +111,11 @@ report() /* report progress */ #else report() /* report progress */ { - signal(SIGALRM, report); tlastrept = time((long *)0); sprintf(errmsg, "%ld rays, %4.2f%% done after %5.4f hours\n", nrays, pctdone, (tlastrept-tstart)/3600.0); eputs(errmsg); + signal(SIGALRM, report); } #endif