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 ------------------------------------------------------------------------------ AppSumo Presents a FREE Video for the SourceForge Community by Eric Ries, the creator of the Lean Startup Methodology on "Lean Startup Secrets Revealed." This video shows you how to validate your ideas, optimize your ideas and identify your business strategy. http://p.sf.net/sfu/appsumosfdev2dev _______________________________________________ Avogadro-Discuss mailing list Avogadro-Discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/avogadro-discuss