Re: [PyOpenGL-Users] Building on OSMesa
Brought to you by:
mcfletch
From: Mike C. F. <mcf...@vr...> - 2012-01-09 14:33:19
|
On 12-01-07 04:20 AM, Yuan Xu wrote: > Hi Alejandro, > > Thank you very much for your suggestion. I am using PyQt, > but I have digged into PyOpenGL, and find a solution: create a > platform plugin for osmesa. > I put my patch in github (https://github.com/xuyuan/PyOSMesa), maybe > others are interested in it. > > I will also take a look at QGLPixelBuffer if I have time. Hi Yuan, I've added your OSMesa platform to OpenGL-ctypes bzr head. The patch was trivially modified so that the changes that would make OSMesa the only platform were removed, but I don't yet have anything written to make it easy to choose a platform to use for a given program. I'm thinking of using something on the order of os.environ.get( "PYOPENGL_PLATFORM") where that value being set to a platform key would override the default choice. Thanks, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |