[python] KnobChanged & accessing the viewer

hi folks,

I want one knob to control the other and vice versa like in the example below but I want it to affect one special node only and not the whole class.

Code:

def gangGammaGainSliders():   

    n = nuke.thisNode()
    k = nuke.thisKnob()
    if k.name() == "gamma":
        n['gain'].setValue(k.value())
    elif k.name() == "gain":
        n['gamma'].setValue(k.value())

nuke.addKnobChanged(gangGammaGainSliders, NodeClass="ColorCorrect")


My second question is: is there a way to implement a HUD e.g. to show things like the node name I’m currently viewing or the viewer input etc. in the viewer?

I’ve been looking for a solution the whole day and couldn’t figure one out so I hope you guys can help me.

cheers,
Knallkopp

heip! keycode problem in Nuke

hello everyone,

i have to print the dpx file keycode onto the final result, but i can not find the place where can show the correct keycode. the only thing i find very similar is the edgecode in the view metadata node, but it is different, the keycode goes 1 frame, the number show +01, but in the edgecode goes 1 frame, the number show +05

anyone know how to show the correct keycode number and what can i do to print it onto the final result

thank you very much 😀 i really need your help!

MPC Acquires Nuke Site License

Just noticed this and wasn’t posted up on here so thought I would.

Quote:

The Foundry is pleased to announce that MPC has invested in a Nuke site license.

MPC have been using Nuke successfully in their commercials department for some time producing spots including Kerry LowLow ‘Mouse’ (above) which recently won MPC two VES nominations. The decision to switch their motion picture compositing pipeline to Nuke makes them one of the largest Nuke sites in the world.

Stephen Newbold, 2D VFX Supervisor for Commercials at MPC, said, “There were numerous factors which led to the decision to switch to Nuke as the primary compositing tool for CG heavy commercials at MPC. The raw speed of Nuke has been a huge benefit, the linear workflow merges seamlessly with our 3D pipeline and the 2D/3D environment has allowed our compositors to take on a lot of the set-extension and matte painting projection that would historically have had to be dealt with by the 3D department. Nuke has allowed us to maintain the quality of our compositing while tackling more complex jobs yet meeting the ever-tighter deadlines.”

Read the full Nuke MPC Release.


SpeedGrade OnSet Looks in Nuke

Hi everyone.

Is it possible to import looks from SpeedGrade OnSet into Nuke? I can’t seems to find any info on that.

Thank you in advance.

Dof – Maya to Nuke – Have you seen this problem before?

Okay guys,

age old question popping up again. I rendered out the scene in Maya2010 using OpenEXR with one of the channels containing a depth pass.

The scene is a little complicated as the camera pans around the subject matter, which means I can’t break up the scene into layers and blur them seperately and will definitely need to use the zBlur function in Nuke.

Unfortunately, the areas where there is a strong change in depth seems to cause this artifact. Am I doing this wrong?

Would using a shader projection solve this issue?

Dof Pass

Dof Result

Thank you. =)

f_kronos

Hello,

i want to slow down a sequence with Kronos.
But i have a vectorblur node as well.
Do i place the Kronos before or after the vectorblur ?
If i place it after, how do i get the motion channel going through the kronos node ?

thanks

What’s the abs in DifferenceMerge (abs(A-B))?

I know the math behind the Difference merge is abs(A-B). But what exactly is the abs? I’m trying to recreate this manually, and I’m not too sure what it’s doing.

Struggling with the grian node, any tips?

Been Nuking for a short while and while most things make sense, the grain node is still causing me pain.

Grain that matches fine in Shake I can’t seem to do in Nuke; I don’t know if it’s a case of me not using the grain node properly, or the grain node is naff (which seems unlikely given Foundry seem to know their stuff pretty well :)).

I’ve read techniques posted here (F_regrain, ScannedGrain, Degrain & difference, etc) but I was wondering if good results can be achieved using only grain. How do you folks use the node?

Cheers!
JC

selected node loads in property panel?

I was wondering if there is a way to have the currently selected node (not double clicked, just highlighted) instantly appear in the property panel? Anyone know of a way to do this? Sometimes I think it would speed me up – but I can see it being problematic for many workflows; so maybe an option somewhere?

Yet another relight Gizmo

Here’s my take on a Gizmo for relighting a scene from normal and position passes.

Somewhere I’ve got a version which has environment mapped reflections as well but I can’t seem to find it. If I find it I’ll add it in a future version.

You can download an example set of renders and .nk file here:
http://www.mediafire.com/file/ncnzgdqzkth/2oD Lighting example file.zip

I’ll probably only be keeping the creativecrash page up to date:
http://www.creativecrash.com/nuke/do…lighting-gizmo


Attached Files
File Type: zip 2-5D_Lighting_v01-01.zip (3.8 KB)