Posts in Category "Pixel Bender"

July 31, 2010

Happy 1st Linky Friday Everybody!

Here are a bunch more Pixel Bender links from the community… For a more steady stream of links, follow my Pixel Bender Tumblog or the @PixelBender account on twitter. I’m going to try to get in the habit of posting some links every Friday as I can.

A question that comes up occasionally is “How do I do the water ripple effect in Pixel Bender?” I was going to do up a sample, but then I came across this post on sewonist.com that is a follow on from this post by Hannes Moser.

ripple effect in action

ripple effect in action

David Van Brink has posted another Pixel Bender filter oriented towards After Effects users on his Omino Pixel Blog: Omino Stamp a Pixel Bender Filter. This is really useful for creating some nice patterned fills.

Pattern example from Omino Stamp

Pattern example from Omino Stamp

There has been a lot of excitement around this post from Jozef Chutka: Anaglyphs With Pixel Bender & Depth Map, because it is really cool. A great 3D depth-map effect done with Pixel Bender.

3D image from Jozef Chutka

3D image from Jozef Chutka

For Flash developers (and others!) Christoffer Enedahls has created a great tool for your animation toolbox: the SquishFilter, which gives you some nice deformation effects for your Flash animations.

Christoffer Enedahls' Squish Filter

Christoffer Enedahls' Squish Filter

Devon O. Wolfgang has written a cool Bayer Mosaic Filter In Pixel Bender, which could be the start of something very cool.

Devon O. Wolfgang Bayer Mosaic Filter

Devon O. Wolfgang Bayer Mosaic Filter

Mansour Raad wrote a Pixel Bender filter to help him project NOAA data onto a map: Pixel Bender For Map Projection.

Pixel Bender For Map Projection by Mansour Raad

Pixel Bender For Map Projection by Mansour Raad

Patrick Gunderson has been exploring using Pixel Bender to generate visual noise.

Patrick Gunderson GNoiseExplorer

Patrick Gunderson's GNoiseExplorer

Jean-Marc Le Roux has been working on a 3D library, Minko, and is now using Pixel Bender to provide Pixel Shaders for it.

Jean-Marc Le Roux's Minko Lamborghini

Jean-Marc Le Roux's Minko Lamborghini

Thanks to everyone in the community for sharing your work and especially your source! It is one of the things that makes the Flash Community so vibrant!

12:39 AM Permalink
July 12, 2010

Russell Brown shows you how to use the Oil Paint Pixel Bender filter!

In this video, Russell shows you how to use the Oil Paint filter that comes with the Pixel Bender Plug-in for Photoshop CS5 to create some Van-Gogh-esque art.

Also, I want to give some props to Adobe Research’s Holger Winnemoeller who wrote the filter, it is really cool!

10:09 PM Permalink
June 4, 2010

Pixel Bender Toolkit 2.0 now available for download on Adobe.com

Pixel Bender Toolkit 2 iconIf you don’t have Flash Professional or After Effects CS5 and would like to use the latest version of the Pixel Bender Toolkit, you can now download it (for free!) on the Pixel Bender Technology Center: http://www.adobe.com/devnet/pixelbender/

the latest version of the toolkit includes:

  • Flash Preview!
  • New AIF Pixel Bender runtime with 1.5x – 7x performance improvement on CPU
  • Faster GPU execution as well for many Pixel Bender Graphs
  • Support for Pixel Bender Semantic Metadata authoring & preview
  • Up to 4 input images support
  • Easier image switching
  • Many other UI features/bug fixes
9:34 AM Permalink
June 3, 2010

Photoshop CS5 Pixel Bender plug-in now available!

The Pixel Bender plug-in for Adobe Photoshop CS5 is now available on
Adobe Labs. In addition to the filters available previously, there is a brand new Oil Painting filter developed by Holger Winnemoeller in Adobe Research.

Download and enjoy!

10:28 PM Permalink
April 23, 2010

A Pixel Bender-based synthesizer

The subject of using Pixel Bender for audio processing on the Flash platform comes up a lot. Audio processing is very processor-intensive and math-heavy, so it would seem natural to leverage Pixel Bender to improve performance of audio within a SWF. At some point, last year, I was talking to Justin Everett-Church about doing a demo for Flash Player 10.1 multi-touch features. A synth seemed like a good idea, and it would let me kill two birds with one stone. So I coded up a synth (with a lame Flex UI) and Justin took that and made it pretty and added multi-touch support. That 2nd part of the demo never worked out the way we meant it too (missed the MAX 2009 keynote by this much). After that, I planned on cleaning up the code and posting it, but I got busy shipping CS5 and well, 7 months later, I finally got around to posting it. Right now it is just the playable demo with the crummy Flex UI.

