ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/rtpict.1
(Generate patch)

Comparing ray/doc/man/man1/rtpict.1 (file contents):
Revision 1.1 by greg, Tue Mar 20 02:40:38 2018 UTC vs.
Revision 1.16 by greg, Wed Jun 4 20:32:24 2025 UTC

# Line 1 | Line 1
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, hyperspectral image, or layers using rtrace
5   .SH SYNOPSIS
6   .B rtpict
7 < .B "-n N"
7 > .B "-n nproc"
8   [
9 + .B -co
10 + ][
11 + .B "-o[vrxlLRXnNsmM] out_dir"
12 + ][
13 + .B "-d ref_depth/unit"
14 + ]
15 + [
16   .B "rpict options"
17   ]
18   [
# Line 14 | Line 21 | rtpict - generate a RADIANCE picture using rtrace
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.
# Line 43 | Line 54 | Also, it is very important to set the
54   .I \-af
55   option if an irradiance cache is being generated;
56   otherwise, your speed-up will be far from linear.
57 < .SH EXAMPLE
57 > .PP
58 > If the
59 > .I \-o
60 > option has additional characters corresponding to output types from
61 > .I rtrace,
62 > it must be followed by the name of a directory that either exists or
63 > will be created to contain image layers, one per output type.
64 > The supported types are listed below, and do not include types that
65 > are useless or have no convenient representation.
66 > The table below shows the correspondence between output type and file name
67 > in the specified directory:
68 > .sp
69 > .nf
70 > v       radiance.hdr
71 > r       r_refl.hdr
72 > x       r_unrefl.hdr
73 > l       d_effective.dpt
74 > L       d_firstsurf.dpt
75 > R       d_refl.dpt
76 > X       d_unrefl.dpt
77 > n       perturbed.nrm
78 > N       unperturbed.nrm
79 > s       surface.idx
80 > m       modifier.idx
81 > M       material.idx
82 > .fi
83 > .sp
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),
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 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_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).
110 > .PP
111 > If the
112 > .I \-i
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 > 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, an error will be printed and the command will abort.
122 > .SH EXAMPLES
123   To render a scene with four processes:
124   .IP "" .2i
125   rtpict -n 4 -vf mypers.vf -ab 1 -af scene.amb scene.oct > scene_pers.hdr
126 + .PP
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), lookamb(1), mkpmap(1), oconv(1), pdfblur(1), pfilt(1),
138 < pinterp(1), pmblur(1), printf(3), ra_rgbe(1), rad(1), rpiece(1),
139 < rpict(1), rtrace(1), rvu(1) vwrays(1),
137 > getinfo(1), mkpmap(1), oconv(1), pfilt(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), rxpiece(1), vwrays(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines