get expression value at time

hey,

since nuke has problems baking some expressions using edit->generate i just wanted to write my own baking script.
but i seem to run into the same problems as nuke itself: if i query the values from the knob that holds the expression i mostly get 0.0 or another static value over all the frames.

no matter if i use node[knob].value() and set the current frame myself or if i use anim.evaluate(frame).

strangely sometimes it works. but i dont know when and how. very unpredictabel behaviour.

anyone knows how to FORCE nuke to calculate a value?

cheers

alex

I need some help

Hello every one:

Nice to meet you at here at first.

I’m a university student. I try to secondary development in nuke from the foundry for my graduation design.

It’s just a particle system to achieve raining an snowing.It not need to look very real.

Now,I have some problem:
1. Nuke is developmented by which language?
2. If I want to development a plugin, which language I should use?
3. Is my graduation design hard to achieve?

Have a nice day !

help problem using furnace in nukex6.2v2

Following error I get when I try to use Furnace plugin. How do I solve this problem. Path is looking for Nuke5.1 which I dont have anymore in my system How do I change the path to look into right path.

FLEXlm LICENSE DIAGNOSTICS
—————————
No such feature exists.
Feature: furnace_ofx_i
License path: /Library/Application Support/TheFoundry/FLEXlm//nukex6.2v2.lic:/Applications/Nuke5.1v5/Nuke5.1v5.app/Contents/MacOS/:/Applications/Nuke5.1v3/Nuke5.1v3.app/Contents/MacOS/:/usr/local/foundry/FLEXlm/:
FLEXnet Licensing error:-5,357
For further information, refer to the FLEXnet Licensing End User Guide,
available at "www.macrovision.com".

set the focus to a knob

hey,

is there any python command to set the focus to a specific knob in a pythonPanels UI?

cheers

alex

nuke.root.lim_dir.lim_txt???

hey there,

in my project settings i have added a new tab called lim_dir and then a text knob called lim_txt.

How can i access and change lim_txt in python? is there some nuke tree i can look at?

nuke.root.lim_dir.lim_txt maybe?

Thanks

pathonPanels – procedure on button press problems

hey,

i just did a script using a pythonPanels interface.
all worked fine until i did a small chande in one procedure.
i am not able to use "nuke.toNode("xxx")" in a procedure that is called from the python panel.

here a script that demonstrates the problem.

-> create a Blur node named "Blur1" before starting it.

Code:

import nuke
import nukescripts
class testPanel(nukescripts.PythonPanel):
    def __init__(self):
        nukescripts.PythonPanel.__init__( self, "testPanel")
        self.forwardButton = nuke.PyScript_Knob(">>")
        self.forwardButton.setCommand("test()")   
        self.addKnob(self.forwardButton)
 
def test():
    b =nuke.toNode("Blur1")
    print "b is currently: ", b
 
tp = testPanel()
tp.showModal()


after you press the button in the new panel, you see the return value "None". that means the command nuke.toNode("Blur1") thinks that the node "Blur1" is unknown..
it works, if you call it without the pythonPanels interface.

cheers

alex

(nuke 6.0v1)

edit:
if you add:
print "check exist: ", nuke.exists("Blur1")
in the test procedure, you will get the result "False"
but if you add:
print nuke.allNodes()
you will see the node exists..

strange to me.

p.s.: using "knobChanged" inside the class declaration does the same.

Normal and Displacement maps usage in Nuke 6.2

Hi guys and gals, i am working on AppLink script for Nuke, which is bridge between 3D-Coat and Nuke, it should allow to paint/sculpt/uvmap/retopo in 3D-Coat any geometry node you have in your nuke script, then bring it back in one mouse click. For reference you can check same tool I’ve created for Fusion 6 here: http://www.vfxtalk.com/forum/3d-coat…pt-t28896.html

Generally I think that Nuke is awesome platform to script for, very well documented and tutorialized ( 😀 ), everything is scriptable, gizmo creation system is very nice as well, nuke itself is very stable and the way it works looks logical to me so i can wrap my head around it quite fast.
But there is a few problems I’ve encountered, first and foremost is unlike Fusion 6 with it’s awesome new 3D shaders and materials system, Nuke does not support normal or bump maping of 3D geometries. There is a BumpMat node, but i can’t figure how it should be used myself, nor find any relevant information about it. I’ve saw NormalBump gizmo, but i can’t figure the way to use it with baked normal map + other maps (diffuse/spec).

My question to Nuke gurus:

1) Can you please advice any good way to use baked normal maps (that’s it, normal bump maps baked in UV space and not normals render pass)? Aren’t they useful in any way inside Nuke? Maybe i can use this maps in 2.5D relight ?

2) What about 3D Displacement node, does not it support any tessellation of geometry inside ReadGeo node? Only Card/Cube/Cylinder nodes may be tessellated inside nuke, while external geometries must be pre-tessellated prior to importing it to Nuke?

Thanks in advance for your answers!

need an expression for green spill supress

hi,
Is there any expression for green spill supress that i can write into the ‘expression node’?
thanks,
raj.:fingerscr

nfb_this tcl in Nuke

Hi,

I was checking some of the internal scripts found in Nuke.. I came across nfb_this.tcl in the plugins folder. Not sure what is this for ?? looks like nfb (network flipbook)

Can someone throw some light on this??

Cheers,

how to get dependent nodes name or lists?

That’s the question:
I was trying:

[python {nuke.toNode(‘Read1’).dependent()}]

without success..:(

The is get the name of the dependent node and for use it in a path (TCL)..

any suggestions??