ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/Development/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.27 by greg, Thu Oct 23 23:34:59 2025 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
17   |
18   .B \-r
19   ][
18 .B "\-e expr"
19 ][
20 .B "\-f source"
21 ][
20   .B "\-o ospec"
21   ][
22   .B "\-p p1=V1,p2=V2"
# Line 43 | Line 41 | rtrace options
41   .B octree
42   .br
43   .B "rcontrib [ options ] \-defaults"
44 + .br
45 + .B "rcontrib \-features [feat1 ..]"
46   .SH DESCRIPTION
47   .I Rcontrib
48   computes ray coefficients
# Line 119 | Line 119 | Note that output flushing via zero-direction rays is d
119   .I \-c
120   set to zero.
121   .PP
122 + Output flushing at fixed intervals may be enabled with the
123 + .I \-x
124 + option, which specifies the number of records
125 + (-c accumulations) before each flush.
126 + If the
127 + .I \-y
128 + option is also set, then periodic flushing is disabled and the
129 + output size for an RGB image is the taken from the x and y dimensions.
130 + In lieu of periodic flushing, a flush may be forced as mentioned above
131 + by sending a sample with a zero direction vector, although you
132 + must still send a full record of rays before output occurs.
133 + .PP
134 + If progress reports are desired, the
135 + .I \-t
136 + option specifies a time interval in seconds for reports sent to
137 + standard error.
138 + This requires that the number of input samples is known, meaning a
139 + .I \-y
140 + parameter has been specified.
141 + .PP
142   The output of
143   .I rcontrib
144   has many potential uses.
# Line 184 | Line 204 | and
204   .I \-o
205   options to the left of each
206   .I \-m
207 < setting are the ones used for that modifier.
207 > name are the ones used for that modifier.
208 > Any
209 > .I \-cs
210 > option changing the number of spectral color
211 > samples must appear before the first modifier.
212   The ordering of other options is unimportant, except for
213   .I \-x
214   and
# Line 211 | Line 235 | Additional parameter values that apply only to this mo
235   with a
236   .I \-p
237   option, which contains a list of variable names and assigned values, separated
238 < by commas or semicolons.
238 > by commas, colons, or semicolons.
239   The computed bin value will be
240   rounded to the nearest whole number.
241   (Negative bin values will be silently ignored.)\0
# Line 226 | Line 250 | The rules and predefined functions available for these
250   described in the
251   .I rcalc(1)
252   man page.
253 < Like
230 < .I rcalc,
253 > Like the other rendering tools,
254   .I rcontrib
255 < will search the RADIANCE library directories for each file given in a
255 > will search the
256 > .I RAYPATH
257 > library directories for each file given in a
258   .I \-f
259   option.
260 + However, a special evaluation context is set for the
261 + .I \-f
262 + and
263 + .I \-e
264 + definitions, so attach a back-quote ('`') to variable and function names
265 + you wish these to apply at the global evaluation level and used by all
266 + materials and modifiers during rendering.
267   .PP
268   If no
269   .I \-o
# Line 283 | Line 315 | A command argument beginning with an at sign ('@') is
315   replaced by the contents of the given file.
316   .PP
317   .I Rcontrib
318 < has EXPERIMENTAL support for light source contributions from photon maps
287 < generated by
318 > supports light source contributions from photon maps generated by
319   .I mkpmap(1)
320   with its
321   .I -apC
322 < option. In photon mapping mode,
322 > option. Enabling photon mapping is described in the
323 > .I rtrace
324 > man page along with its relevant settings. In photon mapping mode,
325   .I rcontrib
326   only supports contributions from light sources, not arbitrary modifiers.
327   The
# Line 298 | Line 331 | discussed above. Ray coefficients are also supported v
331   .I \-V-
332   option. Using fewer photons than there are light sources for the photon
333   density estimates results in omitted contributions, thus the bandwidth
334 < is clamped accordingly and a warning issued.
334 > is clamped accordingly and a warning is issued.
335   .SH EXAMPLES
336   To compute the proportional contributions from sources modified
337 < by "light1" vs. "light2" on a set of illuminance values:
337 > by "light1" vs. "light2" on a set of irradiance values:
338   .IP "" .2i
339   rcontrib \-I+ @render.opt \-o c_%s.dat \-m light1 \-m light2 scene.oct < test.dat
340   .PP
# Line 317 | Line 350 | of light1 and light2:
350   .IP "" .2i
351   pcomb \-c 100 90 75 c_light1.hdr \-c 50 55 57 c_light2.hdr > combined.hdr
352   .PP
353 < To compute an array of illuminance contributions according to a Tregenza sky:
353 > To compute an array of irradiance contributions according to a Tregenza sky:
354   .IP "" .2i
355   rcontrib \-I+ \-f tregenza.cal \-b tbin \-bn Ntbins \-o sky.dat \-m skyglow
356   \-b 0 \-o ground.dat \-m groundglow @render.opt scene.oct < test.dat
# Line 329 | Line 362 | rcontrib \-I+ \-h \-V \-fo \-o c_%s.dat \-M lights \-a
362   scene.oct < test.dat,
363   .SH ENVIRONMENT
364   RAYPATH         path to search for \-f and \-M files
365 + .SH BUGS
366 + We do not currently compute contributions or coefficients properly
367 + in scenes with participating media.
368 + A single warning will be issued if a scattering or absorbing medium
369 + is detected.
370   .SH AUTHOR
371   Greg Ward
372   .SH "SEE ALSO"
373 < cnt(1), genklemsamp(1), getinfo(1), mkpmap(1), pcomb(1), pfilt(1),
374 < ra_rgbe(1), rcalc(1), rfluxmtx(1), rmtxop(1), rpict(1), rsensor(1),
375 < rtrace(1), total(1), vwrays(1), ximage(1)
373 > cnt(1), dctimestep(1), genklemsamp(1), getinfo(1), mkpmap(1), pcomb(1), pfilt(1),
374 > pvsum(1), ra_rgbe(1), rcalc(1), rcomb(1), rfluxmtx(1), rmtxop(1), rpict(1),
375 > rsensor(1), rtrace(1), rxfluxmtx(1), total(1), vwrays(1), ximage(1)
376  

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)