Good algorithm for drawing solid 2-dimensional polygons?

后端 未结 1 1491
伪装坚强ぢ
伪装坚强ぢ 2021-02-06 11:59

What is the simplest (and easiest, although that\'s subjective) algorithm for drawing solid (as in a single, solid color--no texture mapping) 2D polygons in memory? What is the

相关标签:
1条回答
  • 2021-02-06 12:25

    The Polygon Fill Teaching Tool will show you a very nice, simple algorithm for drawing filled polygons of any complexity.

    I've implemented it for embedded graphics, and it's actually a neat (and fun!) algorithm.

    -Adam

    0 讨论(0)
提交回复
热议问题