Sign in to follow this  

Does managed DirectX code support D3DX routines?

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

Does managed DirectX code support D3DX routines? If so, what class can I find them in (if any)? I googled this to death but couldn't find any relevant topics. I particular I would like to use this routine: D3DXIntersectTri()

Share this post


Link to post
Share on other sites
Yup. They are organized a little differently, but in most cases you will find the D3DX routines are actually in places that make more sense within the DirectX or DirectX.Direct3D namespaces.

In this particular case, you would use Geometry.IntersectTri() in Managed DirectX.

Share this post


Link to post
Share on other sites
Take a look at Geometry.IntersectTri in the Microsoft.DirectX.Direct3D namespace.


The managed layer for Direct3D wraps most of the D3DX functionality anyway.

The best thing to do is search the (summer 2004 update) docs for the name of the D3DX function, except leave off the D3DX prefix (e.g. IntersectTri, OptimizeFaces etc instead of D3DXIntersectTri or D3DXOptimizeFaces etc)

Share this post


Link to post
Share on other sites
Quote:
Original post by strahan
Does managed DirectX code support D3DX routines?

Yes.
Quote:

If so, what class can I find them in (if any)?

These routines are wrapped in tools classes provided by the Direct3DX assembly.
Quote:

I googled this to death but couldn't find any relevant topics.

I doubt that - you sound pretty much alive [wink]
Quote:

I particular I would like to use this routine:
D3DXIntersectTri()

Geometry.IntersectTri

Try MSDN next time...

Pat.

[edit]
Argh - too slow [smile]
[/edit]

Share this post


Link to post
Share on other sites

This topic is 4858 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.

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