Steam Media Player fade

Started by
1 comment, last by voodoo_john 17 years, 10 months ago
Hi Guys, For anyone who has played media using the Steam Media Player - you can see it does a nice blur of your desktop then fades to black before it starts playing. From here I can see a way of how they would do the fade to black if they just had a black background window maximised and fade up. But how the DEUCE do they do the blurring part?
Advertisement
I have not witnessed the particular application you are talking about, but here is an example of a fade out with code. It's OpenGL API based, as opposed to the Windows GDI.

As regards the blur, that probably requires capturing the current desktop, manuiplating the pixels (doing the blur), and then displaying the resulting image in a window over the Desktop. The exact implementation of this is dependant on the API being used.

Thanks - I've already seen that code.

I was thinking more along the lines that they were using the Win32 API to achieve the effect though... but using DEPENDS.EXE I can see that they have lnked to D3D8.DLL so maybe they just use shaders.

Close this thread please!

This topic is closed to new replies.

Advertisement