540 |
|
above), caustic photon irradiance is evaluated at primary rays, and |
541 |
|
indirect inscattering in |
542 |
|
.I mist |
543 |
< |
is accounted for by volume photons. |
543 |
> |
is accounted for by volume photons. Contribution photons are treated as |
544 |
> |
global photons by |
545 |
> |
.I rpict. |
546 |
|
.IP |
547 |
|
Additionally specifying |
548 |
|
.I bwidth2 |
559 |
|
is invariably looked up. |
560 |
|
.IP |
561 |
|
Using direct photons replaces the direct calculation with density estimates |
562 |
< |
for debugging and validation of photon emission. |
562 |
> |
for debugging and validation of photon emission. |
563 |
|
.TP |
564 |
|
.BI -am " frac" |
565 |
|
Maximum search radius for photon map lookups. Without this option, an |
577 |
|
short lookups. Setting this radius too large, on the other hand, may |
578 |
|
degrade performance. |
579 |
|
.TP |
580 |
+ |
.BI -ac " pagesize" |
581 |
+ |
Set the photon cache page size when using out-of-core photon mapping. The |
582 |
+ |
photon cache reduces disk I/O incurred by on-demand loading (paging) of |
583 |
+ |
photons, and thus increases performance. This |
584 |
+ |
is expressed as a (float) multiple of the density estimate bandwidth |
585 |
+ |
specified with |
586 |
+ |
.I \-ap |
587 |
+ |
under the assumption that photon lookups are local to a cache page. Cache |
588 |
+ |
performance is sensitive to this parameter: larger pagesizes will reduce the |
589 |
+ |
paging frequency at the expense of higher latency when paging does occur. |
590 |
+ |
Sensible values are in the range 4 (default) to 16. |
591 |
+ |
.TP |
592 |
+ |
.BI -aC " cachesize" |
593 |
+ |
Set the total number of photons cached when using out-of-core photon |
594 |
+ |
mapping, taking into account the pagesize specified by |
595 |
+ |
.I \-ac. |
596 |
+ |
Note that this is approximate as the number of cache pages is rounded to |
597 |
+ |
the nearest prime. This allows adapting the cache to the available physical |
598 |
+ |
memory. Cache performance is less sensitive to this parameter, and reasonable |
599 |
+ |
performance can obtained with as few as 10k photons. The default is 1M. This |
600 |
+ |
option recognises multiplier suffixes (k = 1e3, M = 1e6), both in upper and |
601 |
+ |
lower case. |
602 |
+ |
.TP |
603 |
|
.BI -me " rext gext bext" |
604 |
|
Set the global medium extinction coefficient to the indicated color, |
605 |
|
in units of 1/distance (distance in world coordinates). |
662 |
|
termination, and the |
663 |
|
.I -lw |
664 |
|
setting (below) must be positive. |
665 |
< |
If N is a negative integer, then this sets the upper limit |
666 |
< |
of reflections past which Russian roulette will be used. |
665 |
> |
If N is a negative integer, then this limits the maximum |
666 |
> |
number of reflections even with Russian roulette. |
667 |
|
In scenes with dielectrics and total internal reflection, |
668 |
|
a setting of 0 (no limit) may cause a stack overflow. |
669 |
|
.TP |
910 |
|
Greg Ward |
911 |
|
.SH "SEE ALSO" |
912 |
|
getinfo(1), lookamb(1), mkpmap(1), oconv(1), pdfblur(1), pfilt(1), |
913 |
< |
pinterp(1), pmblur(1), printf(3), ra_rgbe(1), rad(1), rtrace(1), rvu(1) |
913 |
> |
pinterp(1), pmblur(1), printf(3), ra_rgbe(1), rad(1), rpiece(1), rtpict(1), rtrace(1), rvu(1) |