It is a total processor hog, on purpose. I basically wanted to use it to push the limit of what could be done in the player, so I kept adding more filters and processors to it until the audio started to break up on my Core Duo 2 Mac Book Pro and then stepped back just a little. It turns out that you can actually do a ton of audio processing interactively in the player leveraging Pixel Bender. This was also designed to run as an AIR app, which means that if you really want to play with it, close all your other tabs. Really.

UI for synth

Pixel Bender Synth Experiment

I’ll be posting all the code on the page eventually.

Some techy details:

  • Each Pixel Bender shader is encapsulated within an Actionscript class and launched via a ShaderJob.
  • Each Pixel Bender filter processes two samples at once to double throughput.
  • The synth uses three Pixel Bender Shaders as does the Reverb, the other filters use one.
  • The delay-based filters (reverb/delay) are using simple bit-bucket style delay in actionscript, but the delayed signals are mixed back with the main signal via Pixel Bender shaders.
  • All signal paths are stereo. When mixing two stereo inputs, a pixel4 representing the 2 sets of stereo channels is used. When processing/generating a single stereo signal, a pixel4 representing two sequential stereo samples is used.
  • The filters are ordered as such:
    Pixel Bender Synth Block Diagram

Will post more info soon. Ask any questions in the comments. Thanks!

6:20 PM Permalink
April 12, 2010

New Pixel Bender Features in Adobe CS5

There was a lot of work on Pixel Bender, under the hood, for CS5. One of the main things that you’ll see in your CS5 apps is significant performance improvements when running Pixel Bender on the CPU. We partnered with Intel to drastically improve our X86 and X64 Pixel Bender performance on Windows and Mac. We also did significant amounts of work ourselves to improve our threading and Pixel Bender jitting. This means much faster Pixel Bender renders in After Effects, Photoshop and the Pixel Bender Toolkit in CPU-mode.

For Flash developers, the Pixel Bender Toolkit now includes a live Flash preview so that you can see EXACTLY what your image processing filters or blends will look like in the player. We’ve also added many of the top feature requests from the community.

There were a ton of other tweaks we did that you won’t notice (except in increased performance or stability) in many of Adobe’s other applications. It is just one more way that we think that CS5 is the most outstanding collection of Adobe apps ever!

3:47 PM Permalink
April 1, 2010

Preprocessor Macros in Pixel Bender

Did you know that you could use C-Style macros in Pixel Bender? This capability has always been there, but Ralph Hauwert pointed out to me that we haven’t really told folks about it. Similar to with a C-Compiler, these macros essentially are replaced with the code that is defined by them. Since it happens in the Pixel Bender pre-processor, it works fine for Pixel Bender bytecode too.

Just a little Pixel Bender tip for your Thursday coding.

Here is an example:

kernel NewFilter
<   namespace : "Your Namespace";
    vendor : "Your Vendor";
    version : 1;
    description : "your description";>
{
    input image4 src;
    output pixel4 dst;
    #define Blah(clr) clr.r = 1.0;

    void
    evaluatePixel()
    {
        dst = sampleNearest(src,outCoord());
        Blah(dst);
    }
}
1:24 PM Permalink

Intro to Pixel Bender at Winnepeg Flash User’s group tonight

Darren Osadchuk is giving a talk on getting started with Pixel Bender tonight in Winnepeg.

more info on the Flash in the Peg Adobe Groups page.

11:58 AM Permalink
March 12, 2010

Yet more Pixel Bender community links

I can’t keep up with the community! As with the previous posts, there is no particular rhyme or reason, these are just things open up in tabs in my browser right now…

Slender Pixel Bender
Slender Pixel Bender by Taras Novak
A great take on a Pixel Bender filter explorer showing you all the metadata and a preview image.

Reconstruct anti aliasing with Pixel Bender

SmartAA – reconstruct anti aliasing with
Pixel Bender
by Jan-C. Frischmuth
(the same person who did Real-time Screen Space Ambient Occlusion with Pixel Bender and After Effects) A lot of cool Pixel Bender experiments happening on this blog, definitely worth checking out.

I love seeing experiments using Pixel Bender to do simulation in the player.

Using Pixel Bender for Math in Flash/FLEX by Rob Skelly
Nice article on off-loading math computation to Pixel Bender.

Pixel Bender Disco

Pixel Bender Disco by Jozef Chúťka
Really trippy real-time visuals created with multiple Pixel Bender filters.

Milky Ball
PixelBender Raytracer & Milkyball by Ralph Hauwert
Ralph is at it again, doing some really amazing things combining his knowledge of 3D with the capabilities of Pixel Bender. When I showed this to the Flash team, they were blown away.

4:22 PM Permalink
February 23, 2010

New Pixel Bender video from Lee Brimelow on AdobeTV

4:49 PM Permalink