filmov
tv
Text Rendering In OpenGL // OpenGL Tutorial #46.1

Показать описание
This is the first of two videos on font and text rendering in OpenGL using the FreetypeGL library. In this video we learn how to build FreetypeGL and its dependencies on Windows. In the next one we will integrate it into an OpenGL application.
Here's a short summary of the steps presented in the video:
1. Install CMake.
2. Create ‘work’ directory
3. Create ‘work\lib’
5. Open solution from freetype\builds\windows\vc2010
6. Change to ‘Release’ build and build solution.
10. If asked, upgrade solution.
11. Change to ‘Release’ build
12. Add to C/C++ - General - Additional include directories:
C:\Users\emeir\Documents\work\freetype-2.13.0\include
ogldev\Include
14. Copy "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\x64\OpenGL32.Lib" to work\lib.
* Create Freetype-GL demos
2. Unzip the package, open terminal in the extract directory and execute:
cmake -G "Visual Studio 17 2022" -DCMAKE_BUILD_TYPE=Release -S . -B build
3. Open build/GLFW.sln and build in release build.
4. Execute in terminal:
cmake --install build --prefix install
5. cd freetype-gl/demo
list(APPEND CMAKE_PREFIX_PATH "../../glfw-3.3.8/install")
8. Add to demo-utils project include:
C:\Users\emeir\Documents\work\freetype-gl
ogldev\include
9. Remove include config.h from opengl.h
Add link directory to Ansi project: ..\..\Lib
Timecodes:
0:00 Intro
1:45 Download Freetype
2:34 Building Freetype
3:43 Clone FreetypeGL sources
4:01 Build FreetypeGL
8:28 FreetypeGL demos
8:40 Download GLFW
9:21 Build GLFW
10:14 Build FreetypeGL demos
14:30 Running the demos
15:19 Outro
Feel free to comment below.
Instagram: @ogldev1
Twitter: @ogldev
Music credits:
Track: Moonlight — Next Route [Audio Library Release] Music provided by Audio Library Plus Watch: • Moonlight — Next Route |
––––––––––––––––––––––––––––––
––––––––––––––––––––––––––––––
––––––––––––––––––––––––––––––
––––––––––––––––––––––––––––––
––––––––––––––––––––––––––––––
Track: Ocean Tide — Jay Someday [Audio Library Release] Music provided by Audio Library Plus Watch: • Ocean Tide — Jay Someday |
Enjoy,
Etay Meiri
#opengl #ogldev #opengtutorials
Here's a short summary of the steps presented in the video:
1. Install CMake.
2. Create ‘work’ directory
3. Create ‘work\lib’
5. Open solution from freetype\builds\windows\vc2010
6. Change to ‘Release’ build and build solution.
10. If asked, upgrade solution.
11. Change to ‘Release’ build
12. Add to C/C++ - General - Additional include directories:
C:\Users\emeir\Documents\work\freetype-2.13.0\include
ogldev\Include
14. Copy "C:\Program Files (x86)\Windows Kits\10\Lib\10.0.19041.0\um\x64\OpenGL32.Lib" to work\lib.
* Create Freetype-GL demos
2. Unzip the package, open terminal in the extract directory and execute:
cmake -G "Visual Studio 17 2022" -DCMAKE_BUILD_TYPE=Release -S . -B build
3. Open build/GLFW.sln and build in release build.
4. Execute in terminal:
cmake --install build --prefix install
5. cd freetype-gl/demo
list(APPEND CMAKE_PREFIX_PATH "../../glfw-3.3.8/install")
8. Add to demo-utils project include:
C:\Users\emeir\Documents\work\freetype-gl
ogldev\include
9. Remove include config.h from opengl.h
Add link directory to Ansi project: ..\..\Lib
Timecodes:
0:00 Intro
1:45 Download Freetype
2:34 Building Freetype
3:43 Clone FreetypeGL sources
4:01 Build FreetypeGL
8:28 FreetypeGL demos
8:40 Download GLFW
9:21 Build GLFW
10:14 Build FreetypeGL demos
14:30 Running the demos
15:19 Outro
Feel free to comment below.
Instagram: @ogldev1
Twitter: @ogldev
Music credits:
Track: Moonlight — Next Route [Audio Library Release] Music provided by Audio Library Plus Watch: • Moonlight — Next Route |
––––––––––––––––––––––––––––––
––––––––––––––––––––––––––––––
––––––––––––––––––––––––––––––
––––––––––––––––––––––––––––––
––––––––––––––––––––––––––––––
Track: Ocean Tide — Jay Someday [Audio Library Release] Music provided by Audio Library Plus Watch: • Ocean Tide — Jay Someday |
Enjoy,
Etay Meiri
#opengl #ogldev #opengtutorials
Комментарии