Hi Mauro,

Am Samstag, 25. März 2017 19:35:08 UTC+1 schrieb Mauro Santos:
>
>
> GL_MAX_TEXTURE_SIZE: 16384/16384 
> GL_MAX_TEXTURE_BUFFER_SIZE: 134217728/1503238553 
> GL_MAX_RECTANGLE_TEXTURE_SIZE: 4096/16384 
>
> As expected the maximum texture size is similar in both cases, otherwise 
> nona would say otherwise I suppose, but the 
> GL_MAX_RECTANGLE_TEXTURE_SIZE looks like it fits with the problem. 
>

This helps further. So GL_MAX_TEXTURE_SIZE can return a texture size, which 
can not be allocated in rectangle size by nona.
I added an additional call to GL_MAX_RECTANGLE_TEXTURE_SIZE to retrieve 
this size first.

Reading the documentation I found a way to also test the texture size 
before using. So I implemented also this additional test. The test can also 
reduce the internal used maxTextureSize.

I committed the changes to the default branch (changeset bbabf4707728). I 
hope this fixes your problems. Please test these changes.

TIA
Thomas

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/03aef939-95d1-48ad-869a-78e483e2c7fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to