Hello Daniel,

daniel trindade wrote:
> Thank you for the opengl debugger suggestion. I have used glInterceptand 
> it seens to be pretty nice :-)
> 
> After you asked if the values of width, height and depth were powers of 
> 2, i scaled the image using the function scaleNextPower2() to check if 
> this is not the problem. The result was the same. Still getting the same 
> error. But the glInterceptand log prints the following:
> 
> GL ERROR - Function 
> glTexImage3DEXT(GL_TEXTURE_3D,0,6406,512,2048,256,0,GL_ALPHA,GL_UNSIGNED_BYTE,0x26060040)
>  
> generated error GL_INVALID_VALUE
> ImageSaveManager::Save3DImage - invalid width/height/depth on image
> InterceptImage::SaveTextureImage - Error saving image 2
> 
> Wich makes me think that it is a error on image dimension. But, as you 
> can see, the values are power of 2. So, this looks strange to me.

they are powers of two, but the texture may be too big, on my FX 4500 
glxinfo -l gives: GL_MAX_3D_TEXTURE_SIZE = 512, but the 8800 GTX next to 
it can handle 2048. Have you checked the limits on your card? Not sure 
if glIntercept can display those somewhere.

        Cheers,
                Carsten

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to