Clipping of non Rects
Hello,
I'm trying to find if there is any way in DirectX to clip a given shape on the screen. For instance to clip a rotated rectangle along its borders. For those familiars it would be something like ::glClipPlane() in openGL.
Any hint?
thx.
IDirect3DDevice9::SetClipPlane
SetRenderState(D3DRS_CLIPPLANEENABLE, ...);
and for software vertex processing there is also IDirect3DDevice9::SetClipStatus, which might just be a way of optimizing out the default view frustum planes when your own custom planes make them unnecessary.
SetRenderState(D3DRS_CLIPPLANEENABLE, ...);
and for software vertex processing there is also IDirect3DDevice9::SetClipStatus, which might just be a way of optimizing out the default view frustum planes when your own custom planes make them unnecessary.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement