Sign in to follow this  
Dsmith

SlimDX Developer challenge

Recommended Posts

Can anyone produce a working (Windows 7) Slimdx -Directx 11- WPF sample.
if not please put a warning on slimdx.org.

Share this post


Link to post
Share on other sites
They actually have [url="http://code.google.com/p/slimdx/source/browse/#svn%2Ftrunk%2Fpublish%2FSlimDX%20Samples%20(March%202011)%2FDirect3D10%2FWpfSample10"]an example[/url] in the repo already, it's for d3d10 but is easily adapted to d3d11.

If I remember rightly the crux to magic is that there exists a WPF control called D3DImage but it only works with d3d9 surfaces; you therefore need to setup both d3d11 and d3d9 contexts along with a shared texture between the two. Then d3d11 can just render the scene to that texture which is subsequently used to draw the control. Edited by dmatter

Share this post


Link to post
Share on other sites
thanks for the response dmatter

that d3d10 example produces nothing for me but empty window, same with directx9 sample. many post of "magic" solutions on the net yet not a single working sample
works on any of five different directx 11 hardware. i dont have old hardware to test with so i cant tell if any slimdx wpf anything works at all.
can anyone confirm any actually working slimdx/wpf .net 4 anyhting on dx11 card ? Edited by Dsmith

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