• Advertisement
Sign in to follow this  

Steam Media Player fade

This topic is 4282 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

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
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.

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
Sign in to follow this  

  • Advertisement