DX9 have user defined clip planes?
Yes, it does, if the GPU supports it.
Look into IDirect3DDevice9::SetClipPlane and the D3DRS_CLIPPLANEENABLE Render State to enable them.
(Device.SetClipPlane and Device.RenderState.ClipPlaneEnable for MDX, more or less).
Hope this helps :).
Look into IDirect3DDevice9::SetClipPlane and the D3DRS_CLIPPLANEENABLE Render State to enable them.
(Device.SetClipPlane and Device.RenderState.ClipPlaneEnable for MDX, more or less).
Hope this helps :).
It's supported for NVIDIA cards from the FX family and up (5x00 and up). Check out the MaxUserClipPlanes cap in the card caps docs in the SDK.
hmmm, my 7800GT works in OpenGL with them... So I am going to assume that it would work with Nvidia with DX. I would like to know now if anyone else can confirm this... I am new to DX and just trying to make sure the features I am already using are supported before I switch over. Thanks
Quote:Original post by ET3D
It's supported for NVIDIA cards from the FX family and up (5x00 and up). Check out the MaxUserClipPlanes cap in the card caps docs in the SDK.
Thanks I just posted and seen your post after mine. :)
The lowest common denominator value for the MaxUserClipPlanes cap is 6 for DirectX 9 hardware, but 0 for earlier hardware so any card claiming to meet the DirectX 9 spec will have user clip planes.
For the nVidia cards/drivers user clip planes via SetClipPlane() are only properly supported in the GeForce FX 5x00 series and newer.
NB: some earlier cards may be capable of supporting clip planes, but their device drivers may simply not expose the ability.
If you're targeting pixel shader capable cards, you can also use the texkill ps1.x asm instruction or the corresponding clip() HLSL intrinsic to make your own per-pixel clip planes.
For the nVidia cards/drivers user clip planes via SetClipPlane() are only properly supported in the GeForce FX 5x00 series and newer.
NB: some earlier cards may be capable of supporting clip planes, but their device drivers may simply not expose the ability.
If you're targeting pixel shader capable cards, you can also use the texkill ps1.x asm instruction or the corresponding clip() HLSL intrinsic to make your own per-pixel clip planes.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement