VWRIGHT(1)                                                          VWRIGHT(1)



NNAAMMEE
       vwright - normalize a RADIANCE view, shift it to the right

SSYYNNOOPPSSIISS
       vvwwrriigghhtt [[ vviieeww ooppttiioonnss ]] ddiissttaannccee
       vvwwrriigghhtt [[ vviieeww ooppttiioonnss ]] nnaammee

DDEESSCCRRIIPPTTIIOONN
       In  the  first  form, _v_w_r_i_g_h_t shifts a RADIANCE view the specified dis-
       tance to the right, putting out a complete set of view parameters in  a
       single line on the standard output.  This utility is most often used to
       compute a right-eyed view from a left-eye view for stereo imaging.

       If no options are specified on the command line, _v_w_r_i_g_h_t reads  a  view
       from its standard input.

       The  _d_i_s_t_a_n_c_e  given  is  in  world coordinate units.  A negative value
       indicates a shift to the left rather than the right.

       The second form substitutes a name prefix in place of  the  shift  dis-
       tance,  and  produces constant assignments on the standard output suit-
       able for passing directly to _r_c_a_l_c_(_1_)_.  For a given prefix _N_, the  con-
       stant names are as follows:

       Nt:  view type ('v'==1,'l'==2,'a'==3,'h'==4,'c'==5,'s'==6)
       Npx: view point x value
       Npy: view point y value
       Npz: view point z value
       Ndx: view direction x value (normalized)
       Ndy: view direction y value (normalized)
       Ndz: view direction z value (normalized)
       Nd:  view focal distance
       Nux: view up vector x value (normalized)
       Nuy: view up vector y value (normalized)
       Nuz: view up vector z value (normalized)
       Nh:  view horizontal size
       Nv:  view vertical size
       Ns:  view shift
       Nl:  view lift
       No:  view fore clipping distance
       Na:  view aft clipping distance
       Nhx: derived horizontal image vector x value (normalized)
       Nhy: derived horizontal image vector y value (normalized)
       Nhz: derived horizontal image vector z value (normalized)
       Nhn: derived horizontal image vector multiplier
       Nvx: derived vertical image vector x value (normalized)
       Nvy: derived vertical image vector y value (normalized)
       Nvz: derived vertical image vector z value (normalized)
       Nvn: derived vertical image vector multiplier

EEXXAAMMPPLLEESS
       To  start  _r_p_i_c_t_(_1_)  on  a view .06 meters left of the view in the file
       "right.vf":

         rpict `vwright -.06 < right.vf` scene.oct > right.hdr &

       To move the _r_a_d_(_1_) view named "left" 2.5 inches to the right and render
       from there:

         rad  -v  "right  `rad  -n  -s  -V  -v  left examp.rif | vwright 2.5`"
         examp.rif &

       To pass a view to _r_c_a_l_c for conversion to some other view:

         rcalc -n -e `vwright orig < orig.vf` -f  viewmod.cal  -o  view.fmt  >
         new.vf

AAUUTTHHOORR
       Greg Ward

SSEEEE AALLSSOO
       pdfblur(1), rad(1), rcalc(1), rpict(1), rvu(1)



RADIANCE                            8/29/96                         VWRIGHT(1)
