开发者

2D example with OpenGL

开发者 https://www.devze.com 2023-02-15 19:16 出处:网络
I am looking for a very simple tutorial to use OpenGL only for 2D drawing. My problem is that I w开发者_C百科ant to draw, with OpenGl a bitmap having its pixels.

I am looking for a very simple tutorial to use OpenGL only for 2D drawing.

My problem is that I w开发者_C百科ant to draw, with OpenGl a bitmap having its pixels.

Thank you in advance, Ouael


The glbuffer for the Android NDK was useful for me.

This answer also has many tutorials linked.


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

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号