Tag Archives: pixelbender

Pixel Bender : ft-ColorGray shader for After Effects



Introduction

This shader will color an image based on a second input. I did it because I wanted to change grayscale into a variety of colors with a gradiant.



Download & Sources



How to install it ?


Just copy the .pbk file into your “Support Files” folder in your AE install directory



Donate


Pixel Bender : ft-CombineRGBA for After Effects


Introduction

This really simple shader let you combine 2 inputs channel into a new one. There is already something like that in AE, but I believe it is only working in 8 or 16 bits. This one is working in 32 bits (thx pixel bender). I just did it because sometimes I do need to combine map datas (as normal map & height map) for my shaders, since Pixel Bender is limited to 2 inputs.



Download & Sources



How to install it ?


Just copy the .pbk file into your “Support Files” folder in your AE install directory



Donate


Pixel Bender : ft-2-strip technicolor & ft-3-strip technicolor shader for After Effects


Introduction

Those two shaders try to mimic Martin Scorsese’s The Aviator movie effects. The codes are based on snippet found on VFXTalk.com, Blender source code & Aviator VFX behind the scene website.

UPDATE : Now ft-2-strip technicolor & ft-3-strip technicolor as merged to a one filter called “ft-Technicolor”

Download & Sources


How to install it ?


Just copy the .pbk file into your “Support Files” folder in your AE install directory


Donate


UPDATE – Cubic Lens Distortion Pixel Bender shader for AE (with scale & chromatic aberration

cubic lens distortion & chromatic aberration



If you haven’t seen my previous post yet, here is the Syntheyes’ Cubic Lens Distortion algorithm ported to Pixel Bender.


New Features

  1. Scale factor : works exactly as Syntheyes Scale Lens Workflow (v2)
  2. Chromatic Aberration : based on Martins Upitis‘s GLSL posted here (v2)
  3. Blue/Yellow Chromatic Aberration based on Dorian modification (V3)



Download

  1. Download ft-CubicDistortion.pbk here : http://aescripts.com/ft-cubic-lens-distortion/
  2. Place it in your “Support Files” folder (which is in your AE install folder)
  3. Launch AE
  4. Look for the effect called Cubic Distortion

Source Code

just download the file at http://aescripts.com/ft-cubic-lens-distortion and open it with your notepad application

Donate

still if you wish ^^




PixelBender Cubic Lens Distortion for After Effects


Introduction


If you are doing Matchmove, you probably bumped into Lens work-flow issue, where you have to un-distort the footage in your matchmove software, then track it, and export a new undistorted footage, so your client can compose the 3d rendering on top of it and then distort it back.
I don’t really like this work-flow, since for instance AfterFx do not have Cubic Lens Distortion FX and it would be really hard for the client trying to match the distortion back.

After watching Victor Wolansky’s FXPHD Class on SYN202 (syntheyes) about Lens work-flow, I thought : “hey why not porting the lens distortion algorithm ?”. Pretty easy to do, since I already did it for HLSL & Martins Upitis did port my shader to GLSL !
Thanks to SSonTech for sharing there alogrithm


Pixel Bender Cubic Lens Distortion :

Not much to say, it does what it suppose to do ! You can copy & paste values from Syntheyes and it will match perfectly (or it should at least). See the screenshot below.

  1. Download CubicDistortion.pbk here : http://aescripts.com/ft-cubic-lens-distortion/
  2. Place it in your “Support Files” folder (which is in your AE install folder)
  3. Launch AE
  4. Look for the effect called Cubic Distortion

UPDATE : now with scale factor & chromatic aberration, see the post here

Thanks to Jerzy Drozda Jr (aka Maltaannon) for his great tips about Pixel Bender.

So now, you can create a new comp with your distorted footage > pre-comp it > undistorted it with the shader > track it in syntheyes > export the camera to a 3d package > render the scene > import the render into your pre-comp > desactivate the shader. Should match perfectly :)



Screenshots

(yeah I know, PFTrack grid with Syntheyes … not cool ! :p )

Distorted Grid

Syntheyes Cubic Undistortion

AE with Cubic Lens Distortion shader

compare AE & Syntheyes Lens distortion


Donation

If you wish