278 |
|
replaced by the contents of the given environment variable. |
279 |
|
A command argument beginning with an at sign ('@') is immediately |
280 |
|
replaced by the contents of the given file. |
281 |
+ |
.PP |
282 |
+ |
.I Rcontrib |
283 |
+ |
has EXPERIMENTAL support for light source contributions from photon maps |
284 |
+ |
generated by |
285 |
+ |
.I mkpmap(1) |
286 |
+ |
with its |
287 |
+ |
.I -apC |
288 |
+ |
option. In photon mapping mode, |
289 |
+ |
.I rcontrib |
290 |
+ |
only supports contributions from light sources, not arbitrary modifiers. |
291 |
+ |
The |
292 |
+ |
.I -b |
293 |
+ |
option is supported along with its associated ray variables, as |
294 |
+ |
discussed above. Ray coefficients are also supported via the |
295 |
+ |
.I \-V- |
296 |
+ |
option. Using fewer photons than there are light sources for the photon |
297 |
+ |
density estimates results in omitted contributions, thus the bandwidth |
298 |
+ |
is clamped accordingly and a warning issued. |
299 |
|
.SH EXAMPLES |
300 |
|
To compute the proportional contributions from sources modified |
301 |
|
by "light1" vs. "light2" on a set of illuminance values: |
318 |
|
.IP "" .2i |
319 |
|
rcontrib \-I+ \-f tregenza.cal \-b tbin \-bn Ntbins \-o sky.dat \-m skyglow |
320 |
|
\-b 0 \-o ground.dat \-m groundglow @render.opt scene.oct < test.dat |
321 |
+ |
.PP |
322 |
+ |
To perform an annual simulation of 365 daily sun positions in photon mapping |
323 |
+ |
mode: |
324 |
+ |
.IP "" .2i |
325 |
+ |
rcontrib \-I+ \-h \-V \-fo \-o c_%s.dat \-M lights \-ap contrib.pm 365 |
326 |
+ |
scene.oct < test.dat, |
327 |
|
.SH ENVIRONMENT |
328 |
|
RAYPATH path to search for \-f and \-M files |
329 |
|
.SH AUTHOR |
330 |
|
Greg Ward |
331 |
|
.SH "SEE ALSO" |
332 |
< |
cnt(1), genklemsamp(1), getinfo(1), pcomb(1), pfilt(1), ra_rgbe(1), |
333 |
< |
rcalc(1), rfluxmtx(1), rmtxop(1), |
334 |
< |
rpict(1), rsensor(1), rtrace(1), total(1), vwrays(1), ximage(1) |
332 |
> |
cnt(1), genklemsamp(1), getinfo(1), mkpmap(1), pcomb(1), pfilt(1), |
333 |
> |
ra_rgbe(1), rcalc(1), rfluxmtx(1), rmtxop(1), rpict(1), rsensor(1), |
334 |
> |
rtrace(1), total(1), vwrays(1), ximage(1) |
335 |
> |
|