I am looking for a very simple tutorial to use OpenGL only for 2D drawing.
My problem is that I want to draw, with OpenGl a bitmap having its pixels.
Thank you in advance, Ouael
I am looking for a very simple tutorial to use OpenGL only for 2D drawing.
My problem is that I want to draw, with OpenGl a bitmap having its pixels.
Thank you in advance, Ouael
Get any 3d example and just set the z coordinate to zero.
e.g. if you have coordinates like (2,3,1) change it to (2,3) or (2,3,0).