creating a 3d rainbow sphere with openGL and glut