[vtk-developers] GL_INVALID_OPERATION in void vtkDepthPeelingPass::Render(const vtkRenderState *s)

Bryn Lloyd lloyd at itis.ethz.ch
Fri Dec 16 10:47:51 EST 2011


Hi

I am developing an application for Windows (64-bit, Windows 7, graphics 
card: AMD FirePro M5950 Mobility)
The driver version for the gfx card is:  8.821.1.7000.

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






_______________________________________________
Powered bywww.kitware.com

Visit other Kitware open-source projects athttp://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the VTK FAQ at:http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20111216/010a4b55/attachment.html>


More information about the vtk-developers mailing list