expression from Fusion to Nuke

Hi!

Is there any expression in NUKE that does the same as this
one i use in FUSION:

if(c,x,y) returns x if c<>0, otherwise y

Thank you

who need the free Keylight tinder and Furnace for nuke?

i have everything, if u work in motreal and interesting the nuke .
add me in msn:dannifirst@hotmail.com
everything is free. i just want to share my library with my friends.

How to select and move multiple bezier shapes?

Simple question,

how can I manipulate multiple bezier shapes all at once? I can select all my bezier nodes, and see all the shapes in the viewer, and select them all, but I can’t move them all together.

How do I do that?

Thanks!

Fix in camera sharpening while keying

I admit that in most cases there is nothing to do if a footage comes in which is captured with video camera and ugly edges appear around the characters.
I am looking for a ways to compensate for that. What techniques are you guys using and preferring?
And of course, roto is always fun.

Attached Thumbnails
Click image for larger version

Name:	camera_edge_sharpen.jpg
Views:	N/A
Size:	52.6 KB
ID:	7520
 

2 Simple UI questions

ey there, I have 2 little questions regarding the UI which have been bothering me.

The first, regarding the usage of a tablet, one I use my Wacom with nuke, unlike when using my mouse, when I right click to enter the menu if I use my wacom it will automatically pick the last used node. it will only let me browse the menu if I leave my finger on the button. any way to fix this?

2nd problem is when I decide to work with floating windows, sometimes my node graph will freeze and I’ll have to maximize and minimize the viewer, any apparent reason for that? I am working with a Quadro card if that helps.

Thanks A lot in advance, Uri.

using mtime tcl function in NUKE

I was trying to get the info of the Read node of when it was last modified.

I thought it was this:

[file mtime [knob input0.file]]

however, it just says could not read.

Any ideas how to achieve this?

Thanks

Check Existence of Node With Python

How would one check for the existence of a node with Python.

For example:

if Write1 exists, then do this, else do this…

disappearing keyframe ticks

This sounds like a noob question, but I’m all out of ideas here.

The keyframe ticks on my viewer timeline mysteriously disappeared yesterday in the middle of my comp. If I create a new node and animate it, no keyframes show up. No animtion keys on any node appear. (I’m forced to hunt down keyframes in the curve editor to see where they are)

If I start a new comp, everything works fine, and I see animation ticks. (!!!)

Did I currupt my file some way?

I tried copying all nodes and pasting into a new comp, but no keyframes again.

Please let there be some scene-based toggle that I hit by mistake.

Thanks,
Gozirra

adding knob in a existing node

How do i add a knob in an existing node (timeoffset node)

Write File Path Mac to PC Syntax Thing

Hey all, I have this python script:

Code:

import nuke
def deadlineWrite():
#declare nodes
    s = nuke.nodes.mkslate()
    p = nuke.nodes.pan2lin()
    w = nuke.nodes.Write()
#set connections
    w.setInput(0,p)
    p.setInput(0,s)
#disable pan2lin gizmo by default
    p.knob( 'disable' ).setValue(1)
#Render Settings
    target = '/Volumes/mkkr/PROJECTS/[string range [knob mkSlate.shot] 0 2]/[string range [knob mkSlate.shot] 4 6]/[knob mkSlate.shot]/outbox/[knob mkSlate.shot]_[knob mkSlate.ver]/[knob mkSlate.shot]_[knob mkSlate.ver].####.dpx'
    w.knob( 'colorspace' ).setValue( 'Panalog')
    w.knob( 'file' ).setValue( target )
    w.knob( 'file_type' ).setValue('dpx')


Which works just fine for me.

If you notice, the variable target is a long string of text and TCL that is put in the file knob of the generated write node.

If my artists hit Render locally, things work great. However, if they send to our farm (we’re using deadline) a "\" puts itself in front of every "[" in the tcl code. I don’t know TCL very well, I tried a bunch of TCL syntax things but nothing seems to be working.

Right now, my solution is to have my artists hit the folder icon and hard code the filepath. I would like to avoid this however, and simply find the correct syntax for sending this TCL to my windows XP farm.

NOTE: Deadline already fixes the file pathing issue between mac and pc. That is not a problem.

Any help is VERY MUCH appreciated!