Tag:texture

  • OpenGL learning 20 – cube mapping

    Time:2022-6-29

    Cubemaps CubemapIs a texture that contains six independent 2D textures from each plane of the cube: a texture cube. A useful feature of a cube map is that it can be indexed / sampled using a direction vector. The following shows a 1x1x1 unit cube with brown as the direction vector:(Pictures from the book) Cube […]

  • OpenGL realizes the function of drawing revision (P drawing)

    Time:2022-6-25

    Android OpenGL implements p-graph function P-graph function and OpenGL P-graph function and OpenGL Friends who have played with P-map software must know something about this function. We can simply see P-map as moving the pixels in an area in a certain direction to produce a certain deformation effect. Based on this principle, we can manually […]

  • Three. JS to achieve 3D panoramic detective games &\128373; ️

    Time:2022-6-17

    background You are?Hey, hey, hey, Detective AgencyIntern detective ﹐ after receiving the task assigned by the superior, go toZhen Kaixin townSurvey citizensZhen BuzhangGem theft, according to the informantTramp Mr. ShiThe thief is hiding in the town. Find him and help Zhen bupao find the stolen gem! This article usesThree.js SphereGeometryestablish3DPanorama preview function, and add 2D […]

  • Three. JS to achieve 3D panoramic detective games &\128373; ️

    Time:2022-6-17

    background You are?Hey, hey, hey, Detective AgencyIntern detective ﹐ after receiving the task assigned by the superior, go toZhen Kaixin townSurvey citizensZhen BuzhangGem theft, according to the informantTramp Mr. ShiThe thief is hiding in the town. Find him and help Zhen bupao find the stolen gem! This article usesThree.js SphereGeometryestablish3DPanorama preview function, and add 2D […]

  • 5、 OpenGL texture

    Time:2022-6-15

    Audio and video development: summary of OpenGL + OpenGL es + metal series articles Texture can package objects to display different patterns. This paper begins to understand the texture and master how to set the texture Main contents:1. Texture recognition2. Texture settings3. Texture coordinates4. Pyramid case 1. Texture recognition Texture is a kind of graphic […]

  • Android involves OpenGL coordinate knowledge

    Time:2022-6-8

    When using OpenGL es2.0 to render images, we often need to deal with the coordinate system. At present, we mainly study two-dimensional coordinates, so we will ignore the z-axis of the three dimensions first.1. Android screen coordinate system, as shown below: image.png 2. Vertex coordinate system in OpenGL, as shown below: image.png 3. Texture coordinate […]

  • SMFL notes

    Time:2022-6-6

    Most of this article comes from the Google translation of the official tutorial, but adds a little personal understanding and other relevant knowledge Please indicate the original link for Reprint:https://www.cnblogs.com/Multya/p/16273753.html Official tutorial: https://www.sfml-dev.org/tutorials/2.5/ Continuous updating Configure cmake Precompiled binary library files are used here. It’s not too troublesome to compile by yourself Cmake files need […]

  • Drawing system of Android Q skia

    Time:2022-5-13

    Lifelong learning with you, this is Android programmer Classic good articles are recommended. By reading this article, you will gain the following knowledge points: 1、 Drawing mechanism of view2、 Hwui drawing architecture3、 Render device4、 ImageView drawing5、 Geometric treatment during drawing skmatrix The biggest change in Android Q rendering system is to add skia’s part. Before […]

  • [unity] opencv plus unity obtain the camera in unity and call OpenCV to grayscale the instance

    Time:2022-5-2

    preface There are few tutorials related to opencv plus unity. There are many of OpenCV, but there are few relevant tutorials applied on unity. For example, there are few paid opencv for unity. At present, the economy is limited, so we can only choose a smaller number of OpenCV plus unity. There are even no […]

  • Shaderlibrary in URP

    Time:2022-4-7

    Shaderlibrary in URP When using URP, we usually don’t refer to the files of the core library, but refer to the HLSL files under the shaderlibrary folder in the URP package. Here, we sort out and summarize the contents of each file to facilitate later browsing and positioning. Core.hlsl Some common data structures and some […]

  • Audio and video development tour (41) – sky box

    Time:2022-4-4

    catalogue Implementation principle of sky box Specific code implementation data harvest The effect is as follows Today, we learn and practice sky box. The technology of sky box itself is relatively simple, but it can make a lot of effects, such as comparing the sky, mountains, sea, VR viewing and so on. It can move […]

  • Explore the difference of texture coordinates among OpenGL, OpenGL es and webgl

    Time:2022-4-2

    preface A while ago, I was busy investigating the filter implementation of third-party camera applications, and made these filters into the form of AE plug-ins for designers to use, so as to make more aesthetic filter effects. During the development of AE plug-in, it is found that the output of some shader codes in AE […]