Re: [PyOpenGL-Users] freeglut: Unable to create direct context rendering
Brought to you by:
mcfletch
From: Dave P. <de...@bu...> - 2006-09-25 16:37:35
|
On Mon, 25 Sep 2006, Fabrizio Pollastri wrote: > > glutInitDisplayMode(GLUT_RGBA | GLUT_DOUBLE | GLUT_DEPTH | GLUT_ALPHA) >... > freeglut (./p.py): ERROR: Internal error <Visual with necessary capabilities > not found> in function fgOpenWindow You're requesting a window with an alpha channel in the framebuffer, but the output of glxinfo indicates that your display doesn't support that (all values under "colorbuffer a" are 0). Generally, you don't actually need alpha in the framebuffer. It's only necessary for things like blending with a GL_DST_ALPHA function, or reading back the alpha values of a rendered image. It's not needed for the more common GL_SRC_ALPHA-based blending. Try removing the "| GL_ALPHA" from your InitDisplayMode command. -- Dave Pape Assistant Professor http://resumbrae.com/ Media Study, University at Buffalo |