1 |
|
.\" RCSid "$Id$" |
2 |
|
.TH RTPICT 1 3/19/2018 RADIANCE |
3 |
|
.SH NAME |
4 |
< |
rtpict - generate a RADIANCE picture using rtrace |
4 |
> |
rtpict - generate a RADIANCE picture or layerd image using rtrace |
5 |
|
.SH SYNOPSIS |
6 |
|
.B rtpict |
7 |
|
.B "-n nproc" |
8 |
|
[ |
9 |
+ |
.B "-o[vrxlLRXnNsmM] out_dir" |
10 |
+ |
][ |
11 |
+ |
.B "-d ref_depth/unit" |
12 |
+ |
] |
13 |
+ |
[ |
14 |
|
.B "rpict options" |
15 |
|
] |
16 |
|
[ |
48 |
|
.I \-af |
49 |
|
option if an irradiance cache is being generated; |
50 |
|
otherwise, your speed-up will be far from linear. |
51 |
< |
.SH EXAMPLE |
51 |
> |
.PP |
52 |
> |
If the |
53 |
> |
.I \-o |
54 |
> |
option has additional characters corresponding to output types from |
55 |
> |
.I rtrace, |
56 |
> |
it must be followed by the name of a directory that either exists or |
57 |
> |
will be created to contain image layers, one per output type. |
58 |
> |
The supported types are listed below, and do not include types that |
59 |
> |
are useless or have no convenient representation. |
60 |
> |
The table below shows the correspondence between output type and file name |
61 |
> |
in the specified directory: |
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 |
71 |
> |
n perturbed.nrm |
72 |
> |
N unperturbed.nrm |
73 |
> |
s surface.idx |
74 |
> |
m modifier.idx |
75 |
> |
M material.idx |
76 |
> |
.fi |
77 |
> |
.sp |
78 |
> |
Different encodings are associated with different data types. |
79 |
> |
Color data (from the 'v', 'r', and 'x' types) will be converted to |
80 |
> |
a flat RGBE picture by |
81 |
> |
.I pvalue(1). |
82 |
> |
Distances (from the 'l', 'L', 'R', and 'X' types) will be |
83 |
> |
converted to a 16-bit representation by |
84 |
> |
.I rcode_depth(1), |
85 |
> |
and the |
86 |
> |
.I \-d |
87 |
> |
option should be used to assign the reference (median) depth and units. |
88 |
> |
Surface normals (from the 'n' and 'N' types) will be converted |
89 |
> |
to a 32-bit representation by |
90 |
> |
.I rcode_normal(1). |
91 |
> |
Finally, identifiers (from the 's', 'm', and 'M' types) will be |
92 |
> |
converted to a 16-bit index format by |
93 |
> |
.I rcode_ident(1). |
94 |
> |
.PP |
95 |
> |
If the |
96 |
> |
.I \-i |
97 |
> |
option is used to turn on irradiane output, then the picture associated |
98 |
> |
with the 'v' type will be renamed |
99 |
> |
.I "irradiance.hdr" |
100 |
> |
and some other output types become irrelevant (i.e., 'r', 'x', 'R', and 'X'). |
101 |
> |
If one or more of the associated output files already exists in the |
102 |
> |
destination directory, it will be overwritten with the new data. |
103 |
> |
.SH EXAMPLES |
104 |
|
To render a scene with four processes: |
105 |
|
.IP "" .2i |
106 |
|
rtpict -n 4 -vf mypers.vf -ab 1 -af scene.amb scene.oct > scene_pers.hdr |
107 |
+ |
.PP |
108 |
+ |
To render radiance, first surface distance, and normals in a layered image: |
109 |
+ |
.IP "" .2i |
110 |
+ |
rtpict -n 8 -vf fish.vf @render.opt -ovLn fisholay scene.oct |
111 |
|
.SH AUTHOR |
112 |
|
Greg Ward |
113 |
|
.SH "SEE ALSO" |
114 |
< |
getinfo(1), lookamb(1), mkpmap(1), oconv(1), pdfblur(1), pfilt(1), |
115 |
< |
pinterp(1), pmblur(1), printf(3), ra_rgbe(1), rad(1), rpiece(1), |
116 |
< |
rpict(1), rtrace(1), rvu(1) vwrays(1), |
114 |
> |
getinfo(1), mkpmap(1), oconv(1), pfilt(1), |
115 |
> |
pvalue(1), rad(1), rcode_depth(1), rcode_normal(1), rcode_ident(1), |
116 |
> |
rpiece(1), rpict(1), rsplit(1), rtrace(1), rvu(1), vwrays(1), |