04 2018 档案

python下学习opengl之纹理贴图1
摘要:原教程地址:https://learnopengl.com/Getting-started/Textures 中文翻译地址:https://learnopengl-cn.github.io/01%20Getting%20started/06%20Textures/ 文件列表: glfw3.dll: 阅读全文

posted @ 2018-04-26 11:53 无奈巅峰 阅读(2265) 评论(0) 推荐(0) 编辑

python下学习opengl之着色器
摘要:https://learnopengl.com/Getting-started/Shaders在vertex着色器中增加了三角形顶点的颜色属性, 该章节的中文翻译版见中文教程 环境配置及相关库的下载参考:python下学习opengl之简单窗口 对应的python代码如下: 代码执行效果: 阅读全文

posted @ 2018-04-22 06:46 无奈巅峰 阅读(2037) 评论(0) 推荐(0) 编辑

python下学习opengl之矩形框
摘要:https://learnopengl.com/Getting-started/Hello-Triangle 实现了最简单的着色器,其翻译版请见对应的中文教程 以下是对上述教程中c++代码的python实现,开发环境配置请参考简单窗口 代码执行效果如下: 键盘的左右键可以控制GL_FILL和GL_L 阅读全文

posted @ 2018-04-16 11:59 无奈巅峰 阅读(520) 评论(0) 推荐(0) 编辑

python下学习opengl之简单窗口
摘要:最近在看一个opengl教程:https://learnopengl.com/Introduction,写的深入浅出,非常不错,而且有中文的翻译版:https://learnopengl-cn.github.io/ 出于加深学习效果,自己试着用Python重新实现原教程中的C++代码 1. 操作系统 阅读全文

posted @ 2018-04-16 11:31 无奈巅峰 阅读(2110) 评论(0) 推荐(0) 编辑

导航