Is it important to know OpenGL?
I’ve been reading OpenGL tutorials for a while now, I’ve learn that the coordinate system between pure SDL and OpenGL isn’t the same.
In SDL you get to deal with the same thing as you would in canvas and all I’ve seen before getting to know the OpenGL. The origin mostly starts from the top left of the screen, but in OpenGL the coordinate system is different.
For example, if you want to setup the viewport, origin starts at bottom left of the screen.
But it you are working on textures, t = 0 is top t = 1 is bottom, and then s = 0 is left, s = 1 is right
and for vertexes, origin starts at the center of the viewport and minus to the left for X, and to the top for Y.
Why they’re different? And it it better, or faster to work with these coordinate systems instead of just with the pure SDL
Thank you very much!