This week I’ve been trying to get some semblance of a UI going in my project. I started out spending 3 days following and debugging issues with the learnopengl.com tutorial about text rendering. The issue was winding order on vertices to render the plane that the text is textured onto.

Then, I tried to refactor the code and again more issues came up, this time with winding order again… I really got frustrated when this happened. However, the nice part is I discovered an issue with how my renderer handles triangle strips. So, I’m glad I discovered that now, so I don’t pull my hair out later about it.

I spend this whole week trying to get text rendered to a screen in OpenGL, and it taught me one thing. Don’t rush to modify things, do it slowly. Then do it again, with changes and test. Then, refactor after you know what the moving parts do.

I’m tired from all this debugging, time to rest!

Last modified: May 19, 2019

Author