Hello everybody,

I'd like to know if there's a way to create a sphere with a specified
number of vertices, or maybe a formula to convert a number of vertices
to a set of segmentsW / segmentsH which i could use ?



Let me explain :

I'm exploding a plane (created with segmentsW = m and segmentsH = n).
I'm having (m * n) *2 triangles after exploding (thanks to the Explode
class).

Then, i'd like to distribute all these triangles on the vertices of a
sphere, so i built one and got the coordinates of each vertex of it.

The thing is, i don't know how to do to have the same number of
triangles of my plane than the vertices of the sphere.


Is there a way to do that ?


Thanks for your help !

Reply via email to