3 ms·
If you have a mostly 2d UI in mind, you might to from something even simpler than opengl, like SDL or raylib - anything that lets you out pixels on a screen. M
by phtrivier 5y ago
If you have a mostly 2d UI in mind, you might to from something even simpler than opengl, like SDL or raylib - anything that lets you out pixels on a screen.
My personal experience is that starting developing in opengl always ends up wasting hours getting the right libs installed to get potentially full 3d GPU acceleration - which might be beyond the point if you want to draw stuff.
Casey muratorri is spot on in saying that not having a single, simple, unniversal and basic API to "open a window and draw pixels" is what we lost the most during the 90s.
Anyway, try to bypass the not-interesting-to-you parts, and have fun !
- scott01 5y agoNoted, thanks! Yes, I was thinking more about 2D
- krapp 5y agoI would definitely suggest starting with SDL, because it is a "single, simple, universal and basic API to 'open a window and draw pixels'" and it recently added an API to draw geometry directly without OpenGL. It also gives you a flexible event system that can be used for messaging.