Sign in to follow this  

clip plane

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this