apDespill v2.0

This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Adrian Pueyo
Despill and chroma keying blinkscript-based gizmo, with image-based input options and capable of despilling any hue you pick (and not only the primaries), selecting different algorithms for de/respilling, and protecting desired tones.
13.1, 12.2, 12.1, 12.0, 11.3, 11.2, 11.1, 11.0, 10 or later
Linux, Mac, Windows
05 Jun 2021

                 apDespill v2.0                



Stamps Icon apDespill v2.0 is a blinkscript despiller and chroma keyer capable of picking a specific tone and with image-based input options for most of the controls. v2.0 lets you choose between a despilling and keying algorithm, bringing new options such as turning the despill into a color or using it as an iKeylight.

Video tutorial

apDespill v2.0 Video

apDespill v2.0

If you just want a basic despill, its default values should already be enough and the tool will avoid any extra calculations.

v2.0 includes a new 'absolute' mode which lets you basically perform a key, or do a 'despill to color' operation. Also, the despill color, respill color and limit can now be plugged as image inputs if you wish, letting you perform a fully image-based despill or key, sort of iKeylight. Additionally, it allows you to perform the despill under a colorspace sandwich, for the artists who prefer to loop through different colorspaces in order to find one that works. Thanks to Tony Lyons the best feedback!

Main features

Image-based inputs
Image-based inputs let you use a single apDespill node for performing a different operation for every pixel of the image.

Absolute mode
With the new absolute mode you can change the despill algorithm (which removes the excess of a primary colour) for a chroma keying algorithm (which removes all of the presence of a specific tone), allowing for a despill-to-color operation or even using the tool for chroma keying (image based!).

Specific tone despilling
Since v1.0, the main distinct feature of apDespill is the possibility to despill a specific tone picked from the image, not being limited to pure red green or blue. This is internally performed via hue rotations.

apDespill is also part of Nuke Survival Toolkit: https://github.com/CreativeLyons/NukeSurvivalToolkit_publicRelease

Update Log:

apDespill v2.0 - 13 April 2021

New features:

  1. Image-based inputs for limit, color and respill.
  2. Absolute mode.
  3. Colorspace sandwich added for colorspace toggling.
  4. Added Rec.2020 spill math.

Bug fixes and enhancements:

  1. Compatible with Nuke 13 / Python 3.
  2. Not using GPU anymore.
  3. Blinkscript kernel optimized.
Please login in order to download these files.


+1 # Jorge M 2018-02-12 21:14
Hey Adrian ! I didn't have the time to thank for this amazing despill that you've done !

I've been using it as a standard for my despills but sometimes I had kernel issues.
I try to grab the errors but its only the red warning of the kernel and then nuke crashed I don't know if may be is nuke 10 the issue but I wonder if you know if I'm not setting it properly.

big thanks for the tool ! !
+1 # silly calvin 2020-05-06 15:24
Really love this gizmo, but in the recent version of nuke it sadly doesn't seem to work with the gpu
+1 # Livia Nunes 2020-06-12 21:55
Can confirm this. Not working properly in 12.1 . Would love an update :)
+4 # Adrian Pueyo 2020-10-21 22:02
apDespill v2 is ready! :-) Uploading it soon.
+1 # Jérémy Maillard 2021-01-07 10:17
That would be so kind ! Thanks so much for sharing your tools ! Best
0 # Daniel Short 2021-03-03 00:02
Thanks for continuing to develop it. I'm excited to keep using your tools.
+1 # Adrian Pueyo 2021-06-05 11:17
This is now updated! Took some time :lol:
Including tutorial video too.
0 # Filip Suska 2021-06-18 14:27
Hi Adrian the tool is nice but it keeps crashing my renders all the time after few frames .... I am using Nuke 13 so there might be a problem with stability in this version
0 # Adrian Pueyo 2021-06-19 21:43
Hi Filip, could you check if it's throwing any errors?
0 # André Neumann de deus 2021-10-28 21:53
llove the tool! Trying out V2 in Nuke 10.0v4 and it gives me this error
AddRGBA_spill.format_size: no such knob
AddRGBA_spill.true: no such knob
AddRGBA_color.format_size: no such knob
AddRGBA_color.true: no such knob
0 # Tom Tolle 2021-12-28 21:38
A very useful kit!
Ive included it in my keying workflow.

Only in big comps u cant render it cause the blink cash gets bigger and bigger untill nuke crashes or stops rendering.
And sometimes I get a few NaN pixels.
0 # Martin Rombos 2022-11-09 22:09
Thanks for sharing this tool Adrian. I can't live without this but as other mentions it crashes nuke while rendering.

Some times after rendering 20 frames the remaining time goes from 8 minutes to 1 hour.
I have to stop the render, restart nuke, resume the render and then it gets fast again. But after 20 more frames I have to repeat this.

Is there anything I could try?
+1 # Andreas Krein 2023-10-06 08:22
Very good tool, but it seems the Colorspace sandwich is broken. A hardwired expression is causing jobs on our farm to fail. We made a local fix for the latest NSTK, flagging now for potential future releases. Replace Colorspace5 with Colorspace1.

Colorspace {
channels {{{parent.Colorspace5.channels}}}
name Colorspace2
0 # Arthur Batista 2024-01-21 15:32

Hi! I've been having an issue...

When plugged into some footage it displays an error:

"apDespill.Shuf fle1: 'Shuffle2': unknown command.
This is most likely from a corrupt .nk file, or from a missing or unlicensed plugin. Can't render from that node. "

I'm using NukeX 10.5v4.

Any help will be appreciated.

You have no rights to post comments

We have 3315 guests and 35 members online