9 |
|
][ |
10 |
|
.B \-V |
11 |
|
][ |
12 |
+ |
.B "\-t secs" |
13 |
+ |
][ |
14 |
|
.B "\-c count" |
15 |
|
][ |
16 |
|
.B \-fo |
45 |
|
.B octree |
46 |
|
.br |
47 |
|
.B "rcontrib [ options ] \-defaults" |
48 |
+ |
.br |
49 |
+ |
.B "rcontrib \-features [feat1 ..]" |
50 |
|
.SH DESCRIPTION |
51 |
|
.I Rcontrib |
52 |
|
computes ray coefficients |
123 |
|
.I \-c |
124 |
|
set to zero. |
125 |
|
.PP |
126 |
+ |
Output flushing at fixed intervals may be enabled with the |
127 |
+ |
.I \-x |
128 |
+ |
option, which specifies the number of records |
129 |
+ |
(-c accumulations) before each flush. |
130 |
+ |
If the |
131 |
+ |
.I \-y |
132 |
+ |
option is also set, then periodic flushing is disabled and the |
133 |
+ |
output size for an RGB image is the taken from the x and y dimensions. |
134 |
+ |
In lieu of periodic flushing, a flush may be forced as mentioned above |
135 |
+ |
by sending a sample with a zero direction vector, although you |
136 |
+ |
must still send a full record of rays before output occurs. |
137 |
+ |
.PP |
138 |
+ |
If progress reports are desired, the |
139 |
+ |
.I \-t |
140 |
+ |
option specifies a time interval in seconds for reports sent to |
141 |
+ |
standard error. |
142 |
+ |
This requires that the number of input samples is known, meaning a |
143 |
+ |
.I \-y |
144 |
+ |
parameter has been specified. |
145 |
+ |
.PP |
146 |
|
The output of |
147 |
|
.I rcontrib |
148 |
|
has many potential uses. |
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 |
326 |
|
is clamped accordingly and a warning is issued. |
327 |
|
.SH EXAMPLES |
328 |
|
To compute the proportional contributions from sources modified |
329 |
< |
by "light1" vs. "light2" on a set of illuminance values: |
329 |
> |
by "light1" vs. "light2" on a set of irradiance values: |
330 |
|
.IP "" .2i |
331 |
|
rcontrib \-I+ @render.opt \-o c_%s.dat \-m light1 \-m light2 scene.oct < test.dat |
332 |
|
.PP |
342 |
|
.IP "" .2i |
343 |
|
pcomb \-c 100 90 75 c_light1.hdr \-c 50 55 57 c_light2.hdr > combined.hdr |
344 |
|
.PP |
345 |
< |
To compute an array of illuminance contributions according to a Tregenza sky: |
345 |
> |
To compute an array of irradiance contributions according to a Tregenza sky: |
346 |
|
.IP "" .2i |
347 |
|
rcontrib \-I+ \-f tregenza.cal \-b tbin \-bn Ntbins \-o sky.dat \-m skyglow |
348 |
|
\-b 0 \-o ground.dat \-m groundglow @render.opt scene.oct < test.dat |