101 |
|
option tells |
102 |
|
.I rcontrib |
103 |
|
how many rays to accumulate for each record. |
104 |
< |
The default value is 1, meaning a full record will be produced for |
104 |
> |
The default value is one, meaning a full record will be produced for |
105 |
|
each input ray. |
106 |
< |
For values greater than 1, contributions will be averaged together |
106 |
> |
For values greater than one, contributions will be averaged together |
107 |
|
over the given number of input rays. |
108 |
|
If set to zero, only a single record will be produced at the very |
109 |
|
end, corresponding to the sum of all rays given on the input |
113 |
|
to sum RGB values together, but is much more efficient. |
114 |
|
Using this option, it is possible to reverse sampling, sending rays from |
115 |
|
a parallel source such as the sun to a diffuse surface, for example. |
116 |
< |
Note that output flushing via zero-direction rays is disabled |
117 |
< |
for accumulated evaluations. |
116 |
> |
Note that output flushing via zero-direction rays is disabled with |
117 |
> |
.I \-c |
118 |
> |
set to zero. |
119 |
|
.PP |
120 |
|
The output of |
121 |
|
.I rcontrib |
159 |
|
specification if present. |
160 |
|
The actual bin number is computed at run time based on ray direction |
161 |
|
and surface intersection, as described below. |
162 |
< |
If the number of bins is known in advance, it should be specified with the |
162 |
> |
The number of bins must be specified in advance with the |
163 |
|
.I \-bn |
164 |
|
option, and this is critical for output files containing multiple values |
165 |
|
per record. |
169 |
|
or |
170 |
|
.I \-e |
171 |
|
option. |
172 |
< |
Since bin numbers start from 0, the bin count is always equal to |
173 |
< |
the last bin plus 1. |
173 |
< |
Set the this value to 0 if the bin count is unknown (the default). |
172 |
> |
Since bin numbers start from zero, the bin count is always equal to |
173 |
> |
the last bin plus one. |
174 |
|
The most recent |
175 |
|
.I \-b, |
176 |
|
.I \-bn |
185 |
|
.I \-y |
186 |
|
if the |
187 |
|
.I \-c |
188 |
< |
is 0, when they control the resolution string |
188 |
> |
is zero, when they control the resolution string |
189 |
|
produced in the corresponding output. |
190 |
|
.PP |
191 |
|
If a |
203 |
|
option. |
204 |
|
The computed bin value will be |
205 |
|
rounded to the nearest whole number. |
206 |
+ |
For a single bin, you may specify |
207 |
+ |
.I "\-b 0", |
208 |
+ |
which is the default. |
209 |
|
This mechanism allows the user to define precise regions or directions |
210 |
|
they wish to accumulate, such as the Tregenza sky discretization, |
211 |
|
which would be otherwise impossible to specify |
214 |
|
described in the |
215 |
|
.I rcalc(1) |
216 |
|
man page. |
217 |
< |
Unlike |
217 |
> |
Like |
218 |
|
.I rcalc, |
219 |
|
.I rcontrib |
220 |
|
will search the RADIANCE library directories for each file given in a |
289 |
|
.PP |
290 |
|
To compute an array of illuminance contributions according to a Tregenza sky: |
291 |
|
.IP "" .2i |
292 |
< |
rcontrib \-I+ \-b tbin \-o sky.dat \-m skyglow \-b 0 \-o ground.dat \-m groundglow |
293 |
< |
@render.opt \-f tregenza.cal scene.oct < test.dat |
292 |
> |
rcontrib \-I+ \-f tregenza.cal \-b tbin \-bn Ntbins \-o sky.dat \-m skyglow |
293 |
> |
\-b 0 \-o ground.dat \-m groundglow @render.opt scene.oct < test.dat |
294 |
|
.SH ENVIRONMENT |
295 |
|
RAYPATH path to search for \-f and \-M files |
296 |
|
.SH AUTHOR |