title: Drawing Sphere in OpenGL without using gluSphere()?
body: <p>Are there any tutorials out there that explain how I can draw a sphere in OpenGL without having to use <code>gluSphere()</code>?</p>
  
  <p>Many of the 3D tutorials for OpenGL are just on cubes. I have searched but most of the solutions to drawing a sphere are to use <code>gluSphere()</code>. There is also a site that has the code to drawing a sphere at <a href="https://web.archive.org/web/20111203145224/http://ozark.hendrix.edu/~burch/cs/490/sched/feb8/" rel="noreferrer" title="sphere">this site</a> but it doesn't explain the math behind drawing the sphere. I have also other versions of how to draw the sphere in polygon instead of quads in that link. But again, I don't understand how the spheres are drawn with the code. I want to be able to visualize so that I could modify the sphere if I need to.</p>