Is it possible to draw transparent spheres from Python extension?

Hi there,

I’ve been working on a Python Engine that will display a pharmacophore
(basically a set of spheres in 3D space). I was hoping to make the
spheres transparent but it seems like this is not possible. Is this
correct?

Firstly, renderTransparent is not available in PythonEngine (not that
I’m really sure what the difference between this and renderOpaque is).
Secondly, I don’t seem to have access to “glEnable(GL_BLEND)” like in
the renderTransparent example in the API docs
(http://avogadro.openmolecules.net/api/dev/classAvogadro_1_1Engine.html#af7c578acd04f23b67685a4c12485339f).

I don’t know if it’s possible for you to make the entire GL context
available to scripting users, but a drawSphere(…, transparency=1.0)
method for Python users, would be a useful alternative.

Regards,
Noel