Sign in to follow this  
stromchin

From Managed DirectX to SlimDX

Recommended Posts

Hi guys, I'll go straight to the point.

I started work in a company almost 2 months ago. And they are using managed directx with c# (to make tools basically)
I've also been using it for some tools, but it's hard to find documentation on how to do some of the stuff I need to do.
In fact, while looking for such stuff, I usually find slimDX references.
I want to start using slimDX, because it's the right thing to do. As the slimdx website says:
[quote]
[b]When to use MDX[/b]
Don't. MDX has been deprecated for many years now. It still targets an older .NET framework version and suffers from many bugs and flaws such as [url="http://msdn.microsoft.com/en-us/library/ms172219.aspx"]loader lock[/url] that will never be fixed. SlimDX supports everything exposed by MDX and much more, so there's no excuse for choosing MDX for a new project. [/quote]

But I can't just go and say: "hey, I want to use this instead, because the loader lock bug won't ever be fixed"
Anyways, I want to use it at least for the tools where I'll be the only programmer.
I didn't really go to the point did I?
My questions are these: what other advantages does it have, in practical day use, compared to MDX?
And if the artists use the tool I make, will they just be able to use the exe file without installing anything else?

Share this post


Link to post
Share on other sites
The advantages would be:

- It's not deprecated, but still supported and (IIRC) open source, so you're not locked in a library MS killed off

- It supports multiple D3D flavors up to and including D3D11, which may be beneficial for tool code as well (ComputeShader et al)

- It's a slim wrapper, meaning it doesn't force anything on you how to code your program, so in this regard it's similar to MDX

Basically it's what MDX would be if it hadn't been killed off and remade to fit the XBox platform (and had been designed with a more clear vision up front :). I believe you can just stick it's DLL in your program directory and work with it, so it doesn't have any special runtimes that need to be installed seperately.

Share this post


Link to post
Share on other sites
[quote name='remigius' timestamp='1307701320' post='4821648']
so it doesn't have any special runtimes that need to be installed seperately.
[/quote]

Actually it requires a 10 MB redist install that includes DirectX, SlimDX and VC 9 runtimes.

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