Hi Mauro,

Am Donnerstag, 23. März 2017 19:19:59 UTC+1 schrieb Mauro Santos:
>
>
> Logs for a working case are attached just in case it helps in any way. 
>

The logs shows, that smaller projects with 314 MB work, but with 415 MB 
fails.

According to the log:
nona: GL error in 
/build/hugin/src/hugin-2016.2.0/src/hugin_base/vigra_ext/ImageTransformsGPU.cpp:829
invalid value (0x501)
the error should be raised in this part:

const int sourceOdd = (sourceChunks[0].height() & 1);
GLuint srcTexture;
glGenTextures(1, &srcTexture);
glBindTexture(GL_TEXTURE_RECTANGLE_ARB, srcTexture);
glTexParameteri(GL_TEXTURE_RECTANGLE_ARB, GL_TEXTURE_MIN_FILTER, 
GL_NEAREST);
glTexParameteri(GL_TEXTURE_RECTANGLE_ARB, GL_TEXTURE_MAG_FILTER, 
GL_NEAREST);
glTexParameteri(GL_TEXTURE_RECTANGLE_ARB, GL_TEXTURE_WRAP_S, 
GL_CLAMP_TO_BORDER);
glTexParameteri(GL_TEXTURE_RECTANGLE_ARB, GL_TEXTURE_WRAP_T, 
GL_CLAMP_TO_BORDER);
glTexParameterfv(GL_TEXTURE_RECTANGLE_ARB, GL_TEXTURE_BORDER_COLOR, 
borderColor);
glTexImage2D(GL_TEXTURE_RECTANGLE_ARB, 0, XGLMap[srcGLInternalFormat], 
sourceChunks[0].width(), sourceChunks[0].height() + sourceOdd, 0, 
XGLMap[srcGLFormat], XGLMap[srcGLType], NULL);
CHECK_GL();

probably in glTexImage2D (all other lines use only constants).
Maybe you can run nona in the debugger in check which arguments are passed 
in glTexImage2D(..) in both cases.
(But I'm no OpenGL expert, I'm only maintaining the existing code.)

Show your diagnostic tools which maximum textures size your graphic card 
supports? (nona think it is maxTextureSize=16384)

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/80ca2da8-9369-4058-9f35-e61d0964f8c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to