GrainMaster v1.2

This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Henrique Moser
This tool allows the artist to create grain or to import scanned grain and it offers the artist a complete set of operations to make the 'matching grain' task much easier. The highlight feature of this gizmo is how it allows the artist to use (and tweak) the luminance of the input to directly affect the grain before it is applied to the image. The days of making multiple grain setups for light and dark areas is gone. Hope you guys like it. I'm glad to receive comments and suggestions.
6.3 or later
Linux, Mac, Windows
29 Mar 2012

This gizmo encapsulates the original Grain node and adds the possibility of  using imported scanned grain in the same node. But it does so much more than this.


NEW VERSION v1.2  FIXED v1.1 bug  

Fixed bug with Add, Remove and Update buttons. - again, this gizmo should work with previous and future versions of Nuke, but if you finad an error please let me know and please describe the error you got.



  • Changed the luminance settings for a ColorLookup control, so you can tweak the luminance effect per channel (This improved the luminance control A LOT).
  • Added a grain view checkbox so that you can only look at the grain.
  • Added a help tab.
  • This gizmo should work on previous versions of Nuke, but I didn't have the chance to test it. If you get errors you might have to open the .gizmo file on a text editor and copy everything from the word gizmo{  to the end_group and paste (Ctrol + V or Cmmand + V) on to the Node graph in Nuke.


Here is a list of feeatures for this gizmo:

  • Automated way to add and remove scanned grain footage, or use the Grain node controls to create a new grain and use the other features to improve the look of it.
  • Apply the grain in log mode by default giving a more natural look to it.
  • Intensity control that works as primary control for imported scanned grain, and it works as a good seconday intensity control when creating your own grain.
  • Uses the input luminance to affect the grain intensity before it's applied to the image.
  • Blur the grain pre channel.
  • Sharpen the grain per channel.
  • Clamp grain lights and darks per channel.
  • Apply it through alpha with a nice alpha edge control.

Instructions on HOW TO SAVE ADDED GRAIN IMAGE SEQUENCES so that every time you get your gizmo your grain image sequences are automatically loaded:

  1. Double click the node and open the node settings in Nuke Properties bin.
  2. Click the add new grain button and follow the instructions.
  3. Navigate to the Node tab.
  4. Click on the copy to group button.
  5. Double click the new node (named Group) to open its properties and navigate to the Node tab.
  6. Click on the export as gizmo button and save it on top of the GrainMaster.gizmo ( if there's no such button and instead you see a copy to group you're looking at the wrong node properties. Repeat the instructions starting from item 4 )   


Installation instructions:

  • unzip the file and copy the GrainMaster.gizmo to one of your plugins folder (scripts, gizmos, etc).
  • append the content of the included to the file existing in your python scripts folder, if you don't have a file just move the included to your python scripts folder (the location of this folder varies depending on OS - linux, win, mac - consult Nuke's User Manual to find out where your scripts folder is located in your system.)


Things that I'm already planning for the next release:

  • Reformating / tiling scanned grain footage automatically without stretching based on input format.
  • Adding size control for imported grain footage


Hope you guys enjoy it. I did a lot of prep work the last few years and I gotta say I've been using this features for a while now and I can't really see myself not using this tool anymore.


Henrique Moser

Please login in order to download these files.


0 # Jung Keun Kim 2011-12-26 00:16
million thx~ awsome :D
0 # M'bolo Badou 2011-12-27 08:42
seems to work only on 6.3v4...?
0 # Henrique Moser 2012-01-09 13:07
Weird, well I´ll return from holidays soon and then I´ll check this compatibility issue. Thanks for letting me know.
0 # Sri kanth 2012-01-27 22:48
Thank you so much!
0 # Neil Scholes 2012-03-28 12:27
Yep - no good for 6.3v7...:sad:
0 # Henrique Moser 2012-03-28 12:35
Hey would you mind sharing the error you're getting and in what circumstance, please?
I want to fix this gizmo, but I'll need some more information from you. Thanks!
0 # Henrique Moser 2012-03-28 12:51
Oh... I found an issue with it. Weird, nuke added some tags that messed up the add, remove and update buttons... I'll fix that tonight. Is this the error you're getting?
0 # Neil Scholes 2012-03-28 14:14
Yeah - thats the errors i'm getting - fix most appreciated!!:- )
0 # Henrique Moser 2012-03-28 14:45
Great, will fix it tonight - and I'll double check before publishing it. ;-)
0 # Henrique Moser 2012-03-29 08:59
Done! Please let me know if you run into any other problem.
0 # Neil Scholes 2012-03-30 03:49
Hi - Many Thanks working perfectly - really nice gizmo. Looking forward to exploring.
0 # Niki Bern 2016-11-02 00:36
Great tool thanks ! - there's a reformat in there that you might want to remove as it stuffs up projects that work in different formats.
0 # Gabriel gaumont 2016-11-27 05:29
I need to clone grain from an old film to pass it to a sequence shot in chroma
0 # Dimitre Iliev 2018-07-05 21:33
Hey - I found something in your node which can cause issues in some cases. There is a NoOp node inside named title, which crashes other scripts, in our case it crashed our 'send to farm' script. Removing it solves the problem. Also for the future, try not to use the name of a node as a label. Make a dot and use the label instead.

You have no rights to post comments

We have 2407 guests and 54 members online