Gradient Editor v1.1


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Mads Hagbarth Damsbo
A simple little visual gradient editor.
Requirements:
11.0, 10.5, 10.0 or later
Linux, Mac, Windows
27 Jun 2018
472

This is a simple little visual gradient editor for Nuke

See a little demo here: https://vimeo.com/223874378

 

If you make some cool custom gradients, please share your 'GradientPresets.cfg' with me so we can add them to the official release.

ss2

 

Changelog

[1.1]  Fixed a bug that caused some Nuke 11 instalations to throw a python error and not showing the UI.

Please login in order to download these files.

Comments   

 
# Øyvind Veberg 2018-06-27 07:36
Hi!

Great work! I'm not getting the gradient presets and editor to show up, though (MacOS High Sierra, Nuke 11.1v4)...

Cheers,

Øyvind
 
 
# Mads Hagbarth Damsbo 2018-06-27 11:41
Quoting Øyvind Veberg:
Hi!

Great work! I'm not getting the gradient presets and editor to show up, though (MacOS High Sierra, Nuke 11.1v4)...

Cheers,

Øyvind

Try downloading the new version
 
 
# Øyvind Veberg 2018-06-27 12:58
Now it works! Again: Thanks a lot.

Cheers!
 
 
# Lucas Pfaff 2018-06-27 10:11
This looks awesome :)
But I also can't get it to work. When I add import ColorGradientUi to my menu.py, I get the "error interpreting this plugin" when booting up Nuke (11.1v3)

At first I had the files installed in my own directories, but even if I use the given folders etc it gives me the same error. Any insight? :o
 
 
# Mads Hagbarth Damsbo 2018-06-27 11:42
Quoting Lucas Pfaff:
This looks awesome :)
But I also can't get it to work. When I add import ColorGradientUi to my menu.py, I get the "error interpreting this plugin" when booting up Nuke (11.1v3)

At first I had the files installed in my own directories, but even if I use the given folders etc it gives me the same error. Any insight? :o

Try downloading the new version.
 
 
# Lucas Pfaff 2018-06-28 07:38
It works now, thank you VERY much. This tool will become really handy I bet! :)

btw, I noticed your name changing, you married? Congrats :)
 
 
# Mads Hagbarth Damsbo 2018-07-03 11:07
Quoting Lucas Pfaff:
It works now, thank you VERY much. This tool will become really handy I bet! :)

btw, I noticed your name changing, you married? Congrats :)


Haha yes sir, got married, thanks alot!
 
 
# Fernando Arbelaez 2018-06-27 16:42
Hi Mads H.
Unfortunately is not working for me in Nuke10.5v7 Linux.
Thanks
 
 
# Fernando Arbelaez 2018-06-27 16:43
Nevermind, I just fix it modifying the version inside the gizmo.
Thanks again.
 
 
# Robin Dutta 2018-07-30 19:35
Does not work well in a multi-nuke version environment.

To get it working I had to remove the nuke version in the gizmo as previously mentioned, and modify the imports in ColorGradientUI.py.

if nuke.NUKE_VERSI ON_MAJOR > 10:
import h_Qt
from h_Qt import QtGui
from h_Qt import QtCore
from h_Qt.QtGui import *
from h_Qt.QtCore import *
else:
try:
import PySide.QtGui as QtGui
import PySide.QtCore as QtCore
from PySide.QtGui import *
from PySide.QtCore import *
except:
import h_Qt
from h_Qt import QtGui
from h_Qt import QtCore
from h_Qt.QtGui import *
from h_Qt.QtCore import *
 
 
# Nick Guth 2018-10-08 23:41
Can't seem to get the presets and UI to show up. Any ideas?

My "hagbarth" folder is installed "\.nuke\gizmos\ hagbarth" and I'm loading the folders via the init.py:

##Hagbarth Tools
nuke.pluginAddPath('gizmos/hagbarth')
nuke.pluginAddPath('gizmos/hagbarth/icons')
nuke.pluginAddPath('gizmos/hagbarth/tools')
nuke.pluginAddPath('gizmos/hagbarth/grapichs')
nuke.pluginAddPath('gizmos/hagbarth/python')
nuke.pluginAddPath('gizmos/hagbarth/presets')

Still no UI.
 
 
# Nick Guth 2018-10-08 23:41
Double post.
 
 
# Timothy Halim 2018-12-17 08:59
Hi Mads,

Awesome works!
I already tested it and i think it'll be great if we could rotate the gradient and adding control about it so i change the expression node that create the gradient to:

set cut_paste_input [stack 0]
version 7.0 v6
push $cut_paste_input
Expression {
temp_name0 deg
temp_expr0 radians(Rotatio n)
temp_name1 dist
channel3 rgba
expr3 " (((x-Gradient.x )*cos(deg)-(y-G radient.y)*sin( deg))/GradSize )"
name GradCreator1
selected true
xpos 99
ypos -39
addUserKnob {20 Timo l Gradient}
addUserKnob {7 GradSize l Size R 0 10000}
GradSize 1920
addUserKnob {12 Gradient}
addUserKnob {7 Rotation R -180 180}
}

Thanks for being an inspiration!
 
 
# Colin Rhodes 2019-01-21 07:52
Nice work! I was looking to make something like this myself but you have already done such an awesome job.
Brilliant!
 

You have no rights to post comments

We have 2201 guests and 96 members online