   Cube not showing up 100%
  So I'm pretty new to opengl and the whole graphics thing and this is an attempt at a 3D rotating cube with lighting. But its not working as i would like it too.. i also dont see any code tags?#include <glew.h>#include <glut.h>void reshape(int width, int height){glViewport(0, 0, (GLsizei)width, (GLsizei)height);glMatrixMode(GL_PROJECTION);glLoadIdentity();gluPerspective(60, (GLfloat)width / (GLfloat)height, 0.0, 100.0);glMatrixMode(GL_MODELVIEW);}GLfloat angle = 0;void display(){glClearColor(0.0, 0.0, 0.0, 1.0);glMatrixMode(GL_MODELVIEW);glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);glLoadIdentity();glPushMatrix();glTranslatef(0.0f, 0.0f, -5.0f);glRotatef(angle, 1.0f, 1.0f, 1.0f);glColor4f(1.0f, 0.0f, 0.0f, 1.0f);glutSolidCube(2.0f);glPopMatrix();glutSwapBuffers();}void update(int value){angle += 1;if(angle > 360){angle -= 360;}glutPostRedisplay();glutTimerFunc(25, update, 0);}void init(){glEnable(GL_DEPTH_TEST);glEnable(GL_COLOR_MATERIAL);glEnable(GL_LIGHTING);glEnable(GL_LIGHT0);glEnable(GL_LIGHT1);}int main(int argc, char **argv){glutInit(&argc, argv);glutInitDisplayMode(GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH);glutInitWindowSize(300, 300);glutInitWindowPosition(100, 100);glutCreateWindow("Lit up Cube");init();glutDisplayFunc(display);glutIdleFunc(display);glutTimerFunc(25, update, 0);glutReshapeFunc(reshape);glutMainLoop();}
  The near clip plane parameter to gluPerspective must be positive; 0 won't do.   ;  and.. it works beautifully.. thanks.. also any tips of things to read books... etc. (I'm trying to follow about 3 tutorial series while reading the redbook right now)   ;  I'd focus on the red book if you have it already.   