--- ray/doc/man/man1/rcode_ident.1 2019/07/20 02:07:23 1.1 +++ ray/doc/man/man1/rcode_ident.1 2019/07/26 01:32:32 1.3 @@ -1,4 +1,4 @@ -.\" RCSid "$Id: rcode_ident.1,v 1.1 2019/07/20 02:07:23 greg Exp $" +.\" RCSid "$Id: rcode_ident.1,v 1.3 2019/07/26 01:32:32 greg Exp $" .TH RCODE_IDENT 1 7/19/2019 RADIANCE .SH NAME rcode_ident - store identifiers in an indexed map and retrieve from same @@ -28,6 +28,10 @@ input.txt ][ .B \-H ][ +.B \-l +][ +.B \-n +][ .B \-tS ] [ @@ -89,6 +93,15 @@ string, respectively. The .I \-tS option specifies an alternate ID separator instead of the default newline. +The +.I \-l +option tells +.I rcode_ident +to list identifiers following the header information (if present). +The +.I \-n +option prints identifier table indexes rather than the strings themselves. +Indexing starts from 0 for the first table entry. .PP When decoding, the .I \-i @@ -113,7 +126,12 @@ rtrace -ffa < rays.flt -x 512 -y 400 -om octree | rcod To query specific modifiers using ximage with the 't' command: .IP "" .2i ximage -op render.hdr | rcode_ident -i -r mods.idx +.PP +To only print out the list of unique identifiers: +.IP "" .2i +rcode_ident -r -h -H -i -l mods.idx < /dev/null .SH AUTHOR Greg Ward .SH "SEE ALSO" -rcalc(1), rcode_depth(1), rcode_norm(1), rlam(1), rsplit(1), rtpict(1) +rcalc(1), rcode_depth(1), rcode_norm(1), rcode2bmp(1), +rlam(1), rsplit(1), rtpict(1)