Re: [PanoToolsNG] Calculating equirect resolution from output requirements (working backwords)
- On Mar 27, 2007, at 9:34 AM, Serge Maandag (yahoo) wrote:
> > Let's say I know I need a rectilinear output at a specific pixelAnd Serge wins the Pedant of the Year Award!
> > and FOV. For argument's sake, let's say these values are:
> > Pixels: 400x300
> > FOV: 40x30 degrees
> Apart from the really useful answers that followed, I'd like to
> point out
> that the example is not possible, since:
> vfov = 2 * atan( tan(hfov/2) * height/width)
> So if a 400x300 window has a horizontal FoV of degrees, the
> vertical FoV
> will be:
> 2 * atan ( tan(20) * 3/4 ) = 30,54 degrees
Come by to collect your Golden Know-it-All statuette!