Search

Your search for Y X returned 24 results.

Sample colour and fill the whole image

set cut_paste_input [stack 0] version 12.2 v5 push $cut_paste_input Expression { expr0 "\[sample this r colourPicker.x colourPicker.y sampleSize sampleSize]" expr1 "\[sample this g colourPicker.x colourPicker.y sampleSize sampleSize]" expr2 "\[sample this b colourPicker.x colourPicker.y sampleSize sampleSize]" expr3 1 name sampleColour selected true xpos -155 ypos 588 addUserKnob {20 ColourPicker l "Colour Picker"} addUserKnob {12 colourPicker} colourPicker {709 358} addUserKnob {16 sampleSize}…

Using the nuke.math Python module to do Vector and Matrix operations

Nuke has its own python math module (nuke.math) that provides support for Matrix, Vector, and Quaternion classes, and useful functions to operate with them.

If you need to do any maths involving vector operations in Nuke (like adding or substracting vectors, transforming vectors with transformation matrices, calculating vector reflections, inverse-projecting a 3d vector into 2d screen coordinates, etc), then the nuke.math…

Dealing with NaN pixels

Here's an approach to dealing with the occasional NaN pixel that can for example crop up when outputting through the ScanlineRender node.…

Expression Node 101

Introduction The expression node in nuke is a bit of a mystery for most people, but it's incredibly powerful.…

Using nuke.animation without tearing your hair out

This is quite possibly the most stubborn Nuke Python function I've ever encountered, and it took me a lot of poking and prodding to get it worked out, so I figured I should spread the knowledge around. nuke.animation is the Python equivalent of (/wrapper for?) the TCL "animation" command.…

Getting the Index Context of a Knob

Scope: There seems to be no Knob python method to get the context of a specific index inside a knob with multiple values (like an XYZ_Knob). nuke.thisKnob()  would get you the knob something is executed from, but not the index within the knob.…

Creating fast water reflection

Creating realistic water reflection Preview: When we were working on The Admiral, it become clear very soon, that we will have to deal with water reflection. As obvious, ocean reflection is quite complex, and although rendering reflection in Arnold is quite fast, it will never catch up with speed and efficiency of doing such a thing at compositing phase.…

Expand Edge

hello my name is matt! one day a friend showed me this gizmo and today I will explain how it works :D It is similar to colour smear that you can find here: http://www.nukepedia.com/written-tutorials/colour-smear-for-nuke/ I really recommend looking at the colour smear tutorial to better understand how it works the idea is the same but instead of using blur and…

Noise Curve

Random noise as a curve is something I use all the time for all sorts of things. Here is an expression which uses Nuke's noise function to generate random noise along a curve. I use this to drive random flicker, luminance shifts, transforms or even camera float or film weave.…

Launching Nuke from the command line

I decided to write this simple and quick tutorial on how to Launch NukeX from the terminal since it took me a while to figure it out.  I am not very good with command-lines which is why it took my some time to figure this out. hopefully this will save you a lot of time.…

Creating a custom motion vector blur using trackers.

The original version of this article can be viewed here As a compositor, one of our daily tasks is to integrate plates of elements (dust, smoke, fire, water etc.) into our shots. Rarely do we get plates that were filmed specifically for the exact shot we are working on, so we rely on libraries of pre-filmed (stock) elements.…

Shake to Nuke, a transition guide - Part I: The Interface

Changing a piece of software you work with on a daily basis can be a frustrating experience at first.…

Keyframe Reduction script for Nuke

The original version of this article can be viewed here The problem I came across this issue when importing tracking data from PFTrack into Nuke, but it is equally relevant to tracking data create with a nuke Tracker node, or any animation data that gets "baked".…

AnimationCurve and AnimationKey objects

AnimationCurve Objects AnimationCurve objects contain the animation data of a given animated knob, and can be accessed using a knob’s .animation() or .animations() methods. NOTE: AnimationCurves can be created manually using Python, but for the purposes of this article, we will assume they all come from pre-animated knobs.…

Working with deep images in Nuke 7

Nuke's powerful deep compositing tools set gives you ability to create high quality digital images faster. Deep compositing is a way to composite images with additional depth data. It helps in eliminating artifacts around the edges of the objects. Also, it reduces the need to re-render the image.…

List of Nuke Flags

""" flags.py nuke flags for easy access from /include/DDImage/Knob.h These are updated for nuke 6.2 with added comments. Flags not in 6.1 are READ_ONLY, GRANULARY_UNDO, NO_RECURSIVE_PATHS comments taken from Documentation/NDK/Plugins/namespaceDD_1_1Image.html#426fa024992892aa333e53b4e19109b5 """ # General flags (must not intersect any class-specific flags): # Values that work for any knob: DISABLED            = 0x00000080    # DISABLED Set by disable(), cleared by enable().…

Render Manager - Alfred

ALFRED Let’s start by the end.... To work, eg launch Nuke render jobs, Alfred needs to deal with some particular TCL script (alfredscript) describing a subset of commands with reserved and specific keywords. This script is ran by Alfred and the different commands are sent to different render boxes. We are using python commands in the alfredscript.…

calculation for the transformation in world space

Matrix is very powerful. Especially "World matrix" is very useful to "bake animation" for exporting to the other softwares. There is pretty nice tutorial "Enter the Matrix Knob" in this nukepedia.com. Well, "Camera" node, "Light" node and "Axis" node have this "World matrix" knob. And "TransfromGeo" node doesn't have it in its property.…

calculation for the transformation in world space

Matrix is very powerful. Especially "World matrix" is very useful to "bake animation" for exporting to the other softwares. There is pretty nice tutorial "Enter the Matrix Knob" in this nukepedia.com. Well, "Camera" node, "Light" node and "Axis" node have this "World matrix" knob. And "TransfromGeo" node doesn't have it in its property.…

Use of expressions to modify animation curves

  Timing changes can be quite a headache in most compositing packages.…
1