Add points to a LUT?

Hello, I am an AE user trying to navigate my way through nuke.
I’ve discovered that the nuke equivilent of ‘curves’ is referred to a as a color lut in nuke. Is there a way to add control points to an LUT? Also, can you translate the end points along the Y-axis to scale the image?

Switch expression help

Hi guys,

I need a switch node to switch depending on a camera input to a scanline renderer.

My scripting is terrible (pretty much non-existent), so can anybody help me write an expression that would do a "if scanline render caminput = cam 1 then switch = 0 else 1" kind of thing…

Much appreciated.

closing in a fast way all the tab

hi there guyz,
to control better the gui tool in on the viewer we have to open and close the control tab, so that the overlay control disappear.

is there a fast way to control that?

i usually have to double click on the node and the close with the little arrow…and this is annoying…

when i have many node and have to animate, modify keys…etc etc….

prehaps there is a tip i do not know….

let me know men:)))

thanks

mat

mergings R G B to one mask channel

Hello,

kind of a stupid question, but how do you merge the R B G channels of a vraymultimatte channel in one single alpha matte ?

Thanks!
/m

obj Pivot

Hi..

I ve imported OBJ mesh from Boujou … and i want to translate them.. but…

my imported obj placement are correct but my that OBJ pivot located in center of Nuke Grid.. not in center of imported OBJ. so every time i ve to adjust my pivot to my obj’s center..

. is any other way to get pivot in center of object…

find exported OBJ I ve attached

Thanks

Attached Files
File Type: zip test_boujou_obj.zip (2.0 KB)

Keypad binding in python

Have been going insanely crazy (yes, beyond crazy) trying to find a way to bind the keypad (numpad) keys to something.

Does anybody know what the name for these keys is in Nuke? I’ve tried a bunch, and well… they don’t work.

Hyper-Threading problem… ?

Alright, I’m going to need someone to enlighten me on this, because really, I’m baffled as to why this is happening.

So I have an intel workstation, 4 cores. Here is where the question lies:

Why, when hyper-threading is enabled, does Nuke respond and render slower?

I was rendering a script, with Hyper-threading on, and 8 threads on, the script took 2 hours to render. (I have a lot of stereo footage coming in).

Now, I turned hyper-threading off, and my render was cut down to 45 minutes. Not only that, but I even went in and added 2 more pieces of stereo footage, comped, and well.. the render time is still about half of what it was with HT enabled.

Has anyone else ran into this? I have the threads set to 8 in Nuke. I checked affinity in task manager, etc.

Is it just because the way Nuke’s scanline render work? Or what’s the deal?

nukepedia

http://www.nukepedia.com/

just found this on LinkedIn.
looks pretty sweet!

Create Bezier Points with Python

Hi all,

I would like to create a bezier node in Python.
My problem is when I try to create 4 points and interpret the shape (cusp points, smooth, ect). The rest is ok. I hope 😉

Here is what I have now:

Code:

knb = nuke.createNode("Bezier")
      nuke.knob("Bezier1.name", "Test")
      nuke.knob("Test.invert", "true")
      nuke.knob(Test.color", "0")
      nuke.knob("Test.points", "1998 232 0 0.31")
      #nuke.knob(Test.shape", "curve L x1 0")


I don’t know how I can create more that one point, and how I need to write correctly the shape curve.

I have create a .nk file to know how the bezier node is build:

Code:

Bezier {
 inputs 0
 invert true
 points {{
{-38 908 0 -2.83}
{-60 244 0 -0.32}
{1998 232 0 0.31}
{1988 908 0 2.82}
}}
 shape {{curve L x1 0}}
 center {960 540}
 color 0
 name 2_35_cache
 selected true
 xpos 239
 ypos 22
}


That’s an example but if someone can help me to transform the node code in Python…

Thx a lot

Garbage matte – how do I do?

Coming from AE, I have a bit of a problem getting into some of the basic things in Nuke. Many things makes perfect sence, but some don’t. Garbage mattes for example.

When keying in AE, I make a mask and cut out parts of the image that I don’t need. Then I apply a keyer.

In Nuke, this doesn’t seem to work for me. After my read node I add a Paint/Roto node and make a mask around the area I want to cut out. I tell the node to affect the alpha channel only and then I add a premult. Perfect. But as I merge my fg to my bg, the same garbage matte gets applied to the bg as well. I can’t seem to figure out how to make this work. The only work around I have at the moment is to color my garbage matte green and key it out.

In AE I also like to pull a hard kay, dialate it and get an automated garbage matte without having to keyframe, that I then stencil over my next layer. How do I do this in Nuke? I do a hard key, dilate it and then stencil the matte over the original and I get the same result. But again, after I add my keyer and as I merge it, this automated garbage matte affect my bg as well.

What am I doing wrong?