我正在尝试用macports安装PyOpenGL,我想用Python2.7,我也用macports安装了它。但是,当我使用:sudo port install py-opengl安装PyOpenGL时,似乎只有Python2.4可以访问它
有人知道这是怎么回事吗?怎样才能让Python2.7看到PyOpenGL?
我目前正在使用PyOpenGL和GLUT,只想用VBO在屏幕上可视化一些点。我对使用PyOpenGL编程非常陌生,所以可能代码一点也不好。但在我看来应该行得通。但我总是只得一分。有人知道怎么回事吗?string as title is causing a error, because underneath the PyOpenGL call is an old-school C function
这是我的源代码C:\Python27>python.exe wx_gl_vbo_001.py File "wx_gl_vbo_001.py", line 63, in <module> File "C:\Python27\lib\site-packages\wx-3.0-msw\wx\_core.py", line 8628, in __init__
self._
我想使用geometry_shader (glCreateShader,GL_GEOMETRY_SHADER)创建glCreateShader,但是我得到了错误。 File "test.py", line 9, in <module> File "errorchecker.pyx", line 53, in OpenGL_accelerate.errorchec