OpenGL learning notes part I - environment configuration and basic knowledge

preface: Before starting to learn opengl, the blogger learned the first ten sections (rendering pipeline part) of games101 graphics foundation and the first two sections (basic part) of games202. This note was expanded by the second section of games202, and the subsequent content came from learnopungl (originally wanted to read the blue book, ...

Added by aerodromoi on Thu, 03 Mar 2022 17:06:30 +0200

Computer graphics -- Experiment 4 texture mapping experiment

Experiment 4: texture mapping experiment Nature of experiment project: Design Experiment Course Name: computer graphics A Experimental planned class hours: 3 class hours 1, Purpose and requirements of the experiment Master the basic principle of texture mapping, and use VC++ OpenGL to realize texture mapping technology. 2, Experimental pr ...

Added by gamesmad on Sun, 27 Feb 2022 08:22:51 +0200

Qt + OpenGL to realize 3D display of manipulator

  catalogue Realize function Realization effect Introduction to STL General idea How to make the model move? Class diagram design Core code reference material Realize function 1. Adjust the posture of the manipulator through the joint angle (joint motion) 2. Teaching point 3. Coordinate system display 4. Support 3d display of man ...

Added by Tilemachos on Sun, 20 Feb 2022 15:08:12 +0200

Android OpenGL ES rendered text

1 Preface Let's start with a soul torture: Why study OpenGL rendering text? Isn't it more fragrant to use Android canvas?! It depends on the application scenario. A pure UI interface does not need to use OpenGL. However, for complex ones, such as bullet screen, the effect will be much better with OpenGL. So what's the difference between Canv ...

Added by kenwvs on Fri, 11 Feb 2022 21:38:43 +0200

How to draw snowflakes with OpenGL's point sprite?

After watching the Winter Olympics, we know that Altay is not only the "snow capital" of China, but also the "origin of human skiing". Whether this statement is true or not, let alone, Altay's snow is really beautiful. There is a promotional film for the Winter Olympic Games, which tells the story of the Winter Olympic Games ...

Added by RootKit on Sat, 05 Feb 2022 06:53:04 +0200

Read "computer graphics programming (using OpenGL and C + +)" 4

When drawing an object, its vertex data needs to be sent to the vertex shader. Usually, the vertex data is put into a buffer on the C + + side, and the buffer is associated with the vertex attributes declared in the shader. The steps are as follows: The steps that are only done once are generally placed in init(). 1. Create a buffer. 2. Copy ve ...

Added by fansa on Sat, 29 Jan 2022 21:23:33 +0200

Read computer graphics programming (using OpenGL and C + +). 2

OpenGL can draw points, lines and triangles. These simple things are called primitives. Most 3D models are usually composed of many triangular primitives. An entity consists of vertices. Vertices can be read from files and loaded into buffers by C++/OpenGL applications, or hard coded strings directly in C + + files or directly in GLSL code. Bef ...

Added by daleks on Fri, 28 Jan 2022 19:41:46 +0200

OpenGL blasting plan mathematics, coordinates, camera, component model

Chapter 3 - Mathematics, coordinates, cameras and component models In Chapter 2, we have preliminarily discussed shaders. In this chapter, we will explore how to make objects move (most importantly, rotate) in OpenGL. It is assumed that you are already familiar with basic linear algebraic calculations: vector number multiplication, point ...

Added by khaitan_anuj on Sun, 23 Jan 2022 16:31:05 +0200

Section 10 example - double click to run to the operator

reason Netizen: KeepSmile put forward an example of whether you can run after double clicking. If you need me to write some examples and analysis to realize a function in your study or work, you can clearly describe the function after this article, reply in the comment area or leave a message in the group, and I will help write some examples a ...

Added by scald on Sun, 23 Jan 2022 11:27:05 +0200

Section 9 examples - the simplest first person roaming operator

reason Group Friends: challenge a high starting point. I asked such a question in the group: So I think it's confused about the viewport defaults and rotation of the operator. If you don't make it clear, basically many things can't be done later. I'm going to write a small example to help you sort it out. The complete code is at the end of t ...

Added by ZaphodQB on Sun, 23 Jan 2022 10:03:39 +0200