OpenGL ES - How to Draw a filled Polygon?

前端 未结 6 1483
小蘑菇
小蘑菇 2020-12-28 22:22

I tried googling and searching on stack but I didn\'t find anything :-(
( Mapping irregular shapes or other polygons (cartoons, sprites) to triangles in OpenGL ES )

6条回答
  •  春和景丽
    2020-12-28 22:50

    Cocos2D is cool library wrapping OpenGL and has many useful features ( mainly for games but not limited to ).

    For polygon tessellation use : http://flipcode.net/archives/Efficient_Polygon_Triangulation.shtml I've used it before and it worked well.

提交回复
热议问题