geo node

hello guys,

i want to write a plugin and have a question about some basic stuffs.

which kind of Operator should i inherit from, when i want a node which reads from two images and generates a geometry. i thought that SourceGeo is the right (because i generate geometry and dont have an input from other geometries) but how can i get the two image-inputs.

its my first time trying implementing a plugin.

RenderBatch in Nuke and Win7

Hello everyone,

I`m coming to you all because I`m starting doing something I`ve never done before.
I need to create some batch render for nuke since I have lots of scripts to render and I`m planning to render them on my computer during night time.
So I created from the notepad a `renderbatch.exe` file in which I wrote :

C:\Program Files\Nuke6.0v3\Nuke6.0.exe -x %1
pause

Since I saw that on another topic there :
http://www.vfxtalk.com/forum/batch-r…ke-t16173.html

So I just changed the path for the nuke.exe file to get the right one.
But when I double click on it, I got this error message :
`The version of the file is not compatible with the version of windows you`re running. check your computer`s system information to see whether you need an x86 (32-nit) or x64 (64-bit) version of the program, and then contact the software publisher.`

I`m running on windows 7 64 bits.
I really have no idea about what should i do. I`m sure it`s something simple but well I can`t figure it out. I start wondering if its not a windows question than a nuke one though … I hope someone can help me out ! Thank for your attention.

nuke.executeMultiple()

Hi,

i have 2 write nodes in my script named Write1 and Write2. I am trying to execute those nodes using the following python line:

Code:

nuke.executeMultiple(('Write1', 'Write2'), ((1,5,1),(10,14,1)))


Nuke crashes to the desktop with a kernel protection failure.
OSX10.6.4 Nuke6.0v3
Am i doing something wrong with the code? Or can anybody confirm this?
And secondly, as its not working i dont know if this command will give me what i want in the first place.
I want the first write node to be executed using the first frame range and the second write node using the second frame range. Is this the correct python command for doing this or am i on the wrong track?

How to find out if a channel is empty with python ?

Hi,
i am working on some images sequences with python.
And i got a problem with some frames where the alpha channel is black.
I would like to create a function in python to test if the alpha channel is totally empty… Return true if yes and false is not.
It’s sound simple, but i didnt found any way to access to the channels datas from python.

Please drop me a line if you have an idea…

I know it’s possible to do it with some c++, by accessing the buffer. By i dont know either how to do it.:confused:

NC

Python Loop to get Value

Hey Folks,

i am foolin around with Python and came to a Problem i just cant solve. I Need to Write some Kind of Code that asks for a Value over a spezific Time. And it Needs to update this Value wirhin this Loop. I just can Crash nuke so i thought maybe some more talented Person can help me out ?!

For any Input ……i Would Be very thankful.

Jaden

Read a sequence using Python

I am asking Nuke to create a read node after asking the user to specify a path.

Quote:

sciezka = nuke.getFilename(‘some name’) r = nuke.createNode(‘Read’)
r[‘file’].setValue(sciezka)


thing is that if it is a sequence it does not detect it just imports a single file that I pointed. If I tick the sequence option and select that it creates the read node with an error. After the node is created I have to point it again to the sequence. It is easier this time as I do not have to look for the path again but still…

Is it possible to load sequences using Python or to add another line to the script to make Nuke reconnect the file as a sequence?

mvSky released

Hey there,

after beeing in production since what feels like ages it finally made its way into the wild.

It implements the Preetham analytic Daylight model to create spherical (lat/long) sky panoramas. Ready to be mapped to a sphere with animatable sun position.

You can find it over at nukepedia:

http://www.nukepedia.com/plugins/mvsky/

Kind Regards,
Thorsten

Need help to install .py and .tcl

Hi guys,

I m new in nuke world, and just downloaded some useful .py and .tcl scripts, how can I import or use it in nuke.

Thank you.:):):)

Accessing points array in bezier node with python

Hi!
I’m trying to access array of points in bezier node with python in nuke.
Lets concider we have a bezeir node that is selected.
Now I want to know
1) the list of points with theirs positions
2) array of current selected in viewport points of bezier curve

So far i’ve got:

Code:

a= nuke.selectedNodes()[0].knob('points')
#and I can see only string version of the points
print a.toScript()
#this will be slow so I need array of points without strong -> array conversion
#and additional array of currently selected points


Thank you 🙂

switchMatte

Recently i created a gizmo for my personal work it help me lot and save my times. Hope it will help you too….

Works like shake’s switchMatte and Fusion’s matteControl. With some extra features.

Attached Files
File Type: gizmo switchMatte.gizmo (2.6 KB)