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

Comparing ray/doc/man/man1/rtcontrib.1 (file contents):
Revision 1.16 by greg, Tue Sep 4 17:36:41 2007 UTC vs.
Revision 1.17 by greg, Sat Nov 17 01:13:50 2007 UTC

# Line 9 | Line 9 | rtcontrib - compute contribution coefficients in a RAD
9   ][
10   .B \-V
11   ][
12 + .B \-c
13 + ][
14   .B \-fo
15   |
16   .B \-r
# Line 95 | Line 97 | More generally,
97   can be used to compute arbitrary input-output relationships in optical
98   systems, such as luminaires, light pipes, and shading devices.
99   .PP
100 + Setting the
101 + .I \-c
102 + option instructs
103 + .I rtcontrib
104 + to accumulate values rather than reporting one record per ray.
105 + With this option, only a single record will be produced at the very
106 + end, corresponding to the sum of all rays given on the input.
107 + This is equivalent to passing all the output records through a program like
108 + .I total(1)
109 + to sum RGB values together, but is much more efficient.
110 + Using this option, it is possible to reverse sampling, sending rays from
111 + a parallel source such as the sun to a diffuse surface, for example.
112 + Care must be taken to perform normalization based on the
113 + radiation density and the number of rays sampled.
114 + .PP
115   .I Rtcontrib
116   calls
117   .I rtrace(1)
# Line 112 | Line 129 | option is given.
129   If instead the
130   .I \-r
131   option is specified, data recovery is attempted on existing files.
132 + (If
133 + .I \-c
134 + is used together with the
135 + .I \-r
136 + option, existing files are read in and new ray evaluations are added
137 + to the previous results, providing a convenient means for
138 + progressive simulation.)\0
139   If an output specification contains a "%s" format, this will be
140   replaced by the modifier name.
141   The
# Line 137 | Line 161 | and
161   options to the left of each
162   .I \-m
163   setting affect only that modifier.
164 < (The ordering of other options is unimportant.)\0
164 > The ordering of other options is unimportant, except for
165 > .I \-x
166 > and
167 > .I \-y
168 > if the
169 > .I \-c
170 > is present, when they control the resolution string
171 > produced in the corresponding output.
172   .PP
173   If a
174   .I \-b
# Line 257 | Line 288 | RAYPATH                path to search for \-f and \-M files
288   Greg Ward
289   .SH "SEE ALSO"
290   cnt(1), getinfo(1), pcomb(1), pfilt(1), ra_rgbe(1),
291 < rcalc(1), rpict(1), rtrace(1), vwrays(1), ximage(1)
291 > rcalc(1), rpict(1), rtrace(1), total(1), vwrays(1), ximage(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines