BL Library

A selection of more than 50 gizmos.

Updated: 21 December 2012

Author: blempereur

Compatible Nuke versions: 6.3 or later

Compatibility: Linux, Mac, Windows

There is a selection of gizmos that i did in production along the years. Every topics of compositing are treated from stylising to pipeline.

Unpack this in your .nuke directory and add simply the from BL import * command line in your menu.py.

 

For more informations and doc:

http://www.z-way.org/script-and-gizmo/nuke/bl

 

Here is a non-exhaustive list of functions:

 


 

Arc is a circle drawer.
I was writing this gizmo to create multi circle animation.
It's very similar to the Arc node in Shake.

LineDraw a simple line between 2 points.

Random is a simple 4 channels random noise generator.

Shape is a gradient based shape drawer.

Star is a simple bridge to the Flare node that allow to create stars shape quickly.

 


 

Time is a dynamic time slicer node.
It use a mask and slice it to catch the picture at a different time.

ChannelBox is a channel manager.

 


 

Bytes node is similar to the Shake's one. It convert the picture in another byte space. This is of course a simple simulation as Nuke know to work only in 32 floating point color space.

Compress color is very important. This is a common color correction function that push the low color to a value and the high color to another. While tempting to made a color matching between 2 picture this Gizmo might be really usefull.
Similar to Shake's Compress.

Expand is a gizmo similar to the Shake's command of the same name.
Expand does the exact reverse of the Compress node. It stretch the color between to low and high color value.

Same as the Shake's Monochrome node.
You can play independently with the 3 color component.

This node is a Z-depth or Z-buffer Normalizer.
This works by puting every value in absolute and finding the minimum and maximum value of the depth channel and expand this values between 0 and 1.
The trick is that in commom normalizer, the minimum value is always 0 (infinity) so i create a function that avoid computing the 0 for the minimum value.

SaturationRGB let you modify the saturation value per component.

Cut a color Slice of the picture and create a mask of the result.

Threshold the image using a color value, a range of thresholding and a replacement color.

 


 

ColorSupress is a simple color supressor using the hue tool.
Despillator is an advanced despill toolset.
HSVKeyer create mask using the hue saturation and value of the color range.
Simple Spill Supress is an old one using simple condition for despill.

 


 

LayerAE was also made after a request on production. We were needed off some of the After Effects layer mode.
Here the list of layer mode:

-Normal
-Dissolve
-Darken
-Multiply
-Color Burn
-Add
-Lighten
-Screen
-Color Dodge
-Overlay
-Soft Light
-Hard Light
-Linear Light
-Difference
-Exclusion
-Hue
-Saturation
-Color
-Luminosity
-Substractive
-Freeze
-Heat
-Interpolation
-Intense Light
-Luminance Model

 


 

Morphological Filter serie are use to modify binary mask.
5 gizmos are available:
-Binary
-Border
-DirectionalBlur
-Occlusion
-ShapeSofter

BlurChroma allow you to blur the color of an image without modify it's shape.

Simple Bokeh filter.

IBokeh let you control the effect value throught a mask.

This Color Edge gizmo is a simple edge detection. It use 3 differents algo.
Sobel, Babu and Simple. This filter applied on RGBA channels.

 

The Convolve node is a collection of convolution matrix taked from Shake, Flame, and some image processing books.
This a good base while creating compositing node and new filter matrix.
there is a list of Matrix:

-blur3x3
-blur5x5
-sharpen
-edge3x3
-edge5x5
-laplace
-smoothedge
-sobelH
-sobelV
-BabuH
-BabuV
-Robinson H 3x3
-Kirsch H 3x3
-MexicanHat 5x5
-LineFinding H 5x5
-BoxFilter 7x7
-Gaussian 7x7
-Bartlett 7x7
-MexicanHat 17x17

 

CurveFilter is a linear filter matrix that is remap with a color lookup to filter every channels independently. The fact that you reshape the matrix by a curve allow you to pass from a filter to another.

Emboss is an advanced embossing effect

IBlur and IDilateErode are mask controled filter.

 


 

Mosaic

 

ScanLines

 

Scatterize

 

The Gizmo Solarize is again a clone of the Shake's command of the same name.
Most people think that this command is a graphical oldschool effect and i must say that's exacltly the case on pictures.
But the fact is that Solarization on mask are really usefull.
You can create smooth edges, duplicate your shapes inside gradients, and much more.
Play with it on mask work.

 

TileMosaic

 

Zebrafy

 


 

Scroll is an exact copy of the Scroll node in Shake.
This allow you to move a picture by replicating it's border.
Such node is really usefull when working around procedural texture.

ToBBOX was specialy design for animated shapes work.
This gizmo automatically fit a picture inside the bounding box of another.
If you receive roto of an object, you can direcly use this roto as motion source for your matter.

 


 

 

The Bulge function is a copy of the Bulge inside AfterEffect.
Some operators in production ask me for that tool.
This Gizmo is basicaly creating a drop/buble effect on a picture.

 

ChromaticAberation is a simple lens correction tool.

 

IDisplace is an advanced displacement node.

 

Twirl: a simple twirl effect.

 

Wave is a simple warper that distort your picture with sin, cosine or noise.
You can choose directions, play with ampliture frequency.


GUISwitch is a simple switch using the $gui global variable to detect if a rendering occur in GUI or in command line.

CleanOUT is a simple cleanup node that clamp, crop and delete every unusefull channel.
To use before a Write node.

 


 

 

Filler is a channel filler with inpainting options
Match help you to deal with nodal informations management
Sample a pixel and returns a color
Scanner is a basic color visualisation tool
ScanSlice is use as in gizmo tool
SetBBOXColor similar as the Shake's one 

Sign in or register to download or rate.