freetype-gl
Our great sponsors
freetype-gl | gtec-demo-framework | |
---|---|---|
3 | 42 | |
1,585 | 241 | |
- | 2.5% | |
6.3 | 4.8 | |
about 1 month ago | about 2 months ago | |
C | C++ | |
GNU General Public License v3.0 or later | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
freetype-gl
-
Rendering text
To render text in my own engine, I rasterise TTF files. I use FreeType to do most of the work for me and use FreeType-GL to take care of packing the glyphs into a single texture (as well as handling UTF-8 text).
-
Rendering text and images performance help?
Storing all glyphs in a single texture like you describe is also commonly done. Another piece of code you might want to have a look at is freetype-gl: https://github.com/rougier/freetype-gl.
-
I hate font rendering
Freetype-gl is easy to use: https://github.com/rougier/freetype-gl
gtec-demo-framework
-
Fixed/Framerate-Independent Timestep for "pixel-perfect" 2D games?
While the principle in that article is correct it’s unfortunately a lot more complex to solve correctly. See my answers to a similar problem here. You can also check this app
-
Confused about sRGB swapchain format, the displayed colors looks wrong
Here are some details that should help. You can also look at this example
-
How did they create the grid and its distortions in Geometry Wars? Is there an algorithm for this?
There is also this implementation.
-
Making UI Library (OpenGL) in your engine
Take a look at this
-
Any ideas why my gl es2 animation is blurry/ghosted? Looks the same if rotation is done in shader or done by directly modifying with vertex attrib pointer. Using egl wayland and gles2
You could try running the samples from the NXP demo framework to see if they show the same behavior. I expect the GLES2.S06_Texturing sample would be easy to see it on.
-
Any topics about advanced text rendering?
If op decides to use bitmap fonts for small sizes there is some valuable tips here
-
A new build system for C/C++ - lean, statically typed, cross-platform, easily bootstrappable
Well here is a real world large project with 452 packages and 170 applications that run on five operating systems that has been using this since 2014.
-
OctaneGUI August 2022 Update
Does it handle DPI properly? If not you might find this useful.
-
GUI USING OPENGL
Check this guide
-
How can I render textures so that their curves don't look terrible and are smooth?
Maybe this can help.
What are some alternatives?
stb - stb single-file public domain libraries for C/C++
Vulkan - Examples and demos for the new Vulkan API
msdfgl - OpenGL implementation of the MSDF algorithm
dat.gui - Lightweight controller library for JavaScript.
GLFW - A multi-platform library for OpenGL, OpenGL ES, Vulkan, window and input
3d-game-shaders-for-beginners - 🎮 A step-by-step guide to implementing SSAO, depth of field, lighting, normal mapping, and more for your 3D game.
Craft - A simple Minecraft clone written in C using modern OpenGL (shaders).
LearnOpenGL - Code repository of all OpenGL chapters from the book and its accompanying website https://learnopengl.com
Tehreer-Android - Standalone text engine for Android aimed to be free from platform limitations
OctaneGUI - OctaneGUI is a renderer agnostic multi-window multi-platform UI library for C++.
cute_headers - Collection of cross-platform one-file C/C++ libraries with no dependencies, primarily used for games
vulkan-guide - Introductory guide to vulkan.