| 1 |
|
.\" RCSid "$Id$" |
| 2 |
|
.TH RTPICT 1 3/19/2018 RADIANCE |
| 3 |
|
.SH NAME |
| 4 |
< |
rtpict - generate a RADIANCE picture or layerd image using rtrace |
| 4 |
> |
rtpict - generate a RADIANCE picture or layered image using rtrace |
| 5 |
|
.SH SYNOPSIS |
| 6 |
|
.B rtpict |
| 7 |
|
.B "-n nproc" |
| 62 |
|
.sp |
| 63 |
|
.nf |
| 64 |
|
v radiance.hdr |
| 65 |
< |
r mirrored.hdr |
| 66 |
< |
x unmirrored.hdr |
| 67 |
< |
l effective.dpt |
| 68 |
< |
L firstsurface.dpt |
| 69 |
< |
R mirrored.dpt |
| 70 |
< |
X unmirrored.dpt |
| 65 |
> |
r r_refl.hdr |
| 66 |
> |
x r_unrefl.hdr |
| 67 |
> |
l d_effective.dpt |
| 68 |
> |
L d_firstsurf.dpt |
| 69 |
> |
R d_refl.dpt |
| 70 |
> |
X d_unrefl.dpt |
| 71 |
|
n perturbed.nrm |
| 72 |
|
N unperturbed.nrm |
| 73 |
|
s surface.idx |
| 84 |
|
.I rcode_depth(1), |
| 85 |
|
and the |
| 86 |
|
.I \-d |
| 87 |
< |
option should be used to assign the reference (median) depth and units. |
| 87 |
> |
option should be used to assign the reference (median) depth and world |
| 88 |
> |
units, which applies to the overall scene. |
| 89 |
|
Surface normals (from the 'n' and 'N' types) will be converted |
| 90 |
|
to a 32-bit representation by |
| 91 |
|
.I rcode_normal(1). |
| 109 |
|
To render radiance, first surface distance, and normals in a layered image: |
| 110 |
|
.IP "" .2i |
| 111 |
|
rtpict -n 8 -vf fish.vf @render.opt -ovLn fisholay scene.oct |
| 112 |
+ |
.SH NOTES |
| 113 |
+ |
Users should seriously consider using |
| 114 |
+ |
.I rpiece(1) |
| 115 |
+ |
when irradiance caching is employed with a shared ambient file. |
| 116 |
+ |
If |
| 117 |
+ |
.I rtpict |
| 118 |
+ |
is used in multiprocessing mode with a shared irradiance cache, |
| 119 |
+ |
it is trying to compute almost |
| 120 |
+ |
the same part of the same scanline in different processes, which |
| 121 |
+ |
results in many redundant calculations. |
| 122 |
+ |
The |
| 123 |
+ |
.I rpiece |
| 124 |
+ |
program avoids this by working on separate tiles in each |
| 125 |
+ |
process, with less overlap in the indirect irradiance calculation. |
| 126 |
+ |
Either program will benefit from an "overture" run of a |
| 127 |
+ |
single-process rpict to create the ambient file using a low-resolution |
| 128 |
+ |
rendering that is discarded, but this will not completely solve the |
| 129 |
+ |
problem for |
| 130 |
+ |
.I rtpict. |
| 131 |
|
.SH AUTHOR |
| 132 |
|
Greg Ward |
| 133 |
|
.SH "SEE ALSO" |