I am using SlimDX with WinForms for a while now, but want to make the switch to WPF now. However, I can't figure out how to get DX10/11 working with WPF. The February release of SlimDX provides a WPF example, which only works with DX 9 though.
I found the following solution: http://jmorrill.hjtcentral.com/Home/tabid/428/EntryId/437/Dire...
Hi All,
We recently upgraded from 2005 to VS 2008 (Windows XP). We use SlimDx in one of our projects. All was working ok after the upgrade, except my "Recover" function, which gets called on devicelost/device reset which crashes with
D3DERR_INVALIDCALL: Invalid call (-2005530516)
I use Ctrl-Alt-Del and then "Escape" to simulate d...
I am creating a simple application to get familiar with SlimDX library. I found some code written in MDX and I'm trying to convert it to run on SlimDX. I am having some problems with the light because everything is being shown as black. The code is:
public partial class DirectTest : Form
{
private Device device= null;
private fl...
Hello, I realise there are numerous questions on here asking about choosing between XNA and SlimDX, but these all relate to game programming.
A little background: I have an application that renders scenes from XML descriptions. Currently I am using WPF 3D and this mostly works, except that WPF has no way to render scenes offscreen (i.e....
I'm working on a .NET application that requires the use of accelerated graphics, currently DirectX 9.0c. The software is quite graphics intensive and must, in addition, be launchable from a CD or by ClickOnce without the user requiring administrator's permissions.
I currently use SlimDX, which works great featurewise, but the users are ...
I'm using EasyHook and SlimDX to overlay some graphics using SlimDX's Sprite and Texture classes. When I resize windows some programs fine, but others will crash - Winamp's MilkDrop 2 gives me an ambiguous memory error for example.
I expect this is due to the after market Texture I created. The question is what VTable function should I ...
Hi,
I'm having a strange problem when switching to fullscreen (alt+enter or swapchain->SetFullscreenState(...)), the application enters fullscreen en i can see a black screen
but it's still rendering in a window behind the black screen. And after a couple of seconds
the black screen disappears. The thing is the window changed it's size ...
I'm trying out the shared resources feature of DX10, as I needed this for one of my project. But I'm can't find much sample or code especially using SlimDX. According to DX10 documentation, I just need to specified the resources as Shared, then I can open it using OpenSharedResource() from another application. With a simple test applicat...
I'm working on a apps that's based on DirectX10 by using SlimDX. I would like to enable vsync similar to DirectX9, but the fps doesn't seems to lock to 60Hz(which happens if I'm using Direct9). I'm setting vsync by using this
SwapChain.Present(1, PresentFlags.None);
Did I do something wrong?
Btw, I'm running Win7 with ATI HD5570 vid...
Here's what I want to do: I want to draw geometric primitives and maybe some form of 3D graphs and charts. I also want to be able to freely move the camera around. I want to do all this in a WPF or Windows Forms Window or maybe even render to an image. And finally, I want to be able to achieve this in a fairly straightforward manner.
So,...
I have downloaded June bits of Pex and June bits of SlimDX SDK. Installed them on my RTM VS2010 Premium.
Pex explorations do not work. Reverting to Feb 2010 bits of SlimDX seem to cure the problem.
I've asked the same question on Microsoft Forums and SlimDX forums, and neither party wants to own this. How can I even begin to troubles...
I've installed the June 2010 SDK
Enabled the Debug Runtime in the DirectX Control Panel
set the Debug Output Level to maximum (More)
Enabled unmanaged code debugging.
Result: The debug output from Direct3D is missing
However if I start the application externally and use dbgview.exe, the output is shown there.
What could be the rea...
Okay, I'm rewriting this post because I had a really specific question but I think it might be more useful to just explain what I want to do :)
I'm working in WPF with SlimDX.
The target is a program that initializes a Direct3D device, and is able to render cool D3D11 gfx to an offscreen rendertarget.
Users can add output-windows, and ...
Hey,
I'm working a lot with Visual Studio 2008, .NET C# 2.0-3.5 and Windows Forms and I have noticed, like many before me, that GDI+ is extremely slow in drawing Controls. Note that I do not deal with images (JPG, GIF etc) very much. Images are only as icons in certain places. This is actually Controls/Forms/etc that are slow to draw.
...
(apologies if this is a duplicate ... i posted but saw no evidence that it actually made it to the forum)
I've been trying to get SlimDX DirectSound working. Here's the code I have. It fills the secondary buffer from a wav file and then, in a thread loop, alternately fills the lower or upper halves of the buffer.
It plays the first lo...
I don't see a straightforward way to check when SlimDX has finished playing the audio in its buffers.
The way I'm doing it right now is within the secondary buffer reload loop. When an attempt to reload both the upper and lower halves results in zero new bytes added, then I know it's done. Is there an easier way?
...
I am using SlimDX's Direct2D API to render a waveform in a Panel control. Unfortunately, resizing the control causes the RenderTarget to not resize itself properly. It resizes in "jumps", meaning that it only resizes after dragging the resize grip on the form a few pixels away. This results in behavior like this:
The panel backcolor i...
Is it possible to apply a filter to the geometry data that is to be rendered using Compute Shader and then use the result as an input buffer in the Vertex Shader? That would save me the trouble (&time) of reading back the data.
Any help is much appreciated.
...