calculating a sphere in opengl

前端 未结 5 1352
时光说笑
时光说笑 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:34

    There's more than one way to do this: a) icosphere generation and b)UV sphere generation. There may be more methods to do this. Some googling got me this excellent post on icosphere generation. I couldn't find UV sphere generation method though.

提交回复
热议问题