11 2021 档案
摘要:我很懒,直接看代码吧,相信你没问题。 头文件: #ifndef PICKENTITY_H #define PICKENTITY_H #include "base_render.h" #include <memory> namespace View3D{ class PickEntity:public
阅读全文
摘要:opengl之三角形绘制glDrawArrays .h #ifndef TRIANGLE_RENDER_H #define TRIANGLE_RENDER_H #include <QOpenGLWidget> #include <QOpenGLFunctions> #include <QOpenGL
阅读全文
摘要:opengl之纹理贴图 h #ifndef TEXTURE_RENDER_H #define TEXTURE_RENDER_H #include <QOpenGLWidget> #include <QOpenGLFunctions> #include <QOpenGLBuffer> #include
阅读全文
摘要:Polygon Offset If you want to highlight the edges of a solid object, you might try to draw the object with polygon mode GL_FILL and then draw it again
阅读全文