ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/util/fieldcomb.csh
(Generate patch)

Comparing ray/src/util/fieldcomb.csh (file contents):
Revision 2.1 by greg, Fri Sep 2 04:15:42 2005 UTC vs.
Revision 2.2 by greg, Fri Sep 2 04:24:37 2005 UTC

# Line 1 | Line 1
1   #!/bin/csh -f
2 + # RCSid $Id$
3   #
4   # Combine alternate lines in full frames for field rendering
5   #
# Line 33 | Line 34 | endif
34   set curfi=1
35   while ($curfi < $#fields)
36          @ nextfi = $curfi + 1
37 <        pcomb -e 'ro=ri(fld);go=gi(fld);bo=bi(fld)' \
38 <                -e 'odd=.5*y-floor(.5*y)-.25' -e 'fld=if(odd,1,2)' \
37 >        pcomb -e 'ro=ri(fld); go=gi(fld); bo=bi(fld)' \
38 >                -e 'yd=yres-1-y; odd=.5*yd-floor(.5*yd)-.25' \
39 >                -e 'fld=if(odd,1,2)' \
40                  $fields[$curfi]:q $fields[$nextfi]:q \
41                  > "${basenm}C$curfr.$ext"
42          if ($?remove_orig) rm $fields[$curfi]:q $fields[$nextfi]:q

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines