--- ray/src/rt/rpict.c 1990/01/08 13:38:01 1.12 +++ ray/src/rt/rpict.c 1990/01/11 08:30:42 1.14 @@ -15,6 +15,8 @@ static char SCCSid[] = "$SunId$ LBL"; #ifdef BSD #include #include +#else +#include #endif #include "view.h" @@ -24,6 +26,7 @@ static char SCCSid[] = "$SunId$ LBL"; VIEW ourview = STDVIEW; /* view parameters */ int hresolu = 512; /* horizontal resolution */ int vresolu = 512; /* vertical resolution */ +double pixaspect = 1.0; /* pixel aspect ratio */ int psample = 4; /* pixel sample size */ double maxdiff = .05; /* max. difference for interpolation */ @@ -84,6 +87,7 @@ report() /* report progress */ sprintf(errmsg, "%ld rays, %4.2f%% done after %5.4f CPU hours\n", nrays, pctdone, t/3600.0); #else + signal(SIGALRM, report); sprintf(errmsg, "%ld rays, %4.2f%% done\n", nrays, pctdone); #endif eputs(errmsg);