Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

SlimDX Developer challenge

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
2 replies to this topic

#1 Dsmith   Members   

96
Like
-2Likes
Like

Posted 24 July 2012 - 11:04 AM

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

#2 dmatter   Members   

4648
Like
0Likes
Like

Posted 24 July 2012 - 03:04 PM

They actually have an example 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, 24 July 2012 - 03:05 PM.


#3 Dsmith   Members   

96
Like
0Likes
Like

Posted 25 July 2012 - 08:08 AM

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, 25 July 2012 - 08:10 AM.





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.