【OpenGL】PyOpenGL、wxgl使用

参考资料

1、https://blog.csdn.net/xufive/article/details/97020456

2、https://blog.csdn.net/xufive/article/details/104211044

3、https://blog.csdn.net/xufive/article/details/104093197

技术问题

1、freetype:pip install freetype-py

2、numpy问题,需要使用pyopengl64位,下载PyOpenGL-3.1.5-cp37-cp37m-win_amd64.whl,使用pip install PyOpenGL-3.1.5-cp37-cp37m-win_amd64.whl安装即可

谢谢天元浪子提供的代码,可以看到如下效果

 

posted @ 2020-02-16 21:40  咸鱼翻身  阅读(827)  评论(0编辑  收藏  举报