Inverted augmented reality with Pixel Bender

I had the idea that I wanted to do an augmented reality project that used a white rectangle on black instead of the usual black on white. After some discussion on Twitter it was clear that I needed to invert the BitmapData coming out of the camera before sending it to the FLARToolkit. Now there are many ways which you could do that but I decided to use a Pixel Bender filter just for the hell of it. It worked perfectly and it doesn’t seem to affect performance much at all.

You can download the full source which is just a modification of the code used in the gotoAndLearn tutorial on augmented reality. Once you go black, well you know the rest.

Lee


Pixel Bender is NOT hardware accelerated

After reading various tweets this morning coming out of the MIX09 conference I thought I needed to go on the record regarding Pixel Bender. The Pixel Bender toolkit runs filters using hardware acceleration. But Pixel Bender filters that are running inside of Flash Player 10 are not accelerated in any way and are instead rendered via software. This is a failure on our part for not communicating this clearly enough.

Lee


Pixel Bender basics on Adobe TV

Here is a video that I did a while back for Adobe TV. It walks you through how to create a simple Pixel Bender filter and then incorporate it into Flash CS4. Very similar to what I showed on gotoAndLearn but it’s still worth a look.

Lee


New tutorial on animating Pixel Bender

I just uploaded the new tutorial that shows how to animate Pixel Bender filters. I create a simple contrast filter an use it to transition between two images. I’m using GTween to do the actual animation. I like the structure and syntax of it but any tweening engine would work. This tutorial also demonstrates some of the Eclipse modifications I’ve been making like the snippets panel and the ability to test directly in Flash.

Lee


Second Pixel Bender tutorial is now live

I just uploaded the second part of the Pixel Bender tutorial. This time I show you how to export a Pixel Bender filter from the toolkit. Then I import the PBJ file into Flash and apply it to an image. I am compiling to Flash Player 10 using MXMLC which I described in detail in an earlier tutorial. This workflow will obviously be much easier once Flash CS4 is released. If you come up with some cool filters let us know in the comments! Check it out at http://www.gotoandlearn.com.

Lee


1 - 5 of 8 Prev 5Next 5