| 533 |
|
above), caustic photon irradiance is evaluated at primary rays, and |
| 534 |
|
indirect inscattering in |
| 535 |
|
.I mist |
| 536 |
< |
is accounted for by volume photons. |
| 536 |
> |
is accounted for by volume photons. Contribution photons are treated as |
| 537 |
> |
global photons by |
| 538 |
> |
.I rtrace. |
| 539 |
|
.IP |
| 540 |
|
Additionally specifying |
| 541 |
|
.I bwidth2 |
| 569 |
|
lower if the maximum search radius contains fewer photons, thus resulting in |
| 570 |
|
short lookups. Setting this radius too large, on the other hand, may |
| 571 |
|
degrade performance. |
| 572 |
+ |
.TP |
| 573 |
+ |
.BI -ac " pagesize" |
| 574 |
+ |
Set the photon cache page size when using out-of-core photon mapping. The |
| 575 |
+ |
photon cache reduces disk I/O incurred by on-demand loading (paging) of |
| 576 |
+ |
photons, and thus increases performance. This |
| 577 |
+ |
is expressed as a (float) multiple of the density estimate bandwidth |
| 578 |
+ |
specified with |
| 579 |
+ |
.I \-ap |
| 580 |
+ |
under the assumption that photon lookups are local to a cache page. Cache |
| 581 |
+ |
performance is sensitive to this parameter: larger pagesizes will reduce the |
| 582 |
+ |
paging frequency at the expense of higher latency when paging does occur. |
| 583 |
+ |
Sensible values are in the range 4 (default) to 16. |
| 584 |
+ |
.TP |
| 585 |
+ |
.BI -aC " cachesize" |
| 586 |
+ |
Set the total number of photons cached when using out-of-core photon |
| 587 |
+ |
mapping, taking into account the pagesize specified by |
| 588 |
+ |
.I \-ac. |
| 589 |
+ |
Note that this is approximate as the number of cache pages is rounded to |
| 590 |
+ |
the nearest prime. This allows adapting the cache to the available physical |
| 591 |
+ |
memory. In conjunction with the |
| 592 |
+ |
.I \-n |
| 593 |
+ |
option, this is the cache size |
| 594 |
+ |
.I per parallel process. |
| 595 |
+ |
Cache performance is less sensitive to this parameter, |
| 596 |
+ |
and reasonable performance can obtained with as few as 10k photons. The |
| 597 |
+ |
default is 1M. This option recognises multiplier suffixes (k = 1e3, M = |
| 598 |
+ |
1e6), both in upper and lower case. |
| 599 |
|
.TP |
| 600 |
|
.BI -me " rext gext bext" |
| 601 |
|
Set the global medium extinction coefficient to the indicated color, |