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 |
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 |
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 |