Загрузка...

Debugging Your OpenGL Code // Tips & Tricks!

In this video I describe several methods that you can use in order to debug your OpenGL code, on the application side as well as on the shader side. If you are not familiar with STB image you can check out my texture mapping tutorial at: https://youtu.be/n8t7nvHCqek Get the stb_image_write.h from my git repo below or from the original location: https://github.com/nothings/stb/blob/master/stb_image_write.h Online resource on debugging: https://learnopengl.com/In-Practice/Debugging Make sure to watch all the previous tutorials in the "OpenGL For Beginners" playlist at https://youtube.com/playlist?list=PLA0dXqQjCx0S04ntJKUftl6OaOgsiwHjA Please visit https://ogldev.org to see more of my tutorials on modern OpenGL. Link to source: https://github.com/emeiri/ogldev/ OpenGL 4.6 specification: https://www.khronos.org/registry/OpenGL/specs/gl/glspec46.core.pdf Feel free to comment below. Timecodes 0:00 Intro 0:34 Method #1: glGetError() 3:49 Method #2: Debug Context 9:09 Method #3: External Tools 12:25 Method #4: Geometry first, pixel second 15:11 Method #5: Use the framebuffer for step by step debugging 16:57 Method #6: Read the framebuffer values 19:12 Conclusion Email: ogldev1@gmail.com Facebook: https://www.facebook.com/Ogldev-188319114585587 GIthub: https://github.com/emeiri/ogldev.git Twitter: @ogldev One time donations (Paypal): https://ogldev.org/donate.html Patreon: https://www.patreon.com/ogldev My gear (Amazon affiliate links): Camera - Canon EOS M50: https://amzn.to/3duVIOh Camera mic - Rode Videomic: https://amzn.to/3dsGVDs Desktop mic - Rode NT-USB-Mini: https://amzn.to/3giMoif Credits: Video by cottonbro from Pexels Video by Artem Podrez from Pexels Video by Atakan Ozkan from Pexels Video by Mikhail Nilov from Pexels Image by Clker-Free-Vector-Images from Pixabay Image by Gustavo Rezende from Pixabay Image by Schmidsi from Pixabay Sounds effect by Patricia Celso (youtube) Sound effects by CLEREMTV (youtube) Music: "Behold the Sun" by Topher Mohr and Alex Elena (youtube audio library) Enjoy, Etay Meiri #opengl #ogldev #opengtutorials

Видео Debugging Your OpenGL Code // Tips & Tricks! автора JavaScript Революция
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки