Hi, I’ve posted a question 2 weeks ago in the Support category but did not get a response that got me much further, so I’m trying on Development. I am trying to render transparency with VTK 9.0.1 on Mesa 18.3.4 (also observed on 20.1.8) with a very simple python script (see earlier post) but any transparent object is not rendered at all, and heaps of OpenGL related errors are reported by VTK. I don’t know how to interpret those errors or how to proceed.
Today I enabled debugging in Mesa with MESA_DEBUG=1 which appears to confirm that it get erroneous input from VTK (see mesa-18.3.4-trace.out (8.7 KB))
I would appreciate any help debugging these errors as it is blocking our migration from vtk8.1.1 to vtk9.
I get something similar; I can confirm that I only get the following error output if I enable transparency - if both actors are fully opaque then Mesa doesn’t report any errors:
$ MESA_DEBUG=1 python main.py
Mesa: User error: GL_INVALID_VALUE in glTexImage2D(internalFormat=GL_NONE)
Mesa: 1 similar GL_INVALID_VALUE errors
Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glClear(incomplete framebuffer)
Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glBlitFramebuffer(incomplete draw/read buffers)
Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glDrawRangeElements(incomplete framebuffer)
Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glClear(incomplete framebuffer)
Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glBlitFramebuffer(incomplete draw/read buffers)
Mesa: User error: GL_INVALID_FRAMEBUFFER_OPERATION in glDrawRangeElements(incomplete framebuffer)