title: gluPerspective() displaying a black screen?
body: <p>I have a simple application that displays a 3D cube that rotates on all axes, and a camera controlled via mouse that allows you to adjust the angle you're looking at the cube. </p>
  
  <p>The entire application works exactly as I want when I use glOrtho, but once I change it to gluPerspective I only get a black screen.</p>
  
  <p>Here is my method to initialize openGL:</p>
  
  <pre><code>public void initializeOpenGL()
  {
      glMatrixMode(GL_PROJECTION);
      glLoadIdentity();
      gluPerspective(45.0f, ((float)WIDTH) / ((float)HEIGHT), 0.01f, 500f);
      //glOrtho(0, 640, 480, 0, 600, -1); //displays everything correctly
      glMatrixMode(GL_MODELVIEW);
      glEnable(GL_DEPTH_TEST);
  }
  </code></pre>
  
  <p>And then here is my loop method:</p>
  
  <pre><code>public void begin()
  {
      float degrees = 0;
      Mouse.setGrabbed(false);
      while(!Display.isCloseRequested())
      {
          moveCamera(); //calculates the changes in mouse position            
          GL11.glLoadIdentity();
          glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
          camera.lookThrough(); //applies the changes
          glTranslatef((float)WIDTH/2,(float)HEIGHT/2,10f);
          glRotatef(degrees++,1f,1f,1f);
          glScalef(100,100,100);
  
          drawQuad();
  
          Display.update();
          Display.sync(60);
      }
      Display.destroy();
      System.exit(0);     
  }
  </code></pre>