clipping plane problem

i have set up the xy plane as clipping plane and when i enable it does not draw correctly, i cant see any of my models. However, when i comment out the lines (*)
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
gluPerspective(45.0,1.0,0.1,1000);

  • glMatrixMode(GL_MODELVIEW);
  • glLoadIdentity();
    everything is drawn fine? any explantions why and how can i fix this

You should post the whole part of your code that sets the clipping plane… The position of the call to glClipPlane is critical…

Eric

i found a way around it so its not a problem anymore
thanks