15 |
|
#ifdef BSD |
16 |
|
#include <sys/time.h> |
17 |
|
#include <sys/resource.h> |
18 |
– |
#else |
19 |
– |
#include <signal.h> |
18 |
|
#endif |
19 |
+ |
|
20 |
+ |
#include <signal.h> |
21 |
|
#include <fcntl.h> |
22 |
|
|
23 |
|
#include "view.h" |
40 |
|
double dstrsrc = 0.0; /* square source distribution */ |
41 |
|
double shadthresh = .05; /* shadow threshold */ |
42 |
|
double shadcert = .5; /* shadow certainty */ |
43 |
< |
int directrelay = 0; /* number of source relays */ |
43 |
> |
int directrelay = 1; /* number of source relays */ |
44 |
|
int vspretest = 512; /* virtual source pretest density */ |
45 |
|
int directinvis = 0; /* sources invisible? */ |
46 |
+ |
double srcsizerat = .25; /* maximum ratio source size/dist. */ |
47 |
|
|
48 |
|
int maxdepth = 6; /* maximum recursion depth */ |
49 |
|
double minweight = 5e-3; /* minimum ray weight */ |