[Radiance-general] view_param.cal
Fitzsimmons, Rob
Rob.Fitzsimmons at Summit.Fiserv.com
Tue Aug 3 21:05:20 CEST 2004
I'm trying to create the view_param.cal mentioned in RwR page 328
I think I've typed it exactly as it is in the book, then copy it to
/usr/local/lib/ray/view_param.cal
_______________________________________
{ view_param.cal
Arbitrary aspect ratio:
p = pixel aspect ratio (height/width=input)
h = horizontal view angle (input)
v = vertical view angle (output)
}
v = 114.6*atan(p*tan(h/114.6))
{ View parameters specific to 35mm film
f = focal length of lens (input)
v35 = vertical view angle -vv (output)
h35 = horizontal view angle 0vh (output)
}
v35 = 114.6*atan(17/f)
h35 = 114.6*atan(11.5/f)
______________________________________
but I get an error when I try to use it
calc view_param.cal
I get back:
view_param.cal, line 15:
v35 = 114.6*atan(17/f)
^ ';' expected
What am I missing?
Thanks
Rob F
More information about the Radiance-general
mailing list