Sign in to follow this  
voodoo_john

Steam Media Player fade

Recommended Posts

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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites

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!

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