Problem with mattePass! pls hlp!

Hi everybody!

I ran into a problem in nuke with my matte pass!

I divided my scene in different passes and also different layers.

i.e. i have a forground layer with all the characters and assets on it, then i have a ground layer, a background layer and a sky layer.

I’ve done this so that i can correct and tweak every layer on its own.

Since for example the plant is partly in the ground, i made myself a matte pass.
i’ve done that by applying a white surfaceshader to my forground and a black surfaceshader on the ground, background and sky layer.

With this matte pass i can cut my forground so that it will match up with my scene.

But unfortunately the matte pass now is one pixel too small and the skylayer is cominig through wich leads to a blue line where the plant should touch the ground.

Why is this happening and how can i fix this.

Anybody got an idea?

Greetings

Braggart

Ps.: I attached a jpeg which should clarify my problem here. unfortunately u cant quite see what i mean in the jpeg. Therefore i also attached a tga file. The blue line between the ground and the plant is clearly visible in the tga file.

i also uploaded my nuke script and a multichannel open exr file with all the layers i used for the comp.

Attached Thumbnails

Click image for larger version

Name:	comp4.jpeg
Views:	N/A
Size:	126.2 KB
ID:	10318
 

Attached Files
File Type: tga masked.tga (2.00 MB)
File Type: nk comp.nk (16.9 KB)
File Type: zip cam02_f160_275_165.zip (8.42 MB)

copy to group button

Hi

How to remove "copy to group" button in our own gizmo’s.

Advance Thanks

OFX Plugin Path not recognized?

Hey All,

So I’m trying to install Nuke 6.1v1 on Ubuntu Linux 10.04 and all is well for that part. When I try to install the plug-ins from the plug-in installer they seem to mount and say they are installed, however they don’t show up in the Nuke menu. How would I find out if anything was installed in the environment variable for OFX plug-ins? Anyone have experience with this situation? Could be that I’m using Ubuntu but I don’t think thats the issue, would be nice if The Foundry considered .deb packages as well as others. The only reason I say that is because I notice Mari was previewed via Kubuntu which is very similar to Ubuntu, so I would imagine the ties being similar…Thanks for any thoughts or suggestions and apologies if this has been brought up before couldn’t find anything related.

python script as part of the menu

Another thing.
How can I add a .py file as a menu button?

Python: Settng 3-value Color Knob

Hi there!

i have stored the data from a color knob in a file:

[1, 2, 3]

Now i want to write these values back into the color knob.

I tried:

x.knob(‘color’).setValue(1, 2, 3)

This runs without an error and the gizmo is switching to the "3-value-input-mode", but the numbers stay the same in all fields.
Does anyone know how to get those values back into the ColorKnob?

Thanks for your help!

cheers,
sean

Read node format

Hi all,

I have a problem. When I create a read node using python it expects to receive information about the format and when is given none just assumes the project format. Is it possible to ask it to get the format from the file that is being read or to present the user with a format dropdown list to choose the correct format.

Pls help me read .chan file

Hi, i’ve been trying using .chan file. First thing i export .chan from a camera in Nuke. This file is ascii , so i open in text editor to see what is inside. First try i found it store the transform frame number at first column, and then tx,ty,tz,rx,ry,rz (second column, third column….etc) subsequently. But the last column i can’t figure it out. If using default camera, no modifying anything, i’ll got always this number : 21.1529525458. I tried to check the camera parameter, but none of them using this kind of number. If anyone can help me out here, thanx 😀

And second question, i’ve been trying to cross the data between these 2 apps : nuke and houdini. I found the .chan format works differently between them. Anyone has any experience in this area? in houdini ,there’s no such frame number info stored in the .chan file. Also the order it stores the data is different, not tx ty tz, but it’s per point (vertex) that is stored, so let say : tx0 tx1 tx2 ty0 ty1 ty2 … etc. And it doesn’t store rotation info like nuke does. So i marked this : problem with different column interpretation. In these two apps there’s no way i can control the order of the column so both of them can’t really speak same language even using the same .chan file format ??? i’ve spent hours on this with no luck. As final goal i want to send the camera movement between them and if possible ….. more complex task like i want to export 3d surface information from Houdini to Nuke using .chan (yes, i can use other format, but i’m just courious with this .chan thing).

Is there any way around?

thanx

Animating alpha channel and tracking problem

Hi everyone!
I have 2 problems that I can’t seem to fix by myself. I must have forgot to do something…

First of all, I did some graphics in photoshop (some sort of flowers) and saved it as a PNG with alpha.
I need to put this on a wall and to reveal the flowers slowly from left to right.
I tried to do it with the paint node by animating a stroke (bigger than the flowers) that affects the alpha channel of the PNG but it doesn’t work since it affects the original alpha, revealing a black background behind the flowers because the stroke is bigger than the graphic itself.
Is there a way to do what I want? I’m sure there is, but I can’t seem to find it!

I also have a problem with the tracker node.
The footage is a side view of a women walking down the street and the camera is following her. I want to track some points on the wall behind her to put my graphics on. Everytime I start the tracking, the point gets lost after a couple frames.
I tried to track a point on the women and it works perfectly, but it doesn’t work on the wall.
I did put my tracking points on bricks corner and stuff like that, but they keep sliding.
I also tried to colorcorrect the footage a little to give it more contrast, thinking it would help tracking but it still doesn’t work.
The footage comes from a Sony HDR-XR550V camera and I desinterlaced the footage.

I hope I made it clear enough. Sorry if it’s not, my english isn’t perfect.

Thanks you so much for your help!

return a list to be referred in the session through python script?

Hi,

I couldn’t figure this out and am going to use the example below to better describe my question.
When I execute the code below in the script editor, I will get listA = [1, 2, 3] printed and the listA can be referred throughout the current session.

Code:

listA = [1,2,3]
print 'listA = ', listA


To integrate the code as a python script, I wrap the code as a function as below:

Code:

def testFunc():
    listA = [1,2,3]
    print 'listA = ', listA
    return listA


and modify the menu.py so I can execute the python script upon button-pushing.

As I execute the python script, I did get the listA = [1,2,3] printed in the script editor, but if I try to refer to the listA again by executing, say, print listA, I will get:

Code:

# Result: Traceback (most recent call last):  File "<string>", line 1, in <module>
 NameError: name 'listA' is not defined


What I want to achieve is generating a list storing wanted information through the python script so I can refer to over and over again in the same session. Any comment?

Thanks,
Jason

Using spline animation to manipulate other nodes translate data…

Ok so just a quick question everyone. I am trying to link an images translation to a rotopaints animated spline data. So the question is, is it possible Inside of nuke to link an obj’s translate values to a spline if there is no transform info on the rotopaint node? I am simply trying to have a ramp move with the spline without the headache of tracking or using elaborate expressions, although if it is only possible to do this within expressions then I will use the expression.

I know in fusion it is as simple as right clicking and attaching the data