1 |
< |
.\" RCSid "$Id" |
1 |
> |
.\" RCSid "$Id$" |
2 |
|
.TH VWRIGHT 1 8/29/96 RADIANCE |
3 |
|
.SH NAME |
4 |
|
vwright - normalize a RADIANCE view, shift it to the right |
5 |
|
.SH SYNOPSIS |
6 |
|
.B vwright |
7 |
+ |
.B "[ view options ]" |
8 |
|
.B distance |
9 |
|
.br |
10 |
|
.B vwright |
11 |
+ |
.B "[ view options ]" |
12 |
|
.B name |
13 |
|
.SH DESCRIPTION |
14 |
< |
.I Vwright |
15 |
< |
shifts a RADIANCE view from a picture or view file given on the standard input |
14 |
> |
In the first form, |
15 |
> |
.I vwright |
16 |
> |
shifts a RADIANCE view |
17 |
|
the specified distance to the right, putting out a complete set of |
18 |
|
view parameters in a single line on the standard output. |
19 |
|
This utility is most often used to compute a right-eyed view from |
20 |
|
a left-eye view for stereo imaging. |
21 |
|
.PP |
22 |
+ |
If no options are specified on the command line, |
23 |
+ |
.I vwright |
24 |
+ |
reads a view from its standard input. |
25 |
+ |
.PP |
26 |
|
The |
27 |
|
.I distance |
28 |
|
given is in world coordinate units. |
38 |
|
the constant names are as follows: |
39 |
|
.sp |
40 |
|
.nf |
41 |
< |
Nt: view type ('v'==1,'l'==2,'a'==3,'h'==4,'c'==5) |
41 |
> |
Nt: view type ('v'==1,'l'==2,'a'==3,'h'==4,'c'==5,'s'==6) |
42 |
|
Npx: view point x value |
43 |
|
Npy: view point y value |
44 |
|
Npz: view point z value |
45 |
|
Ndx: view direction x value (normalized) |
46 |
|
Ndy: view direction y value (normalized) |
47 |
|
Ndz: view direction z value (normalized) |
48 |
+ |
Nd: view focal distance |
49 |
|
Nux: view up vector x value (normalized) |
50 |
|
Nuy: view up vector y value (normalized) |
51 |
|
Nuz: view up vector z value (normalized) |
69 |
|
.I rpict(1) |
70 |
|
on a view .06 meters left of the view in the file "right.vf": |
71 |
|
.IP "" .2i |
72 |
< |
rpict `vwright -.06 < right.vf` scene.oct > right.pic & |
72 |
> |
rpict `vwright -.06 < right.vf` scene.oct > right.hdr & |
73 |
|
.PP |
74 |
|
To move the |
75 |
|
.I rad(1) |
76 |
|
view named "left" 2.5 inches to the right |
77 |
|
and render from there: |
78 |
|
.IP "" .2i |
79 |
< |
rad -v "right `rad -n -s -V -v left examp.rif | vwright 2.5`" examp.rif & |
79 |
> |
rad \-v "right `rad \-n \-s \-V \-v left examp.rif | vwright 2.5`" examp.rif & |
80 |
|
.PP |
81 |
|
To pass a view to |
82 |
|
.I rcalc |
83 |
|
for conversion to some other view: |
84 |
|
.IP "" .2i |
85 |
< |
rcalc -n -e `vwright orig < orig.vf` -f viewmod.cal -o view.fmt > new.vf |
85 |
> |
rcalc \-n \-e `vwright orig < orig.vf` \-f viewmod.cal \-o view.fmt > new.vf |
86 |
|
.SH AUTHOR |
87 |
|
Greg Ward |
88 |
|
.SH "SEE ALSO" |
89 |
< |
pdfblur(1), rad(1), rcalc(1), rpict(1), rview(1) |
89 |
> |
pdfblur(1), rad(1), rcalc(1), rpict(1), rvu(1) |