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

Comparing ray/doc/man/man1/rcode_ident.1 (file contents):
Revision 1.1 by greg, Sat Jul 20 02:07:23 2019 UTC vs.
Revision 1.6 by greg, Wed Feb 2 22:25:24 2022 UTC

# Line 28 | Line 28 | input.txt
28   ][
29   .B \-H
30   ][
31 + .B \-l
32 + ][
33 + .B \-n
34 + ][
35   .B \-tS
36   ]
33 [
37   input.idx
38   [output.txt]
36 ]
39   .SH DESCRIPTION
40   .I Rcode_ident
41 < Takes a list of ASCII identifiers on the input and encodes them
41 > takes a list of ASCII identifiers on the input and encodes them
42   as a 16-bit index to a table appended to the output.
43   This default index size can hold up to 65 thousand unique IDs,
44   which is suitable for most applications.
# Line 46 | Line 48 | option may be used to specify an 8-bit index, which sa
48   if 256 or fewer unique identifiers appear on the input.
49   The
50   .I \-24
51 < option creates a 24-bit index can record over 16 million
51 > option creates a 24-bit index that can record over 16 million
52   unique identifiers.
53   .PP
54   Identifiers are separated by newlines by default, but any single-character
# Line 59 | Line 61 | and the maximum ID length is 255 characters.
61   .PP
62   Input is taken from the first named file, or standard input if no
63   files are given.
64 + (Input file is required for
65 + .I \-r
66 + option.)
67   Output is sent to the second named file, or standard output if none.
68   .PP
69   The
# Line 89 | Line 94 | string, respectively.
94   The
95   .I \-tS
96   option specifies an alternate ID separator instead of the default newline.
97 + The
98 + .I \-l
99 + option tells
100 + .I rcode_ident
101 + to list identifiers following the header information (if present).
102 + The
103 + .I \-n
104 + option prints identifier table indexes rather than the strings themselves.
105 + Indexing starts from 0 for the first table entry.
106   .PP
107   When decoding, the
108   .I \-i
# Line 113 | Line 127 | rtrace -ffa < rays.flt -x 512 -y 400 -om octree | rcod
127   To query specific modifiers using ximage with the 't' command:
128   .IP "" .2i
129   ximage -op render.hdr | rcode_ident -i -r mods.idx
130 + .PP
131 + To only print out the list of unique identifiers:
132 + .IP "" .2i
133 + rcode_ident -r -h -H -i -l mods.idx < /dev/null
134   .SH AUTHOR
135   Greg Ward
136   .SH "SEE ALSO"
137 < rcalc(1), rcode_depth(1), rcode_norm(1), rlam(1), rsplit(1), rtpict(1)
137 > rcalc(1), rcode_depth(1), rcode_norm(1), rcode2bmp(1),
138 > rlam(1), rsplit(1), rtpict(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines