Jaime Rodriguez On Windows Phone, Windows Presentation Foundation, Silverlight and Windows 7
At MIX last week, we announced that Silverlight 3 supports effects, written in HLSL 2.0 ..
If you remember from this previous post, we have a codeplex WPF library with 20+ effects and greater number of transition effects. Charles Bissonette, in the Blend team ported the library to Silverlight, and we have now merged it into codeplex.
The effects included in this first release are: BandedSwirl, Bloom, BrightExtract, ColorKeyAlpha, ColorTone, ContrastAdjust, DirectionalBlur, Embossed, Gloom, GrowablePoissonDiskEffect, InvertColor, LightStreak, Magnify, Monochrome, Pinch, Pixelate, Ripple, Sharpen, SmoothMagnify, Swirl, Tone, Toon, and ZoomBlur
The transition effects include: BandedSwirl, Blings, Blood, CircleReveal, CircleStretch, CircularBlur, CloudReveral, Cloudy, Crumble, Dissolve, DropFade, Fade, LeastBright, LineReveal, MostBright, PixelateIn, PixelateOut, Pixelate, RadialBlur, RadialWiggle, RandomCircleReveal, Ripple, Rotate, Saturate, Shrink, SlideIn, SmoothSwirl, Swirl, Water, Wave.
If you have Silverlight 3 and want to see the library in action, click here, or in the image below.
To play with the sample app:
My favorite is the transitions.
If you do not have Silverlight 3, Adam Kinney and I recorded an impromptu video for you to see watch the demo with out needing to update your bits to SL3).
Geeking it out (aka the details):
The source is in codeplex. Packaging will likely change. Right now it is WPF project with SL project linking to the WPF files (the way I keep it in source control) but I think for easier download, it will become separate zips and I can duplicate the files just for releases (source can still be single shared file). Please check the pre-requisites in codeplex, you will need latest DirectX SDK, .NET 3.5 SP1 ( or VS 2008 SP1), the Shader Effect build task from WPF Futures and of course SL3 and SL3 tools if you want to run the SL bits.
More effects pictures:
Pinch + Inverted colors. Embossed
Enjoy, please report bugs/issues if needed.
Jaime Rodriguez came back form MIX09 and thought "Hey, I bet my WPFFX library could run in the new
Hi Jaime
SL3 is looking great. Just wondered if the software restriction will always be the case? Could some built in effects be run in software?
Take the drop effect on Terence's blog http://www.shinedraw.com/3d-illusion/flash-10-vs-silverlight-3-perspective-3d/ would be great to use the GPU in scenarios like this.
Joe