QTOpenGL development (1) Drawing plane graphics

Article directory draw triangle Anti-aliasing configuration Draw points, lines, quadrilaterals, polygons Draw a single point Plot multiple points Draw a straight line Draw a quadrilateral Draw polygon Draw picture texture There are many ways to implement OpenGL development in QT. The simplest and most direct way is to implement OpenGL drawing and rendering by subclassing […]

QtOpenGL development (3) shader programming

All operations in OpenGL are performed in three-dimensional space, but screens and windows are composed of two-dimensional pixels. So a large part of OpenGL’s work is to convert three-dimensional coordinate primitive information into two-dimensional pixels on the screen. In OpenGL, this three-dimensional to two-dimensional conversion process is managed by the rendering pipeline (graphics pipeline). The […]

QtOpenGL (1) simple 3D point

QtOpenGL (1) Simple 3D point drawing Article directory QtOpenGL (1) Simple 3D point drawing foreword 1. OpenGL in Qt Two, the effect 3. Code 1–.h file 2–.cpp file Four, pay attention 1. Initialization 2. Drawing V. Summary Foreword There are also many examples of OpenGL on the Internet, and I have been using it before. […]