presetBackdrop v1.2


 
This location is for Registered Users Only.
Perhaps you need to login or register.
Contributor: Victor Perez
Create quick preset customised Backdrops
Requirements:
4.8, 5.0, 5.1, 5.2, 6.0, 6.1, 6.2, 6.3, 7.0 or later
Linux, Mac, Windows
24 Aug 2011
2357

Preset Backdrop 1.2

Create quick preset customised Backdrops. Press ctrl+alt+b (or go to the menu 'V!ctor/Preset Backdrop'. This function pop up a panel to choose your preset (and optional custom label) and creates the Backdrop around your selected nodes.

Available presets:

Additive Key

Bloom

Camera Projection

Camera Setup

CG

CG: Ambient

CG: Diffuse

CG: Reflection

CG: Refraction

CG: Shadow

CG: Specular

Cleanup

Controllers

Color Correction

Despill

Edge Fixes

Elements

FX

Key

Matte

Lens Flare

Light Setup

Light Wrap

Output

Previous Versions

References

Relight

Resources

Rig Removal

Roto

Set Extension

Stereo Fixes

Temp

Test

Transformations

 

Every preset has its color and icon. You can modify the label of any Backdrop on creation or just leave it blank for the default label.

Add to menu.py

1
2
3
import presetBackdrop
VictorMenu = nuke.menu('Nuke').addMenu('V!ctor')
VictorMenu.addCommand('Preset Backdrop', 'presetBackdrop.presetBackdrop()', 'ctrl+alt+b')

 

Copyright (c) 2011, Victor Perez.
All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: -Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. -Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -Neither the name of Victor Perez may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Please login in order to download these files.

Comments   

 
-1 # Viktor Daniel 2011-08-22 11:23
looks like you forgor to add instructions about adding your script to Menu
something like that

m=nuke.menu("Nuke")
m.addCommand('Scripts/Bookmarks', 'presetbackdrop .presetBackdrop ()', 'alt+ctrl+b')
 
 
+4 # Victor Perez 2011-08-22 12:04
Thanks Viktor,

I've submitted those changes :-)

Cheers,

Victor
 
 
# Malik Dean 2021-01-12 15:53
Can anybody explain how to install this script? :)
 
 
# Zach Lewis 2011-08-25 13:59
absolutely righteous. slick work, as always.
 
 
+2 # vikramshil narwade 2012-02-05 09:09
I am student,can anyone tell me how to install this script
 
 
# Jason Duncan 2012-02-27 19:07
I am a student also, any help installing this would be helpful. Many thanks.
 
 
# Roots XI 2012-03-29 16:45
I saw this on the cmiVFX Color MasterClass, and have to say Cheers! what a great gizmo... THANKS
 
 
# Alexey Kuchinski 2012-04-15 11:19
Hi Victor, had approximately the same setup as you have, but icons in node graph are slowed down a Node graph update, so just wanted
to warn about possible consequences from using icons in Node graph panel (although i find handy to have them)
 
 
+1 # Victor Perez 2012-04-15 11:25
Thanks Alexey for the heads up. I'm going to test this, and I'm going to add a check box for the next version to give the user the option of not including the icons, just the text.
 
 
# chengd chengd 2012-08-01 22:34
thans you very much
 
 
# Jed Smith 2012-10-07 16:45
For my own use, I have modified this script to remove icons, reduce the number of presets, and reduce the saturation of the colors used for the backdrop nodes. If anyone would find this useful, they can access it here:
http://pastebin.com/t2SqMzzt
 
 
# ramalingam punniyakotti 2014-02-11 14:50
your are amazing in color master
 
 
# Nathan Strong 2015-05-30 02:32
Thanks Victor! This is awesome!! All of your tools and lessons are awesome!! Big thanks!!
 
 
# Steve Champagne 2018-04-20 15:49
Very useful, thanks.
 
 
# GBoy Vega 2021-04-21 16:15
In Nuke 13 i received the "%x format: an integer is required, not float" message.
 
 
# Capo Digital 2021-06-24 14:45
Quoting GBoy Vega:
In Nuke 13 i received the "%x format: an integer is required, not float" message.


Hey there! Here's the fix, replace this line and you're good to go

hexColour = int("{0:X}{1:X} {2:X}{3:X}".for mat(int(r*255), int(g*255), int(b*255),1), 16)

Cheers
 
 
# Evgeny Shpilivoi 2021-06-30 23:30
Nuke 13 - error
Traceback (most recent call last):
File "C:/Users/user1 11/.nuke/menu.p y", line 239, in
import V_PostageStampG enerator
File "C:/Users/user111/.nuke/gizmos/V_Tools\V_PostageStampG enerator.py", line 29
print i.knob('name'). value()
^
 
 
# Evgeny Shpilivoi 2021-06-30 23:44
typed manualy ... its works , thanks

hexColour = int("{0:X}{1:X} {2:X}{3:X}".for mat(int(r*255), int(g*255),int( b*255),1), 16)
 
 
# Neil Scholes 2021-10-02 20:18
Hey -

I found this way actually works correctly - you get the colors defined in the script

hexColour = int("{0:02x}{1: 02x}{2:02x}{0:0 2x}{3:02x}".for mat(int(r*255), int(g*255),int( b*255),1),16)
 
 
# Samuel Cleall 2021-12-04 01:12
Hey,
I'm also having the issue with the "%x format: an integer is required, not float" message". I've tried all of the above but I get this message when trying to open Nuke. I'm running 13.v5

".nuke/menu.py : error interpreting this plugin"
 
 
# Samuel Cleall 2021-12-04 01:12
Hey,
I'm also having the issue with the "%x format: an integer is required, not float" message". I've tried all of the above but I get this message when trying to open Nuke. I'm running 13.v5

".nuke/menu.py : error interpreting this plugin"
 

You have no rights to post comments

We have 2607 guests and 37 members online