Tag

Graphics Programming

0 views collected around this technical thread.

Sohu Tech Products
Sohu Tech Products
Nov 20, 2024 · Mobile Development

Understanding Apng and Implementing Animation Playback on Android

APNG, a high‑quality animated PNG format offering 24‑bit color and 8‑bit alpha transparency, outperforms GIF in visual fidelity and file size, and on Android can be parsed and rendered via MappedByteBuffer and SurfaceView using background threads to load frames from memory, eliminating I/O lag and UI blocking.

AndroidApngGraphics Programming
0 likes · 13 min read
Understanding Apng and Implementing Animation Playback on Android
Bilibili Tech
Bilibili Tech
Jul 2, 2024 · Game Development

Character Rendering with FreeType and OpenGL: Bitmap Font Generation, Texture Creation, and Caching Mechanism

The article explains how to use FreeType to load and render font glyphs into bitmaps, upload those bitmaps as OpenGL textures, render them with texture coordinates, and employ a bitmap cache and fixed‑size texture atlas to efficiently manage and reuse character images in a fast double‑buffered text rendering pipeline.

FreeTypeGraphics ProgrammingOpenGL
0 likes · 8 min read
Character Rendering with FreeType and OpenGL: Bitmap Font Generation, Texture Creation, and Caching Mechanism
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 17, 2022 · Game Development

Practical Guide to Texture Mapping in OpenGL ES on Android: Passing Bitmap to Native Layer and Rendering

This tutorial explains how to transfer a Bitmap from Java to the native layer using the NDK, retrieve its pixel data with jnigraphics, create and configure an OpenGL texture, set up vertex and fragment shaders with proper texture coordinates, handle Y‑axis flipping on Android, and finally blend multiple textures for advanced rendering effects.

Android NDKGraphics ProgrammingMulti-Texture
0 likes · 20 min read
Practical Guide to Texture Mapping in OpenGL ES on Android: Passing Bitmap to Native Layer and Rendering
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 29, 2022 · Fundamentals

Understanding OpenGL Buffer Objects and VBO Optimization

This article explains the concept of OpenGL objects, focuses on common buffer objects such as VBO, VAO, and EBO, describes how they reduce CPU‑GPU transfer costs, and provides detailed code examples for creating, configuring, and rendering with Vertex Buffer Objects to improve graphics performance.

Buffer ObjectsGPUGraphics Programming
0 likes · 18 min read
Understanding OpenGL Buffer Objects and VBO Optimization
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Sep 27, 2022 · Frontend Development

Understanding Shaders in WebGL1: Vertex and Fragment Shaders, GLSL Syntax, and Cube Rendering

This article provides a comprehensive guide to WebGL1 shaders, explaining the roles of vertex and fragment shaders, GLSL syntax, storage qualifiers, precision, control structures, and demonstrates rendering a 3D cube with indexed drawing and reusable utility functions.

Fragment ShaderGLSLGraphics Programming
0 likes · 21 min read
Understanding Shaders in WebGL1: Vertex and Fragment Shaders, GLSL Syntax, and Cube Rendering