| 42 |
|
VOIDID, |
| 43 |
|
SAMPDENS, |
| 44 |
|
NSAMPS, |
| 45 |
+ |
0., |
| 46 |
|
}; |
| 47 |
|
|
| 48 |
|
char matcheck[MAXSTR]; /* current material to include or exclude */ |
| 330 |
|
break; |
| 331 |
|
cp++; |
| 332 |
|
continue; |
| 333 |
+ |
case 'b': /* brightness */ |
| 334 |
+ |
if (*++cp != '=') |
| 335 |
+ |
break; |
| 336 |
+ |
if (!isfltd(++cp, " \t\n")) |
| 337 |
+ |
break; |
| 338 |
+ |
thisillum.minbrt = atof(cp); |
| 339 |
+ |
cp = sskip(cp); |
| 340 |
+ |
continue; |
| 341 |
|
case 'o': /* output file */ |
| 342 |
|
if (*++cp != '=') |
| 343 |
|
break; |
| 385 |
|
printf("c=n\t\t\t\t# color none\n"); |
| 386 |
|
printf("d=%d\t\t\t\t# density of points\n", thisillum.sampdens); |
| 387 |
|
printf("s=%d\t\t\t\t# samples per point\n", thisillum.nsamps); |
| 388 |
+ |
printf("b=%f\t\t\t# minimum average brightness\n", thisillum.minbrt); |
| 389 |
|
} |
| 390 |
|
|
| 391 |
|
|