Hi, I've been building a scene and I would like to make some of the 
GLMeshItems tranlucent.  I have set the alpha values in the colour array to 
0.5, but they draw solid.

I have also tried to enable alpha mixing via

... = gl.GLViewWidget()
glBlendFunc(GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA)
glEnable(GL_BLEND)
glEnable(GL_COLOR_MATERIAL)

but this gives a GL error message:

 OpenGL.error.GLError: GLError(
    err = 1282,
    description = b'invalid operation',
    baseOperation = glBlendFunc,
    cArguments = (GL_ONE_MINUS_SRC_ALPHA, GL_SRC_ALPHA)
)

Any idea about how to get this working?

Thanks,
Lucas

-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" 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/pyqtgraph/5d5f9726-3bb3-4d80-9c04-4d047eb40a2bn%40googlegroups.com.

Reply via email to