47 |
|
int directinvis = 0; /* sources invisible? */ |
48 |
|
double srcsizerat = .25; /* maximum ratio source size/dist. */ |
49 |
|
|
50 |
+ |
double specthresh = .15; /* specular sampling threshold */ |
51 |
+ |
double specjitter = 1.; /* specular sampling jitter */ |
52 |
+ |
|
53 |
|
int maxdepth = 6; /* maximum recursion depth */ |
54 |
|
double minweight = 5e-3; /* minimum ray weight */ |
55 |
|
|
233 |
|
#endif |
234 |
|
} |
235 |
|
/* clean up */ |
236 |
+ |
signal(SIGALRM, SIG_IGN); |
237 |
|
if (zfd != -1) { |
238 |
|
if (write(zfd, (char *)zbar[0], hresolu*sizeof(float)) |
239 |
|
< hresolu*sizeof(float)) |