Re: horizontal fov
Status: Alpha
Brought to you by:
cwalther
From: Christian W. <cwa...@gm...> - 2008-07-09 18:49:55
|
Andrea Viarengo wrote: > I have tried to calculated the horizontal fov: > > width,height = pipmak.screensize() > vfov_deg = pipmak.getverticalfov() > vfov_rad = math.rad(vfov_deg) > distance = (height/2)/math.tan(vfov_rad/2)) > hfov_rad = 2*math.atan((width/2)/distance)) > hfov_deg = math.deg(hfov_rad) > > but it's not true, because I get an angle lower than what I can measure. That looks correct. What does it give you, and what do you measure, and how? -Christian |