pano_modify: How to set projection parameters

Asked by Andreas Ulmer

Certain output projections have an additional projection parameters, e.g. Triplanar has one parameter called alpha in Hugin UI. labels it
# P"100 12" Parameters for tuning projection, number of parameters depends on projection

and it is stored in the p line of the pto

e.g. the P"120" in the line below.
p f18 w1024 h1024 v360 E3 R0 P"120" n"TIFF_m c:LZW r:CROP"

I'm trying to set this P value to a pto file using pano_modify (or another cmd line tool).

I did not find how to do this in the pano_modify man page, neither did I find a hint on the cpp

* is this probably just not doced?
* or not implemented?
* or can it be done with a different tool?

Question information

English Edit question
Hugin Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
tmodes (tmodes) said :

This was not yet coded/implemented (because there was no request for such a feature).

I implemented a new switch in the default branch of our repository: pano_modify --projection-parameter=120 project.pto to set the projection parameters.

Revision history for this message
Andreas Ulmer (pwrslv) said :

Great! thanks a lot @tmodes.

Will there be a new build soon? Full Hugin build, or maybe just the tools?
Not sure I have the skills to build this myself.

Revision history for this message
tmodes (tmodes) said :

For Ubuntu there are the nightlies:
These contain already the new version.

For other OS there are no current public development versions (at least to my knowledge).

Can you help with this problem?

Provide an answer of your own, or ask Andreas Ulmer for more information if necessary.

To post a message you must log in.