Preview vertical FOV controls sometimes disabled

Bug #678738 reported by tksharpless
This bug report is a duplicate of:  Bug #679878: stitcher tab FoV/Size relation. Edit Remove
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Hugin
Confirmed
High
Unassigned

Bug Description

At present the crop limits controls on the Preview window are coupled together for several of the available projection types. This is inappropriate and often most inconvenient (fisheye images aren't always round!). It would be OK to have an optional "lock aspect ratio" mode, e.g. Shift+slide, but it should not depend on the projection.

Tags: preview
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.

Yuv (yuv)
Changed in hugin:
status: New → Confirmed
tags: added: preview
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.