![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LearnOpenGL
文章平均质量分 76
昨晚的风儿真喧嚣
这个作者很懒,什么都没留下…
展开
-
LearnOpenGL #02 Hello Triangle
图形渲染管线顶点数组对象:Vertex Array Object,VAO顶点缓冲对象:Vertex Buffer Object,VBO索引缓冲对象:Element Buffer Object,EBO或Index Buffer Object,IBO下图是图形渲染管线的每个阶段的抽象展示。要注意蓝色部分代表的是我们可以注入自定义的着色器的部分。图形渲染管线的第一个部分是顶点原创 2017-07-15 23:44:12 · 338 阅读 · 0 评论 -
LearnOpenGL #01 Hello Window
搭建好OpenGL环境之后测试#include #include #include void framebuffer_size_callback(GLFWwindow* window, int width, int height);void processInput(GLFWwindow *window);// Set the screen sizeconst unsigne原创 2017-07-11 11:07:22 · 314 阅读 · 0 评论 -
LearnOpenGL #00 环境搭建 Xcode/GLEW/GLFW/GLAD
1.安装brew在终端输入:$ gcc --version$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"$ brew doctor$brew update2.安装GLEW和GLFW库在终端输入:$ b原创 2017-07-11 10:18:50 · 2509 阅读 · 1 评论