h_PixelSort v1.2


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Mads Hagbarth Damsbo
This is a pixel sorter effect created in BlinkScript.
Requirements:
11.0, 10.5, 10.0 or later
Linux, Mac, Windows
08 Mar 2018
805

This is a primitive pixel sorter effect created in BlinkScript. It sorts pixels from black to white or vice versa, to create a interesting artistic effect.

Using the threshold silder you can pick where to start and stop the effect. And you can use the max length to set a limit to how long your sorting should be.

You can see a basic introduction to the pixelsorter here: https://vimeo.com/246859582

PixelSort v01

 

Changelog

V 1.1

  • Added a option to toggle GPU. This should only be used if you have issues running it without.
  • Added a option to output alpha from the source rather than a alpha that shows the affected area

 

Know limitations: The node have a hardcoded limit of 8000x8000 pixels, you can increase this limit opening the two blink scripts and looking for the number 8000 and changing this higher. Do note that this can increase processing time and memory usage.

Please login in order to download these files.

Comments   

 
# Vitaly Musatov 2017-12-14 05:07
I have got an error:
Syntax error at "\rtf1\ansi\ansicpg1252\cocoartf1504\coco"
It looks like something wrong with this script.
 
 
+2 # Mads Hagbarth Damsbo 2017-12-14 07:44
Note to self... never open a nk script in a RTF compatible text editor and hit save =(

Should be fixed now.
 
 
# Sven Akelian 2017-12-14 17:52
I do this all the time, just setup your editor the right way...
 
 
# Florian Dehmel 2017-12-14 08:46
Hi, i get an "Error compiling kernel" - message...
Thanks for your work!

Is it possible to drive the strength of the effect by a mask, like a DoF-Blur?
 
 
# antonio ramos 2017-12-14 09:49
Hi, I get the same "Error compiling kernel" message
...anyway, thanks for your work, looks impresive
 
 
# Mads Hagbarth Damsbo 2017-12-14 12:02
Quoting Florian Dehmel:
Hi, i get an "Error compiling kernel" - message...
Thanks for your work!

Is it possible to drive the strength of the effect by a mask, like a DoF-Blur?


Yes!

Quoting antonio ramos:
Hi, I get the same "Error compiling kernel" message
...anyway, thanks for your work, looks impresive



I assume you guys are running Windows since you get a error. What Nuke version are you on?
 
 
# antonio ramos 2017-12-14 12:11
Hi!

Yep, i´m on windows with nuke 10.0 v5 for now, but i guess we´re going to update to nuke 11 soon
 
 
# Florian Dehmel 2017-12-14 13:07
Hi,

you're right. Using Windows 7 with Nuke 10.5v3 here.
 
 
# Mads Hagbarth Damsbo 2017-12-14 14:19
Would be interesting to get a test in Nuke 11 running windows (i don't have a PC to do that).

But yea, there are some inconsistencies between Mac, Linux and Windows in regards to the Blinkscript node, and Windows seem to be the one causing problems most often.
 
 
# antonio ramos 2017-12-14 14:27
did program this on Mac or Linux?

I have linux at home and i would love to try it
 
 
# Mads Hagbarth Damsbo 2017-12-14 14:33
It works fine on both Mac and Linux (Nuke 10.0v7+)
 
 
# Francois Turcotte 2018-02-19 00:29
Does not work on nuke 11.1 in Win10 :sad:
 
 
+1 # Alexey Ushakov 2017-12-15 15:03
Quoting antonio ramos:
Hi, I get the same "Error compiling kernel" message
...anyway, thanks for your work, looks impresive


enter into the group "BlinkPixelSort " and turn on in BlinkScripts "UseGPU..."
 
 
+1 # antonio ramos 2017-12-15 15:08
Thanks a lot Alexey, now the kernel is successfully compiled but i have an OpenCL error(-11)
 
 
# antonio ramos 2017-12-15 15:12
I have an Nvidia Quadro 5000 and i guess the drivers are updated
 
 
# antonio ramos 2017-12-17 23:46
Works perfectly fine in Linux(Ubuntu). Thanks for this amazing work
 
 
# Remco Consten 2018-01-03 12:56
looks cool! I'm also getting the compiling kernel error on windows.
Edit: oh turning on UseGpu seems to do the trick indeed!


btw, did you finish and upload that gif writer for nuke? Can't seem to find it on Nukepedia. Would love to get to play with that one.
 
 
+1 # onur t 2018-01-04 21:20
Where can I get that gif writer? =)
 
 
# IDontWant ToRegister 2018-01-09 15:17
the effect only effects the lower half of my picture.
Any solution for this?

BTW Awesome script
 
 
# Lukasz Stolarski 2018-03-07 16:38
Hello. I've posted the same message on Vimeo but maybe somebody here can help:
First of all, this is great stuff, thanks for sharing. I have one question though: is it possible to change the Pixel Sorter Blink Script code so it respects the alpha of the image and outputs the pixel distorted image with new alpha?
I went into the group and tried different things but I see that BlinkScript just outputs full alpha. I don't have any idea how to write the code so I can't do anything about it. That would be so great if we could key/roto an element, PixelSort it and slap it back on the original image. The PixelSorting plugin for After Effects does that automatically - if you mask a layer, key it, the plugin respects that and distorts whats visible on the screen. Masking after pixel distortion is not a solution because the pixels are mixed, you still lose some stuff or have to leave the pixels you never wanted to have. I hope I'm clear ;)

Here's a screenshot from the AE's plugin demo, you can see the pixels go beyond the mask and come from keyed luma (not alpha - I'm just showing the alpha so we can see what it outputs):
http://i65.tinypic.com/30w9x6d.jpg

Thanks for any help :)

Oh - I also confirm that changing the Kernel Parameters to GPU in BlindScript solves the error on Windows 10, Nuke 10.5.
 
 
# Lukasz Stolarski 2018-03-08 13:39
Just to let everybody know - Mads has kindly updated the script. We have a toggle for GPU and source alpha now! Thank you so much Mads for responding so fast, all the best :)
 

You have no rights to post comments

We have 2016 guests and 39 members online