摘要:
https://learnopengl-cn.github.io/02%20Lighting/03%20Materials/ https://www.jianshu.com/p/855ce8d81849 #include "QtFunctionWidget.h" #include <QDebug> 阅读全文
摘要:
https://www.jianshu.com/p/bc40f5bd60f3 https://learnopengl-cn.github.io/02%20Lighting/01%20Colors/ #include "lightwidget.h" #include <QDebug> #include 阅读全文
摘要:
https://learnopengl-cn.github.io/01%20Getting%20started/09%20Camera/#_8 https://www.jianshu.com/p/003b1fb8d6d3 #include "ACamera.h" #include <QDebug> 阅读全文
摘要:
原文:https://www.jianshu.com/p/45122bdaae77 opengl核心函数版 #include "corefunctionwidget.h" #include <QDebug> #include <QTimer> static GLuint VAO,VBO,textur 阅读全文
摘要:
https://learnopengl-cn.github.io/ 阅读全文
摘要:
原文:https://www.jianshu.com/p/62fb681df39c Qt中有对应的QMatrix4x4处理4维矩阵 使用OpenGL函数版 #include "widget.h" #include "ui_widget.h" #include <QTImer> #include <Q 阅读全文
摘要:
float timeValue = glfwGetTime(); float greenValue = (sin(timeValue) / 2.0f) + 0.5f; int vertexColorLocation = glGetUniformLocation(shaderProgram, "our 阅读全文
摘要:
着色器: //#include <iostream> //#include "Display.h" // //int main() //{ // std::string title("LearnOpenGL"); // Display window(800,600, title); // // // 阅读全文
摘要:
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 阅读全文
摘要:
#include <iostream> #include <glad/glad.h> #include <GLFW/glfw3.h> void framebuffer_size_callback(GLFWwindow* window, int width, int height) { glViewp 阅读全文