cycloneslider
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/wacggq0abkde/public_html/wp-includes/functions.php on line 6114cartel
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home2/wacggq0abkde/public_html/wp-includes/functions.php on line 6114tl;dr: <\/strong>some useful Python snippets for Nuke.<\/p>\n<\/div><\/div>\n 1 - How to use it<\/strong><\/p>\n So first things first, let\u00b4s place the code where it can be reached, create a new Nuke Menu and set up a shortcut.<\/p>\n Distribute the code<\/strong><\/p>\n Download the script from the link below save it as a Python file called \"b_procedural_backdrop<\/span>.py<\/span>\"\u00a0<\/span>where Nuke can find it. In other words, place it within the Nuke Plugin Path file structure. For more info, read my previous posts.<\/p>\n Edit the menu.py file<\/strong><\/p>\n Now we have the Python module where Nuke can find it, we\u00b4re gonna add the following lines to our fantastic menu.py so that we can effectively use it:<\/p>\n Save the menu.py and restart Nuke.<\/p>\n 2 - Try it<\/strong><\/p>\n You'll notice that there is a new menu in your upper menu bar, listing the new 'b_procedural_backdrop' <\/span>command and its Hotkey. Just select a bunch of nodes and press 'alt+a '(it\u00b4s the hotkey we set up earlier, obviously you can change this to any other of your convenience). A Nuke Panel like this one should appear:<\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n As you can see, there are a few parameters to deal with:<\/p>\n Here is a Backdrop Layout<\/strong> example to give you an idea of this would look like:<\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n Additionally to the backdrops, as you can notice a dotted spine is created close to the layout so that you can use it as the main spine<\/strong> of your comp, in case that would be of your interest.<\/p>\n 1 - How to use it<\/strong><\/p>\n After having installed the code and assigned it to a shortcut like in the first example, just select an IBK Colour Node and run the tool<\/strong>. \u00a0A Nuke Panel like this one should appear:<\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n As you can see, there are a few parameters to deal with:<\/p>\n Now s<\/strong>imply select from the drop-down menu the recursion limit <\/strong>\u00a0and check the \"add corrective roto\"<\/strong> button if necessary.<\/strong> Having done that, click OK and in short time you will have a stack of IBK Colour Nodes linked via expressions to the first one<\/strong>, along with an IBK Gizmo connected both to the Clean Plate and to the Plate.<\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n Alternatively, if you checked the \"add corrective roto\" <\/strong>checkbox, you would have something like this :<\/strong><\/p>\n <\/p>\n There you go, a fully automated IBK stacking system that will save you a brief time<\/strong> each time you use it.<\/p>\n <\/p>\n <\/p>\n 1 - How to use it<\/strong><\/p>\n This time we are dealing with a Gizmo that has two inputs: \"inputcam\" & \"inputaxis\"<\/strong>. Note that you can plug any 3d Node that has a \"Translate\" Knob.<\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n On the properties bin you will find four knobs:<\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n So now you are unstoppable when it comes to animating stuff depending on how close or far away a specific object may be<\/strong>. Not that bad, huh?<\/p>\n 1 - How to use it<\/strong><\/p>\n After having installed the code and assigned it to a shortcut like in the first example, just run the tool<\/strong>. \u00a0A Nuke Panel like this one should appear:<\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n As you can see, there are a few parameters to deal with:<\/p>\n Now click OK and the selected Camera Node<\/strong> will have the corresponding values set up. Open the curve editor and check out the selected Camera's \u00a0\"focal_distance\" knob. \u00a0It will have an animation curve with each of the focal plane values on each of the frames in the passed frame list.<\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n <\/p>\n 1 - How to use it<\/strong><\/p>\n After having installed the code and assigned it to a shortcut like in the first example, just select any node and run the tool<\/strong>:<\/p>\n before\/after<\/strong><\/p>\nb_procedural_backdrop<\/strong><\/h6>\n
import b_procedural_backdrop.py\r\nn_menu = nuke.menu('Nuke')\r\nb_menu = n_menu.addMenu('MenuName')\r\nb_menu.addCommand('b_procedural_backdrop.py', b_procedural_backdrop.main_function()', 'ctrl+a')<\/pre><\/div>\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
code<\/strong><\/h6>\ndownload b_procedural_backdrop<\/a>\n
b_ibkstacker<\/strong><\/h6>\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
<\/a><\/p>\n
code<\/strong><\/h6>\ndownload b_ibkstacker<\/a>\n
b_distance_normalizer<\/strong><\/h6>\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
code<\/strong><\/h6>\ndownload b_distance_normalizer Gizmo<\/a>\ndownload b_distance_normalizer Python Module<\/a>\n
b_cam_puller<\/strong><\/h6>\n
<\/a><\/p>\n
\n
<\/a><\/p>\n
code<\/strong><\/h6>\ndownload b_cam_puller<\/a>\n
b_keymix_this<\/strong><\/h6>\n