98 |
|
.I Rtcontrib |
99 |
|
calls |
100 |
|
.I rtrace(1) |
101 |
< |
with the -oTW (or -oTV) option to calculate the daughter ray |
101 |
> |
with the \-oTW (or \-oTV) option to calculate the daughter ray |
102 |
|
contributions for each input ray, and the output tallies |
103 |
|
are sent to one or more destinations according to the given |
104 |
|
.I \-o |
233 |
|
To compute the proportional contributions from sources modified |
234 |
|
by "light1" vs. "light2" on a set of illuminance values: |
235 |
|
.IP "" .2i |
236 |
< |
rtcontrib -I+ @render.opt -o c_%s.dat -m light1 -m light2 scene.oct < test.dat |
236 |
> |
rtcontrib \-I+ @render.opt \-o c_%s.dat \-m light1 \-m light2 scene.oct < test.dat |
237 |
|
.PP |
238 |
|
To generate a pair of images corresponding to these two lights' |
239 |
|
contributions: |
240 |
|
.IP "" .2i |
241 |
< |
vwrays -ff -x 1024 -y 1024 -vf best.vf | |
242 |
< |
rtcontrib -ffc `vwrays -d -x 1024 -y 1024 -vf best.vf` |
243 |
< |
@render.opt -o c_%s.pic -m light1 -m light2 scene.oct |
241 |
> |
vwrays \-ff \-x 1024 \-y 1024 \-vf best.vf | |
242 |
> |
rtcontrib \-ffc `vwrays \-d \-x 1024 \-y 1024 \-vf best.vf` |
243 |
> |
@render.opt \-o c_%s.pic \-m light1 \-m light2 scene.oct |
244 |
|
.PP |
245 |
|
These images may then be recombined using the desired outputs |
246 |
|
of light1 and light2: |
247 |
|
.IP "" .2i |
248 |
< |
pcomb -c 100 90 75 c_light1.pic -c 50 55 57 c_light2.pic > combined.pic |
248 |
> |
pcomb \-c 100 90 75 c_light1.pic \-c 50 55 57 c_light2.pic > combined.pic |
249 |
|
.PP |
250 |
|
To compute an array of illuminance contributions according to a Tregenza sky: |
251 |
|
.IP "" .2i |
252 |
< |
rtcontrib -I+ -b tbin -o sky.dat -m skyglow -b 0 -o ground.dat -m groundglow |
253 |
< |
@render.opt -f tregenza.cal scene.oct < test.dat |
252 |
> |
rtcontrib \-I+ \-b tbin \-o sky.dat \-m skyglow \-b 0 \-o ground.dat \-m groundglow |
253 |
> |
@render.opt \-f tregenza.cal scene.oct < test.dat |
254 |
|
.SH ENVIRONMENT |
255 |
< |
RAYPATH path to search for -f and -M files |
255 |
> |
RAYPATH path to search for \-f and \-M files |
256 |
|
.SH AUTHOR |
257 |
|
Greg Ward |
258 |
|
.SH "SEE ALSO" |