| 87 |
|
.IP |
| 88 |
|
v value (radiance) |
| 89 |
|
.IP |
| 90 |
+ |
V contribution (radiance) |
| 91 |
+ |
.IP |
| 92 |
|
w weight |
| 93 |
|
.IP |
| 94 |
|
W color coefficient |
| 230 |
|
.I \-f |
| 231 |
|
option, above.) |
| 232 |
|
.TP |
| 233 |
+ |
.BI -n \ nproc |
| 234 |
+ |
Execute in parallel on |
| 235 |
+ |
.I nproc |
| 236 |
+ |
local processes. |
| 237 |
+ |
This option is incompatible with |
| 238 |
+ |
.I \-P |
| 239 |
+ |
and |
| 240 |
+ |
.I \-PP, |
| 241 |
+ |
and is not currently supported with the |
| 242 |
+ |
.I \-I |
| 243 |
+ |
option. |
| 244 |
+ |
Multiple processes also do not work properly with ray tree output |
| 245 |
+ |
using any of the |
| 246 |
+ |
.I \-o*t* |
| 247 |
+ |
options. |
| 248 |
+ |
There is no benefit from specifying more processes than there are |
| 249 |
+ |
cores available on the system or the |
| 250 |
+ |
.I \-x |
| 251 |
+ |
setting, which forces a wait at each flush. |
| 252 |
+ |
.TP |
| 253 |
|
.BI -dj \ frac |
| 254 |
|
Set the direct jittering to |
| 255 |
|
.I frac. |
| 632 |
|
.SH EXAMPLES |
| 633 |
|
To compute radiance values for the rays listed in samples.inp: |
| 634 |
|
.IP "" .2i |
| 635 |
< |
rtrace -ov scene.oct < samples.inp > radiance.out |
| 635 |
> |
rtrace \-ov scene.oct < samples.inp > radiance.out |
| 636 |
|
.PP |
| 637 |
|
To compute illuminance values at locations selected with the 't' |
| 638 |
|
command of |
| 639 |
|
.I ximage(1): |
| 640 |
|
.IP "" .2i |
| 641 |
< |
ximage scene.pic | rtrace -h -x 1 -i scene.oct | rcalc -e '$1=47.4*$1+120*$2+11.6*$3' |
| 641 |
> |
ximage scene.hdr | rtrace \-h \-x 1 \-i scene.oct | rcalc \-e '$1=47.4*$1+120*$2+11.6*$3' |
| 642 |
|
.PP |
| 643 |
|
To record the object identifier corresponding to each pixel in an image: |
| 644 |
|
.IP "" .2i |
| 645 |
< |
vwrays -fd scene.pic | rtrace -fda `vwrays -d scene.pic` -os scene.oct |
| 645 |
> |
vwrays \-fd scene.hdr | rtrace \-fda `vwrays \-d scene.hdr` \-os scene.oct |
| 646 |
|
.PP |
| 647 |
|
To compute an image with an unusual view mapping: |
| 648 |
|
.IP "" .2i |
| 649 |
< |
cnt 640 480 | rcalc -e 'xr:640;yr:480' -f unusual_view.cal | rtrace |
| 650 |
< |
-x 640 -y 480 -fac scene.oct > unusual.pic |
| 649 |
> |
cnt 480 640 | rcalc \-e 'xr:640;yr:480' \-f unusual_view.cal | rtrace |
| 650 |
> |
\-x 640 \-y 480 \-fac scene.oct > unusual.hdr |
| 651 |
|
.SH ENVIRONMENT |
| 652 |
|
RAYPATH the directories to check for auxiliary files. |
| 653 |
|
.SH FILES |