OpenGL ES - How to Draw a filled Polygon?

前端 未结 6 1494
小蘑菇
小蘑菇 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:52

    On the Wikipedia Polygon Triangulation Talk page I argue that more triangles will in fact be faster.

    I have written a triangulation engine that supports holes and runs in O(n log (n)) time. I tested it under Gdk and then made an Android app from it.

提交回复
热议问题