Jump to content
  • Advertisement
Sign in to follow this  

Advice! Fast managed (C#) .NET texture processing.

This topic is 2902 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello All -

I am about to start development on a project where I am getting raw, 8 bit monochrome data from a medical instrument and then need to process the data using a pixel shader. I want to develop the application in WPF and have been looking for a way to quickly write the data to texture memory and from there use the shader to process and display it. I found the WriteableBitmap class in .NET, but was wondering if there is a better way to dump the data to texture memory. A managed would be nice, but if not I suppose I could some unmanaged code as well. I also just briefly looked at SlimDx which looks promissing as well.

Any advice anyone could share would be greatly appreciated!

Thanks in advance.

EDIT: I should have mentioned, I do not want to take advantage of MIP maps, I just want to download the image data ASAP. My application will in effect be streaming data, so I want to receive a frame of the data, send it to texture memory, perform processing using a pixel shader, and display the processed image as a 2D image in a window, perhaps a D3DImage in WPF. It also need to make sure that the process image is not displayed while I'm still in the process of processing it to avoid any tears in the image.

The processed image will be displayed as a 2D image within a window. The key here is speed from host memory to texture memory to display memory.

Looking forward to any advice.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!