Tagged articles
10 articles
Page 1 of 1
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.

AndroidMobile DevelopmentPNG
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.

FreeTypeOpenGLbitmap font
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 NDKMulti-TextureOpenGL ES
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 ObjectsGPUOpenGL
0 likes · 18 min read
Understanding OpenGL Buffer Objects and VBO Optimization
ELab Team
ELab Team
May 26, 2021 · Frontend Development

Master WebGL: From Basics to Shaders and Texture Mapping

This article provides a comprehensive overview of WebGL, explaining its relationship to OpenGL ES, the structure of WebGL programs, shader programming (vertex and fragment shaders), storage qualifiers, a step‑by‑step colored‑triangle example, the rendering pipeline, and practical texture‑mapping techniques with code samples.

ShadersWebGLglsl
0 likes · 17 min read
Master WebGL: From Basics to Shaders and Texture Mapping
Taobao Frontend Technology
Taobao Frontend Technology
Jun 12, 2020 · Frontend Development

Unlocking WebGL: From JavaScript to 3D Graphics Mastery

This article walks readers through the fundamentals of WebGL and OpenGL ES, explaining how JavaScript can drive hardware‑accelerated 3D graphics in browsers, covering rendering pipelines, shader basics, and the relationship between GPU, CPU, and modern web development.

OpenGL ESShaderWebGL
0 likes · 17 min read
Unlocking WebGL: From JavaScript to 3D Graphics Mastery
Test Development Learning Exchange
Test Development Learning Exchange
Jan 21, 2019 · Fundamentals

Draw the ‘What Is Peiqi?’ Mascot with Python Turtle – Full Code Walkthrough

This tutorial provides a complete Python‑turtle script that recreates the popular “What Is Peiqi?” movie mascot, explains each drawing step—from nose and eyes to body and tail—shows how to run the program, and displays the final illustration, all without any promotional content.

Code Exampledrawing tutorialgraphics programming
0 likes · 7 min read
Draw the ‘What Is Peiqi?’ Mascot with Python Turtle – Full Code Walkthrough
Taobao Frontend Technology
Taobao Frontend Technology
May 16, 2018 · Frontend Development

How Shaders Can Shrink, Beautify, and Speed Up Your Web Pages – A WebGL Tutorial

This article explains how programmable shaders running on the GPU form the foundation of modern graphics rendering, and demonstrates step‑by‑step how to replace a large transparent PNG background, create animated particle effects, and draw complex patterns directly with GLSL in WebGL, resulting in smaller, more dynamic, and faster web pages.

Frontend OptimizationShaderWebGL
0 likes · 20 min read
How Shaders Can Shrink, Beautify, and Speed Up Your Web Pages – A WebGL Tutorial