Sign in to follow this  
msbasanth

Performace when DirectX used with D3DImage (WPF) vs DirectX used with win32 window.

Recommended Posts

Hi all, Now I am developing on Windows XP (but also targetting Vista). The thing is i need to work with millions of vertices in each frame and i am using a dynamic vertex buffer. When i am using D3DImage (is in .Net 3.5 SP1) i need to call AddDirtyRect() for each updation to brush. As i profiled AddirtyRect() function is the bottleneck. When using D3DImage I am not getting the smoothness that i want. One post's in MSDN says that D3DImage is not suitable for applications that needed 30+ fps. check this link DirectX interop and the upcoming D3DImage http://social.msdn.microsoft.com/Forums/en-US/wpf/thread/57845fd3-e2c8-4336-90a6-e1c143977bcc/ Is there is any other way by which D3DImage (brush) can be directly connected to Direct3D surface? ie when the frame is Presented (using device.Present()) the change is reflected in D3DImage. Also i did'nt work in Vista. (Direct3DEx device) Is there any chance that D3DImage will have improvements in future release. :) It seems not many discussed the performace, DirectX used with D3DImage vs DirectX used with win32 window. thanks bachu [Edited by - msbasanth on November 26, 2008 1:57:17 AM]

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