8

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

Ouael Mouelhi
  • 89
  • 1
  • 4
  • possible duplicate of [Android OpenGL help needed.](http://stackoverflow.com/questions/3572470/android-opengl-help-needed) – Matthew Apr 03 '11 at 08:14

2 Answers2

2

The glbuffer for the Android NDK was useful for me.

This answer also has many tutorials linked.

Community
  • 1
  • 1
Matthew
  • 44,826
  • 10
  • 98
  • 87
-4

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).

Mayur Birari
  • 5,837
  • 8
  • 34
  • 61