ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/rcontrib.1
(Generate patch)

Comparing ray/doc/man/man1/rcontrib.1 (file contents):
Revision 1.13 by greg, Mon Sep 12 20:31:34 2016 UTC vs.
Revision 1.20 by greg, Wed Oct 19 18:23:14 2022 UTC

# Line 9 | Line 9 | rcontrib - compute contribution coefficients in a RADI
9   ][
10   .B \-V
11   ][
12 + .B "\-t secs"
13 + ][
14   .B "\-c count"
15   ][
16   .B \-fo
# Line 119 | Line 121 | Note that output flushing via zero-direction rays is d
121   .I \-c
122   set to zero.
123   .PP
124 + Output flushing at fixed intervals may be enabled with the
125 + .I \-x
126 + option, which specifies the number of records
127 + (-c accumulations) before each flush.
128 + If the
129 + .I \-y
130 + option is also set, then periodic flushing is disabled and the
131 + output size for an RGB image is the taken from the x and y dimensions.
132 + In lieu of periodic flushing, a flush may be forced as mentioned above
133 + by sending a sample with a zero direction vector, although you
134 + must still send a full record of rays before output occurs.
135 + .PP
136 + If progress reports are desired, the
137 + .I \-t
138 + option specifies a time interval in seconds for reports sent to
139 + standard error.
140 + This requires that the number of input samples is known, meaning a
141 + .I \-y
142 + parameter has been specified.
143 + .PP
144   The output of
145   .I rcontrib
146   has many potential uses.
# Line 211 | Line 233 | Additional parameter values that apply only to this mo
233   with a
234   .I \-p
235   option, which contains a list of variable names and assigned values, separated
236 < by commas or semicolons.
236 > by commas, colons, or semicolons.
237   The computed bin value will be
238   rounded to the nearest whole number.
239   (Negative bin values will be silently ignored.)\0
# Line 283 | Line 305 | A command argument beginning with an at sign ('@') is
305   replaced by the contents of the given file.
306   .PP
307   .I Rcontrib
308 < has EXPERIMENTAL support for light source contributions from photon maps
287 < generated by
308 > supports light source contributions from photon maps generated by
309   .I mkpmap(1)
310   with its
311   .I -apC
312 < option. In photon mapping mode,
312 > option. Enabling photon mapping is described in the
313 > .I rtrace
314 > man page along with its relevant settings. In photon mapping mode,
315   .I rcontrib
316   only supports contributions from light sources, not arbitrary modifiers.
317   The
# Line 298 | Line 321 | discussed above. Ray coefficients are also supported v
321   .I \-V-
322   option. Using fewer photons than there are light sources for the photon
323   density estimates results in omitted contributions, thus the bandwidth
324 < is clamped accordingly and a warning issued.
324 > is clamped accordingly and a warning is issued.
325   .SH EXAMPLES
326   To compute the proportional contributions from sources modified
327 < by "light1" vs. "light2" on a set of illuminance values:
327 > by "light1" vs. "light2" on a set of irradiance values:
328   .IP "" .2i
329   rcontrib \-I+ @render.opt \-o c_%s.dat \-m light1 \-m light2 scene.oct < test.dat
330   .PP
# Line 317 | Line 340 | of light1 and light2:
340   .IP "" .2i
341   pcomb \-c 100 90 75 c_light1.hdr \-c 50 55 57 c_light2.hdr > combined.hdr
342   .PP
343 < To compute an array of illuminance contributions according to a Tregenza sky:
343 > To compute an array of irradiance contributions according to a Tregenza sky:
344   .IP "" .2i
345   rcontrib \-I+ \-f tregenza.cal \-b tbin \-bn Ntbins \-o sky.dat \-m skyglow
346   \-b 0 \-o ground.dat \-m groundglow @render.opt scene.oct < test.dat
# Line 329 | Line 352 | rcontrib \-I+ \-h \-V \-fo \-o c_%s.dat \-M lights \-a
352   scene.oct < test.dat,
353   .SH ENVIRONMENT
354   RAYPATH         path to search for \-f and \-M files
355 + .SH BUGS
356 + We do not currently compute contributions or coefficients properly
357 + in scenes with participating media.
358 + A single warning will be issued if a scattering or absorbing medium
359 + is detected.
360   .SH AUTHOR
361   Greg Ward
362   .SH "SEE ALSO"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines