4 |
|
vwrays - compute rays for a given picture or view |
5 |
|
.SH SYNOPSIS |
6 |
|
.B vwrays |
7 |
< |
.B "[ -i -f{a|f|d} | -d ]" |
7 |
> |
.B "[ -i -u -f{a|f|d} | -d ]" |
8 |
|
{ |
9 |
|
.B "view opts .." |
10 |
|
| |
25 |
|
.I \-i |
26 |
|
option may be used to specify desired pixel positions on the standard |
27 |
|
input rather than generating all the pixels for a given view. |
28 |
+ |
If the |
29 |
+ |
.I \-u |
30 |
+ |
option is also given, output will be unbuffered. |
31 |
|
.PP |
32 |
|
The |
33 |
|
.I \-f |
93 |
|
.PP |
94 |
|
If a picture is given on the command line rather than a set of view options, |
95 |
|
then the view and image dimensions are taken from the picture file, and |
96 |
< |
the reported ray origins and directions will exactly match the center of each |
97 |
< |
pixel in the picture. |
96 |
> |
the reported ray origins and directions will match the center of each |
97 |
> |
pixel in the picture (plus optional jitter). |
98 |
|
.PP |
99 |
|
If a depth buffer file is given as well, then |
100 |
|
.I vwrays |
108 |
|
To compute the ray intersection points and returned directions corresponding |
109 |
|
to a picture and its depth buffer: |
110 |
|
.IP "" .2i |
111 |
< |
vwrays scene_v2.pic scene_v2.zbf > scene_v2.pts |
111 |
> |
vwrays scene_v2.hdr scene_v2.zbf > scene_v2.pts |
112 |
|
.PP |
113 |
|
To determine what the dimensions of a given view would be: |
114 |
|
.IP "" .2i |
115 |
< |
vwrays -d -vf myview.vf -x 2048 -y 2048 |
115 |
> |
vwrays \-d \-vf myview.vf \-x 2048 \-y 2048 |
116 |
|
.PP |
117 |
|
To generate a RADIANCE picture using |
118 |
|
.I rtrace |
119 |
|
instead of |
120 |
|
.I rpict: |
121 |
|
.IP "" .2i |
122 |
< |
vwrays -ff -vf view1.vf -x 1024 -y 1024 | |
123 |
< |
rtrace `vwrays -d -vf view1.vf -x 1024 -y 1024` -ffc scene.oct > view1.pic |
122 |
> |
vwrays \-ff \-vf view1.vf \-x 1024 \-y 1024 | |
123 |
> |
rtrace `vwrays \-d \-vf view1.vf \-x 1024 \-y 1024` \-ffc scene.oct > view1.hdr |
124 |
|
.SH AUTHOR |
125 |
|
Greg Ward Larson |
126 |
|
.SH ACKNOWLEDGMENT |