Tagged articles
5 articles
Page 1 of 1
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
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
Alibaba Cloud Developer
Alibaba Cloud Developer
Dec 11, 2018 · Game Development

How to Blend Real-World Textures with Virtual Objects Using OpenGL MVP

This article explains step‑by‑step how to create a simple AR scene where a virtual cube emerges from the ground and its top surface displays real‑time camera texture, covering model creation, texture binding, MVP matrix transformations, clipping to UV space, and handling of skeletal animation to achieve seamless environment‑aware rendering.

MVPOpenGLaugmented reality
0 likes · 10 min read
How to Blend Real-World Textures with Virtual Objects Using OpenGL MVP