Browse by Tags
All Tags »
DirectX »
C# (
RSS)
Please update your bookmarks, because the new url of this blog is http://khason.net/ (you have not update RSS feeds, it will be done automatically). Why I did it? Why I decided to go to “stand-alone”… Well. there are some reasons. Generally, I do not want to explain all those here, but trust me, there are some. The main reason is, that there is no responsible person in charge for this blog platform in Microsoft Israel. This why, if your blog is popular and you have a respect to your blog visitors...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/capturing-and-streaming-sound-by-using-directsound-with-c/ ] I already wrote a little about managed way to use DirectX DirectSound . Today we’ll speak about how to get sound from your microphone or any other DirectSound capturing device (such as FM receiver ) and stream it out to your PC speakers and any other DirectSound Output device. So, let’s start creating our first echo service...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/hlsl-pixel-shader-effects-tutorial/ ] Recently, I already wrote about PixelShader effects , introduced in .NET framework 3.5 SP1 (WPF). However it looks like for most people this syntax is still hard to understand. Today we’ll try to lean it more. In order to do this, I wrote small program, that helps you to write and debug pixel shader effects quickly. This how it looks like Hit Open...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/brightness-and-contrast-manipulation-in-wpf-35-sp1/ ] While being in flight, I had to learn new features, introduced in .NET 3.5 SP1. So, let’s start from image manipulation. I want to perform contrast and brightness manipulation in GPU over displayed image. In order to begin, you should download and install .NET 3.5 SP1 and Visual Studio 2008 SP1 . Meanwhile (it’s about 500 MB of download...
[This blog was migrated. You will not be able to comment here. The new URL of this post is http://khason.net/blog/webcam-control-with-wpf-or-how-to-create-high-framerate-player-with-directshow-by-using-interopbitmap-in-wpf-application/ ] Did you ever see, that MediaElement “eats” about 30% of CPU while playing movie in WPF? Did you thought, that you can display live camera capture in WPF with 60 fps full screen (I have really high resolution 1920x1200) and 2% of CPU? You did not? Let...