[vtkusers] GL_INVALID_OPERATION in void vtkDepthPeelingPass::Render(const vtkRenderState *s)

Bryn Lloyd lloyd at itis.ethz.ch
Fri Dec 16 10:01:57 EST 2011


Hi

I am developing an application for Windows (64-bit, Windows 7, graphics 
card: AMD FirePro M5950 Mobility)

When I have transparency in my scene (prop has Opacity < 1.0) then I get 
an error on following line in void vtkDepthPeelingPass::Render(const 
vtkRenderState *s):

Line 261:
     glTexImage2D(vtkgl::PROXY_TEXTURE_RECTANGLE_ARB, 0, GL_RGBA8,
                  this->ViewportWidth,this->ViewportHeight,
                  0,GL_RGBA, GL_UNSIGNED_BYTE, 0);


The error is (debugged using GLIntercept):


glGetString(GL_RENDERER)="AMD FirePro M5950 Mobilit..."
glGetString(GL_VERSION)="4.1.10534 Compatibility P..."
...
glTexImage2D(GL_PROXY_TEXTURE_RECTANGLE,0,GL_DEPTH_COMPONENT24,1368,624,0,GL_DEPTH_COMPONENT,GL_UNSIGNED_INT,0000000000000000) 
glGetError() = GL_INVALID_OPERATION


Can anybody help me with this? Could this be a bug in my OpenGL 
implementation? Or maybe in the code in vtkDepthPeelingPass?

Thanks
Bryn




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20111216/da36f1be/attachment.htm>


More information about the vtkusers mailing list