GL_TRIANGLE FAN Explanation

后端 未结 2 719
有刺的猬
有刺的猬 2020-12-15 23:39

I am trying to \"fill\" a surface of a sphere that I drew using this algorithm here: http://paulbourke.net/miscellaneous/sphere_cylinder/, the first method. I know that

2条回答
  •  独厮守ぢ
    2020-12-16 00:15

    How does GL_TRIANGLE_FAN works exactly?

    The first vertex of a triangle fan acts like a hub. The vertices following connect with the previous non-starting vertex and the hub.

    enter image description here

提交回复
热议问题