On Wed, Nov 08, 2017 at 10:44:12AM +0100, Fabrice Kerzerho wrote:
> Hi,
> 
> No, I mean displaying decimal angular values for the whole panorama, not
> for each photos; I work in expert mode with a French interface - I may have
> done a bad translation. I need accurate angular values to conform a
> topographic grid on a panorama, I have to work with decimal values.

OK, I think you're referring to the Stitcher tab. Indeed, it does seem
to force a rounding to the nearest 0.1 degree. However in my tests, it's
purely a display thing. The actual values internally are full precision
doubles, so if you type 65.623 into the box, it will use that exact
number.

If you want to change the display behavior, you'll have to recompule
Hugin. The relevant lines are in src/hugin1/hugin/PanoPanel.cpp, in the
PanoPanel::UpdateDisplay function:

> ...
>     val = hugin_utils::doubleToString(opt.getHFOV(),1);                       
>  
>     m_HFOVText->ChangeValue(wxString(val.c_str(), wxConvLocal));              
>  
>     val = hugin_utils::doubleToString(opt.getVFOV(), 1);                      
>  
>     m_VFOVText->ChangeValue(wxString(val.c_str(), wxConvLocal));              
>  
> ...

The second argument in doubleToString is how many decimals to show in
the text box. Increasing that should cause the UI to show more decimal
points.

--Sean

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to hugin-ptx+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/20171108194040.GA8642%40coach.
For more options, visit https://groups.google.com/d/optout.

Reply via email to