How do you create spheres in opengl?
I tried making a program to generate the vertices of a sphere, but couldn’t get the algorithm right, can someone help me find a way to make spheres?, thanks
Look no further…
Try this :
void glutSolidSphere ( GLdouble radius, GLint slices, GLint stacks );
or
void glutWireSphere ( GLdouble radius, GLint slices, GLint stacks );
It’s all done for you…
cool thanks