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

Comparing ray/src/cal/cal/vwparab.cal (file contents):
Revision 1.1 by greg, Sat Feb 22 02:07:21 2003 UTC vs.
Revision 1.2 by greg, Sun Feb 24 23:04:44 2008 UTC

# Line 1 | Line 1
1 + { RCSid $Id$ }
2   {
3          Generate rays for a parabolic view projection --
4          i.e., a round image that when projected downwards
# Line 18 | Line 19
19                  dx, dy, dz      = Direction vector for image point (x,y)
20  
21          Typical command line:
22 <                cnt 1024 1024 | rcalc -e maxalt:25 \
22 >                cnt 1024 1024 | rcalc -od -e maxalt:25 \
23                          -e 'x=($2+.5)/1024;y=1-($1+.5)/1024' -f vwparab.cal \
24                          -e '$1=25.5;$2=12;$3=5;$4=dx;$5=dy;$6=dz' \
25 <                        | rtrace @electric.opt -fac -x 1024 -y 1024 \
25 >                        | rtrace @electric.opt -fdc -x 1024 -y 1024 \
26                                  electric.oct > pan.pic
27   }
28   amax : PI/180*maxalt;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines