Posts tagged "“pixel bender”"

December 10, 2010

Pixel Bender Toolkit 2.5 released!

UPDATE 12.17.2010! We’ve resolved the bug and posted a new build. Please download this new build and use at will!

UPDATE 12.13.2010! It looks like the problem we discovered is Mac-only. We now have a repro case and are working on a new build. Please reply to this post if you’ve seen any issues with parameters not appearing on Windows machines (we can’t repro that case). If you are running on a mac, please skip this build and we’ll post another ASAP.

UPDATE 12.11.2010! It looks like something went wrong in the staging and the wrong version was posted. Please hold off installing for now.

The newest version of the Pixel Bender Toolkit, 2.5 is now available for download from the Pixel Bender Technology Center or as an update if you installed it as part of the Creative Suite or After Effects or Flash Pro.

This new version includes some bug fixes and a new graphical editor for creating Pixel Bender graphs for Photoshop or After Effects.

One thing to be careful on, if you currently have version 2.1 of the Pixel Bender Toolkit installed, you need to follow some instructions in the release notes before installing version 2.5

Happy Pixel Bending!

10:00 PM Permalink
August 21, 2010

Link Friday for 8.20.10

Sambaverse by Ben Gomez Farrell

One post that got people excited this week was the announcement of the Sambaverse alpha from Ben Gomez Farrell. This is Ben’s description of what he is trying to accomplish: “I needed a tool that was smart enough to load an MP3, take a good stab at automatically detecting beats, break, loud sections, and different sections of the song – like verses and choruses.” And Pixel Bender? “I used Pixel Bender to get a huge speed increase when loading the sound initially. That was a lot of fun once I figured out how to get it working.”

Color keying with Flash Builder 4 by Luis Estevez

Color keying with Flash Builder 4 by Luis Estevez

Luis Estevez created a sample of using Pixel Bender to do color keying in the player. Here is his post in Spanish and English.

Flex 4 Fun by Chet Haase

Flex 4 Fun by Chet Haase

Chet Haase has written a book called “Flex 4 Fun” that includes at least a chapter on Pixel Bender.

"Pixel Bender: A Gradient… and Some Math" from David Van Brink

"Pixel Bender: A Gradient… and Some Math" from David Van Brink

Here is an older link, but one I just came across this week, from David Van Brink’s Omino Pixel Blog: “Pixel Bender: A Gradient… and Some Math.” I really like how he digs into the math to explain how it works. A great blog, and a nice filter too!

It is pretty amazing that every week I have new links to post from Pixel Bender developers. I’m going to try and work in some of the old links that I’ve got too as I go too. More links next week!

6:48 AM Permalink
August 14, 2010

Linky Friday, lucky Friday the 13th edition

Hello again! I’ve been out of the office most of the week, so this will be a linkeriffic post:

David Lanearts 4D julia set

David Lanearts 4D julia set

David Lenaerts has been putting together some mind-blowing math-intensive Pixel Bender filters for a while now. This week he posted some more info (and source!) on how he achieved metaballs and 4D Julia sets using Pixel Bender: Marching Cubes using Pixel Bender: Metaballs / LoFi 4D Julia Set

SSAO using Pixel Bender

SSAO using Pixel Bender

Ben Hopkins (kode80) has posted the source code from his SSAO experiments with Pixel Bender to google code.

Photoshop User TV Episode 238

Photoshop User TV Episode 238

Photoshop User TV covers the Pixel Bender Plug-in for Photoshop (‘natch) in this week’s episode.

Thanks again to the community for your contributions!

12:17 AM Permalink
August 21, 2009

Matrices and Pixel Bender

This is a guest post from Bob Archer, a Development Lead in the Adobe Image Foundation team. I ofter see people doing a lot of extra math in their kernels when they could have simply done a matrix multiplication. This post won’t explain linear algebra to you, but if you’ve been confused by Pixel Bender’s column major order or aren’t sure how it works, it should hopefully give you some pointers… [End of intro]

I thought this would be of interest to everyone – I finally have the definitive guide on how matrix math works within Pixel Bender.

Pixel Bender matrixes are in column-major order. This means that this line:

float3x3 m = float3x3( a, b, c, d, e, f, g, h, i );

Sets up a matrix that looks like this:

a  d  g
b  e  h
c  f  i

If I access a matrix using a single [] operator I get these results:

m[ 0 ] == float3( a, b, c );
m[ 1 ] == float3( d, e, f );
m[ 2 ] == float3( g, h, i );

If I set up a vector like this:

float3 v = float3( X, Y, Z );

and do some vector / matrix or matrix / vector multiplications I get these results:

v * m == float3( Xa+Yb+Zc, Xd+Ye+Zf, Xg+Yh+Zi )
m * v == float3( Xa+Yd+Zg, Xb+Ye+Zh, Xc+Yf+Zi )

i.e. v * m does this calculation:

( X  Y  Z  )  *  a  d  g
b  e  h
c  f  i

while m * v does this calculation:

a  d  g     X
b  e  h  *  Y
c  f  i     Z

If we are multiplying two matrices together:

float3x3 m1 = float3x3( a, c, b, d, e, f, g, h, i );
float3x3 m2 = float3x3( J, K, L, M, N, O, P, Q, R );

m1 * m2 does this calculation:

a  d  g     J  M  P      aJ+dK+gL  aM+dN+gO  aP+dQ+gR
b  e  h  *  K  N  Q  ==  bJ+eK+hL  bM+eN+hO  bP+eQ+hR
c  f  i     L  O  R      cJ+fK+iL  cM+fN+iO  cP+fQ+iR

Some references:
http://en.wikipedia.org/wiki/Row-major_order
http://everything2.com/title/Column+major+arrays+vs.+row+major+arrays

10:52 PM Permalink