会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
狂奔~
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
41
下一页
2019年12月24日
光照--材质
摘要: https://learnopengl-cn.github.io/02%20Lighting/03%20Materials/ https://www.jianshu.com/p/855ce8d81849 #include "QtFunctionWidget.h" #include <QDebug>
阅读全文
posted @ 2019-12-24 09:22 狂奔~
阅读(196)
评论(0)
推荐(0)
2019年12月23日
光照--颜色
摘要: https://www.jianshu.com/p/bc40f5bd60f3 https://learnopengl-cn.github.io/02%20Lighting/01%20Colors/ #include "lightwidget.h" #include <QDebug> #include
阅读全文
posted @ 2019-12-23 15:24 狂奔~
阅读(144)
评论(0)
推荐(0)
摄像机
摘要: https://learnopengl-cn.github.io/01%20Getting%20started/09%20Camera/#_8 https://www.jianshu.com/p/003b1fb8d6d3 #include "ACamera.h" #include <QDebug>
阅读全文
posted @ 2019-12-23 13:51 狂奔~
阅读(192)
评论(0)
推荐(0)
2019年12月21日
坐标系统
摘要: 原文:https://www.jianshu.com/p/45122bdaae77 opengl核心函数版 #include "corefunctionwidget.h" #include <QDebug> #include <QTimer> static GLuint VAO,VBO,textur
阅读全文
posted @ 2019-12-21 09:08 狂奔~
阅读(329)
评论(0)
推荐(0)
2019年12月20日
learnOpenGL CN
摘要: https://learnopengl-cn.github.io/
阅读全文
posted @ 2019-12-20 16:21 狂奔~
阅读(343)
评论(0)
推荐(0)
矩阵转换
摘要: 原文:https://www.jianshu.com/p/62fb681df39c Qt中有对应的QMatrix4x4处理4维矩阵 使用OpenGL函数版 #include "widget.h" #include "ui_widget.h" #include <QTImer> #include <Q
阅读全文
posted @ 2019-12-20 15:42 狂奔~
阅读(465)
评论(0)
推荐(0)
2019年12月19日
uniform
摘要: float timeValue = glfwGetTime(); float greenValue = (sin(timeValue) / 2.0f) + 0.5f; int vertexColorLocation = glGetUniformLocation(shaderProgram, "our
阅读全文
posted @ 2019-12-19 15:38 狂奔~
阅读(1116)
评论(0)
推荐(0)
2019年12月18日
qt opengl
摘要: 着色器: //#include <iostream> //#include "Display.h" // //int main() //{ // std::string title("LearnOpenGL"); // Display window(800,600, title); // // //
阅读全文
posted @ 2019-12-18 17:51 狂奔~
阅读(642)
评论(0)
推荐(0)
qt ubutun各个版本下载地址
摘要: http://download.qt.io/archive/qt/ http://download.qt.io/new_archive/qt/5.7/5.7.1/ https://mirrors.ustc.edu.cn/qtproject/archive/ http://download.qt.io
阅读全文
posted @ 2019-12-18 09:20 狂奔~
阅读(232)
评论(0)
推荐(0)
2019年12月17日
opengl第一个工程
摘要: #include <iostream> #include <glad/glad.h> #include <GLFW/glfw3.h> void framebuffer_size_callback(GLFWwindow* window, int width, int height) { glViewp
阅读全文
posted @ 2019-12-17 16:19 狂奔~
阅读(550)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
41
下一页
公告