calculating a sphere in opengl

前端 未结 5 1350
时光说笑
时光说笑 2020-12-05 16:35

I want to calculate all the vertices needed and connect them with lines, so I eventually come up with a sphere. How many ways are there to do it? And also the lines between

5条回答
  •  [愿得一人]
    2020-12-05 17:19

    Paul Bourke actually has a nice introduction to sphere generation. And as for curved lines, there is no such thing in OpenGL. You can only make them appear curved by adding more intermediate connected points.

提交回复
热议问题