Optimize Your Meshes! // OpenGL Tutorial #48

Опубликовано: 21 Март 2025
на канале: OGLDEV
6,989
258

In this video we learn how to optimize meshes and models using the Mesh Optimizer tool.

🔥 See the list of the books that I'm using as background information for my tutorials: https://ogldev.org/books.html. I highly recommend them for learning more about OpenGL and Vulkan. These are affiliate links so if you use them to buy any of the books the price is the same for you and I will get a small commission (thank-you!).

Mesh Optimizer: https://github.com/zeux/meshoptimizer
Arseny Kapoulkine on youtube:    / @zeuxcg  

Timecodes:
0:00 Intro
1:12 Installing Mesh Optimizer
2:33 Integration
2:47 SOA to AOS
8:11 Integration - continued
9:54 Optimization #1 - drop duplicate vertices
12:57 Optimization #2 - optimize the vertex cache
14:07 Optimization #3 - optimize overdraw
15:50 Optimization #4 - optimize the vertex buffer
16:37 Optimization #5 - mesh simplification
19:14 Outro

Make sure to watch all the previous tutorials in the "OpenGL For Beginners" playlist at    • OpenGL for Beginners  

Please visit https://ogldev.org to see more of my tutorials on modern OpenGL.

Link to source: https://github.com/emeiri/ogldev/blob...
If you want to get the same version of the code that was used in the video checkout the tag 'TUT_48_MESH_OPTIMIZER'.

OpenGL 4.6 specification: https://www.khronos.org/registry/Open...

Credits:
Models from McGuire Computer Graphics Archive: https://casual-effects.com/data/
Image: https://www.cleanpng.com/png-download...
GPU Image by rwindr from Pixabay
-----------------------
Easy Love by Hotham   / hothammusic  
Creative Commons — Attribution 3.0 Unported — CC BY 3.0
Free Download / Stream: https://bit.ly/405k8o8
Music promoted by Audio Library https://bit.ly/3Qbk2H1
-----------------------
Tropical Funk by tubebackr   / tubebackr  
Creative Commons — Attribution-NoDerivs 3.0 Unported — CC BY-ND 3.0
Free Download / Stream: https://bit.ly/3Q6Ut9N
Music promoted by Audio Library https://bit.ly/3MxS2fR
----------------------

Feel free to comment below.

Email: [email protected]
Instagram: @ogldev1
Github: https://github.com/emeiri/ogldev.git
Twitter: @ogldev
One time donations (Paypal): https://ogldev.org/donate.html
Patreon:   / ogldev  

Enjoy,

Etay Meiri

#opengl #ogldev #opengtutorials