Home  >  

Flex 4 Pixel Shader Effects

Author photo
January 6, 2010 | | Comments (4)
AddThis Social Bookmark Button

This evening, I stumbled across a great example of some new animation effects possibilities in Flex 4, based on AnimateTransitionShader and PixelBender (pixel shader) effects. I normally try not to just refer to someone else's code example, but these are too cool to not share...

First, take a look at the output, and then you can dig in and see how it all works. The first example uses a hexagonal tiling pixel bender shader to animate a transition between two states.

The second uses a twist shader to perform a transition that is very reminiscent of the mac "genie" effect.

Essentially, the new AnimateTransitionShader animates a transition between two bitmap images using pixel bender shaders. It "grabs" the bitmap data of the before and after states of a transition, and uses pixel bender shaders to apply a transition. The best part is that you just specify the transition effect like you would any other Flex animation effect.

You can check out the full post, along with code samples at the original blog post:

http://www.justsuppose.com/getting-fancy-with-flex-4/

This is the first working example that I have seen of the AnimateTransitionShader class using PixelBender filters, and I must admit that it looks very cool, and very promising.

Read more from Andrew Trice. Andrew Trice's Atom feed

Comments

4 Comments

Nathan said:

Cool effects..

Thanks a lot for sharing .. :)

Mrinal Wadhwa said:

For those still using Flex 3 ... a while ago, I wrote a Flex 3 Effect to animate PixelBender shaders, called BendPixels http://code.google.com/p/bendpixels/

Nikos said:

I'm looking for good alternative pjb's to use for this tutorial

Could you reccomend some some the exchange for me?
http://www.adobe.com/cfusion/exchange/index.cfm?event=productHome&exc=26

Tahir Alvi said:

These are very nice but i have one question.

'Are we use this effect in two windows in AIR application ?'

Leave a comment


Type the characters you see in the picture above.


Tag Cloud

Technical Speakers

Who is the best technical speaker you have seen?

Answer

Latest Features

Recommended for You

@InsideRIA on Twitter

Archives

  • Or, visit our complete archive.  

About This Site

Welcome to the premiere community site for all things RIA sponsored by O'Reilly Media and Adobe Systems Incorporated.