ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/vwright.1
(Generate patch)

Comparing ray/doc/man/man1/vwright.1 (file contents):
Revision 1.1 by greg, Tue Mar 11 19:20:21 2003 UTC vs.
Revision 1.8 by greg, Sun Jun 14 00:33:15 2009 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines