C-3: draw a colored pyramid and add a lighting effect
Operation requirements:
a. The side length of the pyramid is 2;
b. The color of each vertex of a pyramid is different;
c. The center of the pyramid is (1,2,3);
d. It is required to use a variety of lights, including ambient light, specular light and scattered light, which can be reflected by controlling the object
Material factors and ...
Posted by jase01 on Wed, 17 Nov 2021 08:12:54 -0800
OpenGL chain filter (frame buffer off screen rendering)
The special effects written by OpenGL can be realized by a single shader in some applications, that is, by modifying the vertex shader or slice shader. However, more scenes require the combination of multiple special effects. For example, the final effect is the image gray plus upside down. If the effect is not complex, it can be realized by mo ...
Posted by mmonaco on Fri, 05 Nov 2021 18:09:18 -0700
OpenGL (QT platform) learning and Practice
Coordinate system
The process of converting coordinates to standardized equipment coordinates and then to screen coordinates is usually carried out step by step, which is similar to the pipeline. In the pipeline, the vertices of the object will be transformed into multiple coordinate systems before they are finally transformed into screen coor ...
Posted by liquidchild_au on Tue, 19 Oct 2021 23:29:02 -0700
How GPUImage works
This article mainly explains how the GPUImage bottom layer is rendered. The GPUImage bottom layer uses OPENGL to manipulate the GPU to realize screen display
Because there are very few online OpenGL actual combat materials, the official documents can not explain some methods clearly, so as to avoid the majority of students from climbing the pi ...
Posted by phoolster on Sat, 02 Oct 2021 15:57:17 -0700