Please Note :
x = r * cos(theta) * cos(phi)where -
y = r * sin(theta) * cos(phi)
z = r * sin(phi)
theta = [0, 2*PI]If you polygonalise the sphere by varying theta and phi, then you will have problem of thin triangles at the poles and broader triangles at the equator. How can you polygonalise the sphere so that you get (more or less) equal sized triangles everywhere?
phi = [-(PI/2), (PI/2)]