title: How to improve speed when drawing over 50k sphere with Opengl
body: <p>right now, I used glutSolidSphere to draw multiple sphere which is 50k+ sphere
  the speed is extremely low.</p>
  
  <p>Is there any method or suggestion to increase speed?</p>
  
  <p>below is my code...</p>
  
  <pre><code>void COpenGlWnd::OnPaint()
  {
      CPaintDC dc(this);
      ::wglMakeCurrent(m_hDC, m_hRC);
      for(int k = 0; k &lt; m_nCountZ; k++)
      {   
          for(int j = 0; j &lt; m_nCountY; j ++)
          {   
              for(int i = 0; i &lt; m_nCountX; i ++)
              {
              ::glPushMatrix();
              ........
              ::glutSolidSphere(Size[i][j][k], 36, 36);
              ........
              ::glPopMatrix();
              }
          }
      }
      ::SwapBuffers(m_hDC);
  }
  </code></pre>
  
  <p>For more information:
  the sphere will always be in specific location, but user can use mouse to rotate and see all sphere from difference view.</p>