BOB , in the red book where it explains
glClipPlane it sugests trying transformation
functions and changing the plane coeficients.
So i assume from this it can be done.
I also used to use clip planes for rendering
my GUI to limit the area rendered into before
I used glScissor.(cant remember how i did it
but im sure it was as above)
Besides whats the point of having user defined
clip planes if they cant be moved!!
Cheers
Mark
[This message has been edited by MButchers (edited 09-28-2001).]
Just read throught the Red Book on clipping planes, and it seems like they are affected by the modelview matrix, so I was wrong on that one.
If you say that your glTranslatef does not affect the clipping plane, the only thing that I can think of is that you are translating the projection matrix.
Its not using glMatrixMode(GL_PROJECTION)
during this call!
Your answer doesn’t convince me you are certain the modelview matrix is current when the function is called. Did you try putting a glMatrixMode(GL_MODELVIEW) before that glPushMatrix?