Preview vertical FOV controls sometimes disabled
Bug #678738 reported by
tksharpless
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.
Changed in hugin: | |
status: | New → Confirmed |
tags: | added: preview |
To post a comment you must log in.
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 ======= ======= ======= ======= ======= ======= ======= ======= ==== base/panodata/ PanoramaOptions .cpp (revision 4664) base/panodata/ PanoramaOptions .cpp (working copy) EQUAL_AREA_ CONIC
|| f == BIPLANE
|| f == TRIPLANE);
=======
--- src/hugin_
+++ src/hugin_
@@ -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_
|| f == MILLER_CYLINDRICAL
|| f == PANINI
|| f == ARCHITECTURAL
+ || f == ORTHOGRAPHIC
+ || f == EQUISOLID
|| f == EQUI_PANINI
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.