• Advertisement

Archived

This topic is now archived and is closed to further replies.

Transforming glClipPlane

This topic is 5957 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi there, im having problems with glClipPlane. I can set up the plane no problem but i cant seem to transform it currently im doing - glEnable(GL_CLIP_PLANE0); glPushMatrix; glTranslate(Position.x,Position.y,Position.z); glClipPlane(GL_CLIP_PLANE0,@PlaneEqn); glPopMatrix; ive tried switching the glClipPlane and glTranslate but with no success. Thanks Mark

Share this post


Link to post
Share on other sites
Advertisement
that should work.
what u can do other wise instead of using translate is
move the planes distance ie the 4th variable in the planes equation, this''ll have the same effect if u calculate it out right

Share this post


Link to post
Share on other sites

  • Advertisement