--- ray/doc/man/man1/rtcontrib.1 2005/05/26 21:03:22 1.4 +++ ray/doc/man/man1/rtcontrib.1 2005/06/09 17:27:27 1.8 @@ -1,17 +1,19 @@ -.\" RCSid "$Id: rtcontrib.1,v 1.4 2005/05/26 21:03:22 greg Exp $" +.\" RCSid "$Id: rtcontrib.1,v 1.8 2005/06/09 17:27:27 greg Exp $" .TH RTCONTRIB 1 5/25/05 RADIANCE .SH NAME -rtcontrib - compute contributions in a RADIANCE scene +rtcontrib - compute contribution coefficients in a RADIANCE scene .SH SYNOPSIS .B rtcontrib [ .B "\-n nprocs" ][ +.B \-r +][ .B "\-e expr" ][ .B "\-f source" ][ -.B "\-o fspec" +.B "\-o ospec" ][ .B "\-b binv" ] @@ -51,10 +53,17 @@ systems, such as luminaires, light pipes, and shading .I Rtcontrib calls .I rtrace(1) -to calculate the contributions for each input ray, -and the output tallies are sent to one or more files according to the +with the -oTW option to calculate the daughter ray +contributions for each input ray, and the output tallies +are sent to one or more destinations according to the given .I \-o specification. +If a destination begins with an exclamation mark ('!'), then +a pipe is opened to a command and data is sent to its standard input. +Otherwise, the destination is treated as a file. +An existing file of the same name is clobbered, unless the +.I \-r +option is specified, in which case data recovery is attempted. If an output specification contains a "%s" format, this will be replaced by the modifier name. The @@ -98,12 +107,20 @@ The rules and predefined functions available for these described in the .I rcalc(1) man page. +Unlike +.I rcalc, +.I rtcontrib +will search the RADIANCE library directories for each file given in a +.I \-f +option. +(No search takes place if a file name begins with a '.', '/' or '~' +character.)\0 .PP If no .I \-o specification is given, results are written on the standard output in order of modifier (as given on the command line) then bin number. -Concatenated data is also sent to a lone output file (i.e., an initial +Concatenated data is also sent to a single destination (i.e., an initial .I \-o specification without formatting strings). If a "%s" format appears but no "%d" in the @@ -180,6 +197,8 @@ To compute an array of illuminance contributions accor .IP "" .2i rtcontrib -b tbin -o sky.dat -m skyglow -b 0 -o ground.dat -m groundglow @render.opt -f tregenza.cal scene.oct < test.dat +.SH ENVIRONMENT +RAYPATH path to search for -f files .SH AUTHOR Greg Ward .SH "SEE ALSO"