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.7 by greg, Fri Nov 1 15:32:58 2013 UTC vs.
Revision 1.13 by greg, Mon Sep 12 20:31:34 2016 UTC

# Line 21 | Line 21 | rcontrib - compute contribution coefficients in a RADI
21   ][
22   .B "\-o ospec"
23   ][
24 + .B "\-p p1=V1,p2=V2"
25 + ][
26   .B "\-b binv"
27   ][
28   .B "\-bn nbins"
# Line 156 | Line 158 | The
158   option may be used to further define
159   a "bin number" within each object if finer resolution is needed, and
160   this will be applied to a "%d" format in the output file
161 < specification if present.
161 > specification if present.
162 > (The final integer will be offset incrementally
163 > if the output is a RADIANCE picture and more than one modifier has
164 > the same format specification.)\0
165   The actual bin number is computed at run time based on ray direction
166   and surface intersection, as described below.
167   The number of bins must be specified in advance with the
# Line 171 | Line 176 | or
176   option.
177   Since bin numbers start from zero, the bin count is always equal to
178   the last bin plus one.
174 Set the this value to zero if the bin count is unknown (the default).
179   The most recent
180 + .I \-p,
181   .I \-b,
182   .I \-bn
183   and
# Line 202 | Line 207 | These parameters may be combined with definitions give
207   arguments and files read using the
208   .I \-f
209   option.
210 + Additional parameter values that apply only to this modifier may be specified
211 + with a
212 + .I \-p
213 + option, which contains a list of variable names and assigned values, separated
214 + by commas or semicolons.
215   The computed bin value will be
216   rounded to the nearest whole number.
217 + (Negative bin values will be silently ignored.)\0
218 + For a single bin, you may specify
219 + .I "\-b 0",
220 + which is the default.
221   This mechanism allows the user to define precise regions or directions
222   they wish to accumulate, such as the Tregenza sky discretization,
223   which would be otherwise impossible to specify
# Line 212 | Line 226 | The rules and predefined functions available for these
226   described in the
227   .I rcalc(1)
228   man page.
229 < Unlike
229 > Like
230   .I rcalc,
231   .I rcontrib
232   will search the RADIANCE library directories for each file given in a
# Line 267 | Line 281 | A command argument beginning with a dollar sign ('$')
281   replaced by the contents of the given environment variable.
282   A command argument beginning with an at sign ('@') is immediately
283   replaced by the contents of the given file.
284 + .PP
285 + .I Rcontrib
286 + has EXPERIMENTAL support for light source contributions from photon maps
287 + generated by
288 + .I mkpmap(1)
289 + with its
290 + .I -apC
291 + option. In photon mapping mode,
292 + .I rcontrib
293 + only supports contributions from light sources, not arbitrary modifiers.
294 + The
295 + .I -b
296 + option is supported along with its associated ray variables, as
297 + discussed above. Ray coefficients are also supported via the
298 + .I \-V-
299 + option. Using fewer photons than there are light sources for the photon
300 + density estimates results in omitted contributions, thus the bandwidth
301 + is clamped accordingly and a warning issued.
302   .SH EXAMPLES
303   To compute the proportional contributions from sources modified
304   by "light1" vs. "light2" on a set of illuminance values:
# Line 289 | Line 321 | To compute an array of illuminance contributions accor
321   .IP "" .2i
322   rcontrib \-I+ \-f tregenza.cal \-b tbin \-bn Ntbins \-o sky.dat \-m skyglow
323   \-b 0 \-o ground.dat \-m groundglow @render.opt scene.oct < test.dat
324 + .PP
325 + To perform an annual simulation of 365 daily sun positions in photon mapping
326 + mode:
327 + .IP "" .2i
328 + rcontrib \-I+ \-h \-V \-fo \-o c_%s.dat \-M lights \-ap contrib.pm 365
329 + scene.oct < test.dat,
330   .SH ENVIRONMENT
331   RAYPATH         path to search for \-f and \-M files
332   .SH AUTHOR
333   Greg Ward
334   .SH "SEE ALSO"
335 < cnt(1), genklemsamp(1), getinfo(1), pcomb(1), pfilt(1), ra_rgbe(1),
336 < rcalc(1), rpict(1), rsensor(1), rtrace(1), total(1), vwrays(1), ximage(1)
335 > cnt(1), genklemsamp(1), getinfo(1), mkpmap(1), pcomb(1), pfilt(1),
336 > ra_rgbe(1), rcalc(1), rfluxmtx(1), rmtxop(1), rpict(1), rsensor(1),
337 > rtrace(1), total(1), vwrays(1), ximage(1)
338 >

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines