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
1
vote
1 answer

Detect when the Shader is done mixing the audio

so this the code with it i am able to mix several tracks with a Shader done in pixel bender. the problem here i don't know when the mixing is finish or all the sound reache their end to be able to save the bytearray into a file any Event or…
Khaled Garbaya
  • 1,479
  • 16
  • 20
1
vote
1 answer

How to recreate such effect using actionscript/pixel bender?

Effect is generally in mostly vertical with slight horizontal offsets looks like: often used by paintors in sky painting like here
Rella
  • 65,003
  • 109
  • 363
  • 636
1
vote
1 answer

Show / Hide specific color ranges with PixelBender

What is the best way to hide specific (interpolated) color ranges? For example, I have a gradient that goes from blue > cyan > yellow > red. What I need is to hide blue > cyan, yellow > red but leave the cyan > yellow. var rangeA:Object =…
Andrei
  • 73
  • 3
1
vote
1 answer

Flex shader effects: render one object into another

I want to make such effect: draggable semi-transparent object (let's call it 'plastic strip') over window with arbitrary objects. Plastic strip should be turbid, i.e. it blurs content under it (not blurred itself). What's the best way to do that…
alxx
  • 9,897
  • 4
  • 26
  • 41
1
vote
2 answers

webcam background blur effect

I've seen this effect before, where everything is blurred except the front most object in the shot. it was possibly a flash or flex effect which worked in realtime with video and snapshots. can anybody shed some light as to what this effect was…
user433575
  • 357
  • 1
  • 4
  • 13
1
vote
3 answers

Does the Pixel Bender with Flash would use the GPU?

I write a Pixel Bender kernal for my flash. I know that the pbk would run in another thread. But when I run my swf, the GPU usage shows 0%. I want to know does the Pixel Bender with Flash would use the GPU.
Mobius
  • 31
  • 8
1
vote
0 answers

Pixel Bender alternative?

Is there an alternative to the now abandoned Pixel Bender? A framework where I can focus on scripting the core logic and don't have to worry about image I/O, GUI or low level shader code. A GPU based solution would be best because I'd like to use it…
ZoltanE
  • 173
  • 1
  • 7
1
vote
1 answer

Understanding Actionscript Garbage Collection

in an attempt to see and hopefully understand actionscript's garbage collector, i've set up a sample project that loop-tweens the value of a pixel bender parameter on stage. my first concern was the amount of memory that was being used at launch…
1
vote
1 answer

Simple Pixel Bender Blur?

I am using the following code to create a dynamic reflection of an image: { input image4 src; output pixel4 dst; parameter float imageheight < minValue: 0.0; maxValue : 1000.0; defaultValue :300.0; >; parameter float fadeheight < …
Hanpan
  • 10,013
  • 25
  • 77
  • 115
1
vote
2 answers

AS3 - PixelBender Shader ArgumentError

I'm having a problem and it's getting really annoying. I want to use a simple Shader to return the colours of all the pixels in an image, but simply assigning a script to a Shader is proving to be a challenge. I don't know PixelBender script and I…
puggsoy
  • 1,270
  • 1
  • 11
  • 34
1
vote
1 answer

Flex 4.5 blendShader, Pixel Bender not refreshing

I'm following Joe Ward's Pixel Bender basics for Flex and AIR tutorial and updating it for Flex 4.5 Flashplayer 11. While working on the grainBlend section It Works great, if I have an "Alert" message pop up. Otherwise the shader does not…
1
vote
1 answer

PixelBlender wrong hue. flash/actionscript

I have a javascript which can pick colors (HSB). But in my flash element the HUE is calculated wrong. I have this input ex: HUE: 360... SAT: 100..BRIGHTNESS: 97 but the flash element is getting a wrong color. What to do? I am using PixelBlender to…
1
vote
1 answer

Output values in Pixel Blender (trace)

I'm absolutely new to Pixel Blender (started a couple of hours ago). My client wants a classic folding effect for his app, I've shown him some example of folding effect via masks and he didn't like them, so I decide to dive in Pixel Blender to try…
Sr.Richie
  • 5,680
  • 5
  • 38
  • 62
1
vote
0 answers

Shader BlendMode + Filter = Issue with transparency

When I use custom shader as a blend mode and apply a BlurFilter, black border appears. Without filter it works fine. Here is a shader code. kernel NewFilter < namespace : "my.test"; vendor : "Im"; version : 1; description :…
Ash Hissorrow
  • 71
  • 1
  • 6
1
vote
1 answer

Additive blending the edges of an image with Pixel Bender

I'm trying to additively blend the edges of an image with a Pixel Bender shader but I can't quite figure out how to detect the edge itself. I've tried this but it's not working: { input image4 src; output pixel4 dst; void evaluatePixel() { …
Bruce
  • 235
  • 3
  • 11