Jump to content

  • Log In with Google      Sign In   
  • Create Account

Transforming glClipPlane


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 MButchers   Members   -  Reputation: 123

Like
Likes
Like

Posted 27 September 2001 - 09:19 PM

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

Sponsor:

#2 zedzeek   Members   -  Reputation: 528

Like
Likes
Like

Posted 28 September 2001 - 10:53 AM

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



#3 MButchers   Members   -  Reputation: 123

Like
Likes
Like

Posted 28 September 2001 - 11:01 PM

Cheers ZedZeek,

shall give it a go,I assume it is the distance from the
origin.

Thanks again

Mark.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS