Re: Building on OSMesa
"Mike C. Fletcher" <[email protected]>
| Newsgroups | gmane.comp.python.opengl.user |
|---|---|
| Message-ID | <[email protected]> |
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 ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ PyOpenGL Homepage http://pyopengl.sourceforge.net