PDA

View Full Version : clipping plane problem



crappy04
04-17-2000, 08:57 PM
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

Eric
04-17-2000, 11:40 PM
You should post the whole part of your code that sets the clipping plane... The position of the call to glClipPlane is critical...

Eric

crappy04
04-18-2000, 06:46 AM
i found a way around it so its not a problem anymore
thanks