Resolution of panorama preview

Asked by Bicyclops


How do I make the OpenGL Fast Panorama Preview use a higher resolution image?

I'm using today's head, self-compiled.

Question information

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

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Bicyclops (bugs-8) said :

Please provide an answer.

Revision history for this message
tmodes (tmodes) said :

There is currently no way to do this.
There is several issues to solve to implement this:
First is speed: if you use bigger images you need more power to remap all images. The fast preview was written to get nearly real time feedback. This is only achieved by using smaller images and some approximation.
Second is the memory of the GPU: *all* images have to fit into the memory of the graphic card. So Hugin is currently using smaller images.

Revision history for this message
Bicyclops (bugs-8) said :

That reply assumes there is no space for improvement and that everyone has a weak GPU.
1- Modern GPUs can handle far larger images than the resolution the preview currently uses.
2- Even some non-modern GPUs can handle considerably larger images.

So the solution is to make this an option in Preferences, so that the user can decide.

Revision history for this message
tmodes (tmodes) said :

It seems you know the code better. Then provide a patch.

*All* input images need to be inside the GPU images. So a project with only 10 12MP images would require already nearly 500 MB if all images would be used in full resolution. And then you would not have any real time feedback.
And many users work with ever bigger projects.
The screen resolution of the preview window is therefore only the smallest contribution.
But it seems you know it better.

Revision history for this message
Bicyclops (bugs-8) said :

Everything you wrote is true, and yet my points are still valid.
Nobody is forcing everyone to use a higher resolution, this is a request for higher resolution to be an option for those who need it.

Can you help with this problem?

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

To post a message you must log in.