Sign in to follow this  
deathwearer

3d collision detection with dx?

Recommended Posts

Collision detection has nothing to do with rendering API (DirectX/OpenGL).
You should ask this question in Math and Physics forums.

Share this post


Link to post
Share on other sites
That is true Jnz86 but DX does actually have helper functions to collide rays with mesh data. Deathwearer - take a look at some of these functions in the DX SDK or MSDN they may be heplful:

D3DXBoxBoundProbe
D3DXComputeBoundingBox
D3DXComputeBoundingSphere
D3DXIntersect
D3DXIntersectSubset
D3DXIntersectTri
D3DXPlaneIntersectLine

Share this post


Link to post
Share on other sites
Sorry Jnz86, i tought it was specific of the API ( i have no knowledge of opengl ) since i guess they have different way to store access and render the stuff.

Thank Trip99 i took a look at these function and it's seem to be what i want or at least it put me on the right track.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
DirectX isnt a rendering API, it also has sound, input, etc. Direct3D is rendering.

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