Python: singleLineInput that depends on a CheckBoxBoolean … how do you do?

Hi Folks,

I have a singleLineInput that I would like to activate or deactivate depending if a CheckBoxBoolean is set within the same panel.
I imagine the deactivation to be something like the typical grayed out field.

Is there a simple way of doing this?

Thanks in advance.
D

Vector Displace on just pixels?

Hi all,

I’m working on a shot that could be solved with a tool similar to what I’ll describe:

Using vector analysis of one clip of images (a sequence of a guy moving a little bit in-frame), I want to displace the pixels of another clip (or just a single frame) so that it looks like it is glued to the motion of the pixels that were vector analyzed.

Basically, I thought I could use the new Vector Generate node to then pipe that data to move the pixels, but haven’t yet found a way to a make that work.

The end result is that I am trying to correct some makeup errors on a bald cap by painting a clean version and letting the motion of the pixels of the clip distort it along with the original so that it covers it up as he moves. It’s kind of like a CG tattoo, but it’s only for about a hundred frames or so, and he doesn’t rotate.

Does anyone know if I am on the right path, and if so, what next steps might be? I analyzed the source clip, painted the makeup error out, and am stuck at that point.

Thanks for any help you can provide!

Scipting via nuke terminal window (python)

Hi people!
I Have an issue where i want to command the (nuke terminal window). from another program (maya), since there is no command socket.

I know i can run a script, but i want to send commands as theres is a large amount of variables

any ideas?

Thanks

glow –> alpha

hi

if i use a glow node why is my alpha still unblurred wehn i set affect channels to rgba..?

only if i set affect channels to alpha it get blurred..

nuke 6.2

[Nuke6] Import chan from script

Hello folks,
I’m working on a python script that imports cameras from a stereo maya scene.
It worked all well since I was using Nuke5, but now that I’ve upgraded to Nuke6 I have the following problem:

These lines used to work:

Code:

camera_lx.knob("import_chan").setValue("import_chan_file " + chan_path)
camera_lx.knob("import_chan").execute()
camera_lx.knob("import_chan").setValue("import_chan")


But… the "import_chan" knob on the Camera node is not working anymore!
Now it’s an "Obsolete_knob" and I can’t execute it.

To import a chan manually, I have to click on "file_menu" icon and then "import chan file".. But I don’t have any idea of how this can be done by script!

Can you guys help me?

Thanks in advance,

Dora

Lighting in Nuke

Hey guys,

i get mad, i added a spot light node, connected it to my scene and want to watch the result from my scanline render, but there is no change. it looks like my scene without any light in it. in my 3d view i can see where my lights will fall, but not in my 2d output view?
is there global "switch lights on" button, i guess i forgot something simple…

thanks in advance!

Nuke on HPxw9400 workstation

Hello there,

we want to set up a nukestation on mentioned hp workstation.
Since I dont like windows too much I personnaly would prefere Linux centos (since foundry recommand it…)
My question is, if anyone has experience setting up such a nukestation and if all needed drivers and such are available for this os…
Can anybody give some opinions about the performance on linux compared to the other os since I heard nuke runs fastest on linux.
I would also need to install ps on this system but it only runs on whine? Is this a big deal or does it run stable and is usable?

Any pointers are appreciated…

jaden

Huge .nk script file

What makes a large nuke script file?
163mb running off a network server is bringing my machine to a crawl. How can I make it smaller?

Problem with changing default values from dropdown menus in 6.2v1

hey guys,

i have set some user values in my menu.py for ‘filetype’, ‘datatype’, ‘compression’ in the write node and ‘cliptype’ and ‘feathertype’ for the roto node.
since 6.2v1 it appears that values which are choosen from a dropdown menu, can’t be changed since ‘compression’ and ‘feathertype’ remain the default ones. can anybody confirm this behaviour?

Lin 2 log

I have been asked to convert my comp from linear to log dpx files. Can I just put a lin2log node at the end of the pipe? Does this node even exist? If so what do I set the colorspace to in the write node?

Thanks!