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
OpenGL super classic notes - depth texture and shadow
Previously, we introduced the simple method of flattening objects to the projection plane to create shadows. However, this shadow method has its limitations (for example, the projection plane must be a plane). In opengl1 4 introduces a new method shadow map to generate shadows.
The principle behind shadow mapping is simple. We first take the p ...
Added by bestrong on Sat, 22 Jan 2022 07:31:58 +0200
OSG data loading performance optimization: merging geometry
1. Theoretical knowledge
OSG finally draws osg::Geometry, and then the Geometry will be stored in the Node. For example, if we want to draw 10 lines, we have two methods. One method is to define 10 Geometry, and each Geometry defines two vertices to draw one line. Another method is to define a Geometry with 20 vertices and draw 10 lines at one ...
Added by WildcatRudy on Sat, 22 Jan 2022 00:18:48 +0200