Render filled complex polygons with large number of vertices with OpenGL

前端 未结 2 657
后悔当初
后悔当初 2020-12-20 03:16

I use OpenGL to render 2D map and in the process I need to render filled polygons with large number of vertices(100,000+). To do this, I tessellated the polygon

2条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-20 03:34

    A couple of thoughts that I have... can you split the tesselation into organized chunks, ... kind of like a grid? Then if things move you could intelligently only re-tesselate the parts that changed.

提交回复
热议问题