Using OpenGL with Python [closed]

妖精的绣舞 提交于 2019-12-02 17:37:21

You should go on and read a OpenGL tutorial.

Here's a pyopengl demo; other samples are over here.

Also, you can use pygame together with pyopengl; an example is here.

You can try with something higher level, if you want do to simple games, Panda3D has a reputation of being very simple (compared to straight opengl) to learn.

If your goal is to make games in Python, then you should look at PyGame. Its better documented and supported.

http://www.pygame.org/

If you use Cython there is a possibility to optimise part of your code with OpenCL:

https://github.com/cython/cython/wiki/enhancements-opencl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!