update : Demo code works for Release Preview (RP)
Don’t be afraid to create crazy backgrounds for your managed metro apps. This is a quick post on how to do just that using some of the techniques I’ve been posting about.
For this post ill stay simple BUT the next post I promise to go crazy with the colors, textures, geometries and especially the animations
The idea is simple, you have your DirectX layer underneath your XAML layer and you render dynamic things on the Dx layer. These dynamic things for this demo are simple geometries, colors and radial gradients.
Demo screen shots
This is a plain white background with a radial gradient painted ontop of it using D2D (via SharpDx) and the Tiles are rendered on the XAML layer above the D2D layer.
Press on the blue tile
Press on the Red tile
Press on the Green tile
Press the Orange tile
UPDATED : Now works for Release Preview
Don’t be afraid to give your managed metro apps some crazy DirectX rendered backgrounds, think outside of the box and experiment. These are after all consumer apps that need to wow the user.
SharpDx gives us some great tools to do crazy things, I hope to show you some of these crazy things in my next post!