Questions tagged [pixel-bender]

Adobe Pixel Bender is a programing language for the description of image processing algorithms.

Pixel Bender is a programming language created by Adobe Systems for the description of image processing algorithms. The syntax is based on GLSL, and a Pixel Bender program is analogous to an OpenGL fragment shader, and is intended to be a loosely typed version of C++.

For more info see Pixel Bender Technology Center.

64 questions
7
votes
1 answer

Pixel bender shaders with multiple outputs in flash?

According to the pixel bender specs a shader can have one or more outputs. The pixel bender toolkit, whose "export to flash" option tends to be preety strict about the flash specific do's and dont's, would even compile such a shader without…
sold
  • 393
  • 1
  • 3
  • 6
6
votes
2 answers

Comparsion between Pixel Bender(in Flash) and Pixel Shaders(in Silverlight)

Can someone explain the different between Pixel Bender in Flash and Pixel Shader(HLSL) in Silverlight in terms of programming flexibility and run-time performance?
Andy Li
  • 5,894
  • 6
  • 37
  • 47
5
votes
2 answers

using PixelBender to double the size of a bitmap

I have a performance question about pixel bender. I want to enlarge many BitmapData (double their size into new BitmapData). I was doing this with as3, but wanted to use pixel bender to get better performance. On my machine, I get better…
jedierikb
  • 12,752
  • 22
  • 95
  • 166
4
votes
1 answer

OpenGL Pixel Shader: how to generate random matrix of 0s and 1s (on each pixel)?

So what I need is simple: each time we perform our shader (meaning on each pixel) I need to calculate random matrix of 1s and 0s with resolution == originalImageResolution. How to do such thing? As for now I have created one for shadertoy random…
Rella
  • 65,003
  • 109
  • 363
  • 636
4
votes
1 answer

Can Stage3d be used to perform parallel calculations?

I used to program maps in AS3 like you, but then I took a Pixel Bender in the knee. Since then I have been using Pixel Bender to do parallel calculations on arrays. Can Stage3D be used for this? Example of using Pixel Bender for…
AturSams
  • 7,568
  • 18
  • 64
  • 98
3
votes
1 answer

Programmatically Mixdown of audio tracks (no playback)

I've found some excellent demos of how to mix together sound objects together for live playback. See the working example bellow... But can it be done programmatically without any playback so I can just output the mixed file? Also I'll be adding some…
3
votes
3 answers

Action Script3 / Pixel Bender Compound Blur effect?

I need Action Script3 / Pixel Bender blur filter with mapping capability’s. We have such image, we want to apply such blur map to get such result alt text http://livedocs.adobe.com/en_US/AfterEffects/8.0/images/ef_182.png Its also known as…
Rella
  • 65,003
  • 109
  • 363
  • 636
2
votes
1 answer

Fast method to render thousands of bmp in Flash?

What's the fastest way to render a few dozen 16x16 bitmaps tens of thousand times at random locations on a 800x600 screen? 1) Use CopyPixel() to blit each sprite to the 800*600 screen buffer? Of course, call unlock(), lock() on the screen…
user703047
  • 151
  • 1
  • 1
  • 4
2
votes
1 answer

Flash Pixel Bender: Number Crunching for Audio Processing

I've seen some example of using a Pixel Bender for mixing two tracks together (per shader passes). However, would it be technically possible to write a Pixel Bender kernel that could do this? Filter LP / HP / BP (with Cutoff and Resonance…
chamberlainpi
  • 4,854
  • 8
  • 32
  • 63
2
votes
1 answer

Advanced chroma key code samples

I'm working on an application that needs to key out the background from an image taken by a webcam in front of a green screen. I figured this would be a very common task, but to my surprise i'm having trouble finding code samples for anything more…
2
votes
0 answers

How to create simple Glow effect with PixelBender

I would like to add a glow effect in my flashgame like in "Geometry Wars" I thought that must be possible with Pixelbender but I totally suck at this tool/language to write such a shader. Did someone know how to do it or have maybe a good reference…
Paul
  • 289
  • 2
  • 14
1
vote
1 answer

Ways to apply multiple filters in Adobe Pixelbender?

How to apply multiple filters in Adobe Pixelbender in Flash (=limited version)? For example 3 different kinds of video displacement effects (1 displacement on the left, one on the right and one the top). I know, it possible to just copy paste the…
user1095332
  • 403
  • 6
  • 17
1
vote
1 answer

bicubic sampling example using pixel bender?

I am new to pixel bender and wondering if anyone knows how bicubic [down]-sampling would be implemented using adobe's pixel bender? Here is an example of how Bilinear [down]-sampling can be implemented.
jedierikb
  • 12,752
  • 22
  • 95
  • 166
1
vote
2 answers

Emulating a nested loop in Pixel Bender for Flash/Flex

I have two vectors of a large, but arbitrary (v1.length need not equal v2.length), number of points, and I want to pairwise multiply them. Because this is the main bottleneck in a large loop of AS3 code, I thought I would try to pull out the code…
Kizaru
  • 2,443
  • 3
  • 24
  • 39
1
vote
2 answers

Pixel bender White to Transparent

When I run the following pixel bender code: input image4 src; output float4 dst; // How close of a match you want parameter float threshold < minValue: 0.0; maxValue: 1.0; defaultValue: 0.4; >; // Color you are matching…
michael
1
2 3 4 5