Comment 1 for bug 678738

Revision history for this message
Bruno Postle (brunopostle) wrote :

Just adding some findings... There are eight projections where the vertical field of view slider is disabled, I thought initially this was a problem with libpano13, but this minor Hugin patch enables the slider with all projections and works with libpano13-2.9.14:

Index: src/hugin_base/panodata/PanoramaOptions.cpp
===================================================================
--- src/hugin_base/panodata/PanoramaOptions.cpp (revision 4664)
+++ src/hugin_base/panodata/PanoramaOptions.cpp (working copy)
@@ -240,11 +240,19 @@
     return ( f == RECTILINEAR
              || f == CYLINDRICAL
              || f == EQUIRECTANGULAR
+ || f == FULL_FRAME_FISHEYE
+ || f == STEREOGRAPHIC
              || f == MERCATOR
+ || f == TRANSVERSE_MERCATOR
              || f == SINUSOIDAL
+ || f == LAMBERT
+ || f == LAMBERT_AZIMUTHAL
+ || f == ALBERS_EQUAL_AREA_CONIC
              || f == MILLER_CYLINDRICAL
              || f == PANINI
              || f == ARCHITECTURAL
+ || f == ORTHOGRAPHIC
+ || f == EQUISOLID
              || f == EQUI_PANINI
                         || f == BIPLANE
                         || f == TRIPLANE);

The only problem is that the slider only goes up to 180 degrees, and all these projections, except lambert and orthographic, accept values up to 360.

So the solution is to either make the slider go to 360 for all projections (the same as the horizontal slider), or somehow rescale it depending on projection.