Jump to content
  • Advertisement
Sign in to follow this  

clip plane

This topic is 3747 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

pd3dDevice->SetClipPlane(0, (float*)f); pd3dDevice->SetRenderState(D3DRS_CLIPPLANEENABLE, D3DCLIPPLANE0 ); for example, f[4] = {0,1,0,0}; it's ok to clip all vertexs below plane y=0; but I want to clip vertexs Above the plane y=0; how to do it ????

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!