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