FONT Rendering in OpenGL | C++ Game Engine #06

  Рет қаралды 555

Guilherme Teres

Guilherme Teres

Күн бұрын

✅ Support this Project (Patreon): bit.ly/patreon-uniday
➡️ My Discord Channel: bit.ly/discord-uniday-us
In this video I'll be discussing the implementation of font rendering in #OpenGL for the #GameEngine. The entire source code for this video plus others is available on my Patreon, so if you're interested in it, check the first link for more details!
Timestamps:
0:00 Font handling integration
0:12 Transform compatibility
0:23 Using STB image
0:32 Overview of the font class
1:00 Font atlas explanation
1:21 Font atlas image with characters
1:38 Using System Fonts
1:56 Font initialization example
2:09 Simple font class design
2:27 Texture atlas binding
2:42 Building the atlas
2:57 Handling strings with font
3:09 Returning a mesh from the font handler
4:04 Baking the bitmap with STB true type
4:18 Building an alpha map
5:02 Mapping characters to the UV map
5:23 Explanation of character mapping
6:01 Submitting the atlas to the GPU
6:27 Garbage collection
6:37 Copy constructor details
6:59 Fun with the font handler
7:56 Centering the mesh for better handling
9:25 Integrated text handling
9:36 Future plans: Adding physics
10:04 Core concepts and sprite handling
10:38 Moving towards a more game-specific engine
10:51 Separate video for new features
10:53 Conclusion and next steps
························································
► Uniday Studio
By: Guilherme Teres Nunes

Пікірлер: 6
@jagatkrishna1543
@jagatkrishna1543 5 күн бұрын
Thanks ❤
@GuilhermeTeres
@GuilhermeTeres 5 күн бұрын
You're welcome
@alvpjh
@alvpjh 5 күн бұрын
In the BuildAtlas method, pass a "Color" as a parameter, where Color.R, Color.G, Color.B, I suppose it would be nice
@GuilhermeTeres
@GuilhermeTeres 5 күн бұрын
So it would have a default tint, right? Hmmm, that could work...
@Sirbozo
@Sirbozo 5 күн бұрын
Hello, World! plus i think this is the first game engine tutorial ever on youtube
@GuilhermeTeres
@GuilhermeTeres 5 күн бұрын
Nice!!
TILESETS in OpenGL | C++ Game Engine Devlog #07
17:04
Guilherme Teres
Рет қаралды 636
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 7 МЛН
Happy 4th of July 😂
00:12
Pink Shirt Girl
Рет қаралды 23 МЛН
ИРИНА КАЙРАТОВНА - АЙДАХАР (БЕКА) [MV]
02:51
ГОСТ ENTERTAINMENT
Рет қаралды 12 МЛН
MEGA BOXES ARE BACK!!!
08:53
Brawl Stars
Рет қаралды 35 МЛН
Coding Adventure: Rendering Text
1:10:54
Sebastian Lague
Рет қаралды 629 М.
Harder Than It Seems? 5 Minute Timer in C++
20:10
The Cherno
Рет қаралды 152 М.
Why Don't You Make Your OWN Game Engine?
7:23
Skeffles
Рет қаралды 8 М.
Abstracting OpenGL into Classes
26:46
The Cherno
Рет қаралды 121 М.
Learning C# In A Week... Otherwise I Fail University
9:04
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 759 М.
The Absolute Best Intro to Monads For Software Engineers
15:12
Studying With Alex
Рет қаралды 604 М.
Stack vs Heap Memory in C++
19:31
The Cherno
Рет қаралды 555 М.
2D Game Engine by 13-YEAR-OLD! // Code Review
27:36
The Cherno
Рет қаралды 260 М.
Use Arc Instead of Vec
15:21
Logan Smith
Рет қаралды 138 М.
Как сбежать от РОДИТЕЛЕЙ в Schoolboy runaway???
12:26
skibidi toilet zombie universe 34 ( New Virus)
3:35
MonsterUP
Рет қаралды 2,8 МЛН
ФРАНКЛИНДІ ЗҰЛЫМ ҮЙ ЖЕП ҚОЙДЫ (GTA V)
19:41
Мой Друг Стал ИГРУШКОЙ и Вот Почему! Майнкрафт | Minecraft
9:16
ВЛАДУС — Майнкрафт
Рет қаралды 454 М.