| 70 |
|
|
| 71 |
|
extern double dstrsrc; /* square source distribution */ |
| 72 |
|
extern double shadthresh; /* shadow threshold */ |
| 73 |
+ |
extern double shadcert; /* shadow testing certainty */ |
| 74 |
|
|
| 75 |
|
extern int maxdepth; /* maximum recursion depth */ |
| 76 |
|
extern double minweight; /* minimum ray weight */ |
| 180 |
|
check(3,1); |
| 181 |
|
shadthresh = atof(argv[++i]); |
| 182 |
|
break; |
| 183 |
+ |
case 'c': /* certainty */ |
| 184 |
+ |
check(3,1); |
| 185 |
+ |
shadcert = atof(argv[++i]); |
| 186 |
+ |
break; |
| 187 |
|
case 'j': /* jitter */ |
| 188 |
|
check(3,1); |
| 189 |
|
dstrsrc = atof(argv[++i]); |
| 543 |
|
printf("-y %-9d\t\t\t# y resolution\n", vresolu); |
| 544 |
|
#endif |
| 545 |
|
printf("-dt %f\t\t\t# direct threshold\n", shadthresh); |
| 546 |
+ |
printf("-dc %f\t\t\t# direct certainty\n", shadcert); |
| 547 |
|
printf("-dj %f\t\t\t# direct jitter\n", dstrsrc); |
| 548 |
|
#if RPICT|RVIEW |
| 549 |
|
printf("-sp %-9d\t\t\t# sample pixel\n", psample); |