--- ray/doc/man/man1/vwrays.1 2005/09/19 04:26:08 1.4 +++ ray/doc/man/man1/vwrays.1 2011/08/20 20:57:51 1.8 @@ -1,10 +1,10 @@ -.\" RCSid "$Id: vwrays.1,v 1.4 2005/09/19 04:26:08 greg Exp $" +.\" RCSid "$Id: vwrays.1,v 1.8 2011/08/20 20:57:51 greg Exp $" .TH VWRAYS 1 1/15/99 RADIANCE .SH NAME vwrays - compute rays for a given picture or view .SH SYNOPSIS .B vwrays -.B "[ -i -f{a|f|d} | -d ]" +.B "[ -i -u -f{a|f|d} | -d ]" { .B "view opts .." | @@ -25,6 +25,9 @@ The .I \-i option may be used to specify desired pixel positions on the standard input rather than generating all the pixels for a given view. +If the +.I \-u +option is also given, output will be unbuffered. .PP The .I \-f @@ -90,8 +93,8 @@ otherwise, which would produce a uniform clipping dist .PP If a picture is given on the command line rather than a set of view options, then the view and image dimensions are taken from the picture file, and -the reported ray origins and directions will exactly match the center of each -pixel in the picture. +the reported ray origins and directions will match the center of each +pixel in the picture (plus optional jitter). .PP If a depth buffer file is given as well, then .I vwrays @@ -105,19 +108,19 @@ for light rays leaving the scene surfaces to strike ea To compute the ray intersection points and returned directions corresponding to a picture and its depth buffer: .IP "" .2i -vwrays scene_v2.pic scene_v2.zbf > scene_v2.pts +vwrays scene_v2.hdr scene_v2.zbf > scene_v2.pts .PP To determine what the dimensions of a given view would be: .IP "" .2i -vwrays -d -vf myview.vf -x 2048 -y 2048 +vwrays \-d \-vf myview.vf \-x 2048 \-y 2048 .PP To generate a RADIANCE picture using .I rtrace instead of .I rpict: .IP "" .2i -vwrays -ff -vf view1.vf -x 1024 -y 1024 | -rtrace `vwrays -d -vf view1.vf -x 1024 -y 1024` -ffc scene.oct > view1.pic +vwrays \-ff \-vf view1.vf \-x 1024 \-y 1024 | +rtrace `vwrays \-d \-vf view1.vf \-x 1024 \-y 1024` \-ffc scene.oct > view1.hdr .SH AUTHOR Greg Ward Larson .SH ACKNOWLEDGMENT