factored out glut initialization
Test with cylinder shapes