Loading ...
Sorry, an error occurred while loading the content.
 

Re: [PanoToolsNG] Calculating equirect resolution from output requirements (working backwords)

Expand Messages
  • rogerhoward@rogerroger.org
    ... And Serge wins the Pedant of the Year Award! Come by to collect your Golden Know-it-All statuette! Cheers, R
    Message 1 of 13 , Mar 27, 2007
      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 pixel
      > size
      > > 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

      And Serge wins the Pedant of the Year Award!

      Come by to collect your Golden Know-it-All statuette!

      Cheers,

      R
    Your message has been successfully submitted and would be delivered to recipients shortly.