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, hyperspectral image, or layers using rtrace |
5 |
|
.SH SYNOPSIS |
6 |
|
.B rtpict |
7 |
|
.B "-n nproc" |
8 |
|
[ |
9 |
+ |
.B -co |
10 |
+ |
][ |
11 |
|
.B "-o[vrxlLRXnNsmM] out_dir" |
12 |
|
][ |
13 |
|
.B "-d ref_depth/unit" |
21 |
|
.B octree |
22 |
|
.SH DESCRIPTION |
23 |
|
.I Rtpict |
24 |
< |
is a script that generates a picture from the RADIANCE scene given in |
24 |
> |
is a script that generates a picture or hyperspectral image |
25 |
> |
from the RADIANCE scene given in |
26 |
|
.I octree |
27 |
|
and sends it to the standard output, or to a file specified with the |
28 |
|
.I \-o |
29 |
|
option. |
30 |
|
Most options and defaults are the same as |
31 |
|
.I rpict(1), |
32 |
< |
although a few switches are silently ignored. |
33 |
< |
Options incompatible with multi-processing can generate an error. |
32 |
> |
although a few options are silently ignored, and the |
33 |
> |
.I rtrace(1) |
34 |
> |
.I \-co |
35 |
> |
boolean switch is supported. |
36 |
> |
Options incompatible with multi-processing may generate an error. |
37 |
|
.PP |
38 |
|
The |
39 |
< |
.I rtrace(1) |
39 |
> |
.I rtrace |
40 |
|
tool is called with |
41 |
|
.I vwrays(1) |
42 |
|
to perform the actual work. |
84 |
|
Different encodings are associated with different data types. |
85 |
|
Color data (from the 'v', 'r', and 'x' types) will be converted to |
86 |
|
a flat RGBE picture by |
87 |
< |
.I pvalue(1). |
87 |
> |
.I pvalue(1), |
88 |
> |
unless the |
89 |
> |
.I \-co+ |
90 |
> |
option is specified and |
91 |
> |
.I \-cs |
92 |
> |
is greater than 3. |
93 |
> |
In this case, a hyperspectral image will be generated for each |
94 |
> |
of the value types, converted by |
95 |
> |
.I rcomb(1) |
96 |
> |
and with its suffix set to ".hsr" rather than ".hdr". |
97 |
|
Distances (from the 'l', 'L', 'R', and 'X' types) will be |
98 |
|
converted to a 16-bit representation by |
99 |
|
.I rcode_depth(1), |
100 |
|
and the |
101 |
|
.I \-d |
102 |
< |
option should be used to assign the reference (median) depth and units. |
102 |
> |
option should be used to assign the reference (median) depth and world |
103 |
> |
units, which applies to the overall scene. |
104 |
|
Surface normals (from the 'n' and 'N' types) will be converted |
105 |
|
to a 32-bit representation by |
106 |
< |
.I rcode_normal(1). |
106 |
> |
.I rcode_norm(1). |
107 |
|
Finally, identifiers (from the 's', 'm', and 'M' types) will be |
108 |
|
converted to a 16-bit index format by |
109 |
|
.I rcode_ident(1). |
113 |
|
option is used to turn on irradiane output, then the picture associated |
114 |
|
with the 'v' type will be renamed |
115 |
|
.I "irradiance.hdr" |
116 |
< |
and some other output types become irrelevant (i.e., 'r', 'x', 'R', and 'X'). |
116 |
> |
or |
117 |
> |
.I "irradiance.hsr" |
118 |
> |
and some other output types become irrelevant |
119 |
> |
(i.e., 'r', 'x', 'R', and 'X'). |
120 |
|
If one or more of the associated output files already exists in the |
121 |
< |
destination directory, it will be overwritten with the new data. |
121 |
> |
destination directory, an error will be printed and the command will abort. |
122 |
|
.SH EXAMPLES |
123 |
|
To render a scene with four processes: |
124 |
|
.IP "" .2i |
127 |
|
To render radiance, first surface distance, and normals in a layered image: |
128 |
|
.IP "" .2i |
129 |
|
rtpict -n 8 -vf fish.vf @render.opt -ovLn fisholay scene.oct |
130 |
+ |
.PP |
131 |
+ |
To render a hyperspectral irradiance image with 18 spectral samples: |
132 |
+ |
.IP "" .2i |
133 |
+ |
rtpict -vf inside.vf -i+ -cs 18 -co+ scene.oct > scene_inside.hsr |
134 |
|
.SH AUTHOR |
135 |
|
Greg Ward |
136 |
|
.SH "SEE ALSO" |
137 |
|
getinfo(1), mkpmap(1), oconv(1), pfilt(1), |
138 |
< |
pvalue(1), rad(1), rcode_depth(1), rcode_normal(1), rcode_ident(1), |
139 |
< |
rpiece(1), rpict(1), rsplit(1), rtrace(1), rvu(1), vwrays(1), |
138 |
> |
pvalue(1), rad(1), rcode_depth(1), rcode_norm(1), rcode_ident(1), |
139 |
> |
rcomb(1), rcrop(1), rmtxop(1), |
140 |
> |
rpiece(1), rpict(1), rsplit(1), rtrace(1), rvu(1), vwrays(1) |