Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

Transforming glClipPlane

4: Adsense

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   

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

#2 zedzeek   Members   

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   

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.