Matte refining (RGB bleeding technique)

Hi there community

i’ve got a question about one of the approaches on how to fix a comp when you have black or white fringing on the talent’s edges while having the opposite values in the BG to be comped.

I’ve seen seasoned compers extending the useful rgb color pixels until they cover the unwanted areas while keeping the matte untouched.

Can anyone lead me towards the node workflow of that in Nuke?
I’m intested in understanding the process.

thank you!

Motion Blur in 2D images

Hello, i can´t use the the motion 2d in a image…For example: i have to tracking a board in a car and i did the track and the color correction, but i need a blur and i dont want use the simple blur i would like to use a motion blur like DISCREET FLAME, happens that the i can´t do this work; i use the RGBA channel and the board stay blue…i need use a blur tha use the movement of me image…

Can someone help me?

Thank you

python or tcl forum

is there a nuke forum somewhere with python or tcl experts?
where do you guys get you answers?

EXR from After Effects to Nuke

I’m bringing footage into AE and exporting to OpenEXR for the purpose of bringing them into Nuke.
The exr’s are significantly brighter inside Nuke.
I think these may have to do with the gamma curve conversions going on between the two apps, but I can’t think of how to fix the problem.
Any ideas?

integer knoob to abs or floating slider without slider

hi all

what i need is an floating knob.
so how han i either switch an integer knob to abs (floating)
or remove the floating point slider from the gui?

any idea?

tanx allot

Menu from List, question about how lists work

Hey guys, I created this pretty cool py file that builds some menus in Nuke for my company. One of the menus, called ICE, is a directory listing of all of the shows we work on, with sub menus for episodes, then within each episode it shows every Nuke file, and lets you open them.

It works great, however, currently, it shows EVERY show in the main directory that we work on, which is a lot. We only use Nuke on a small portion of the shows we work on, so I was hoping to limit the scope of the menu build to show only those shows/episodes that have Nuke files in them in the menu.

Not sure how to do it, my logic is a little backwards.

Also, I did play with os.walk to sniff out the entire contents of our server, but it was hammering it pretty hard and taking about 10 minutes to process, so I am limiting things by using listdir instead.

Here’s my code:

Code:

import os, nuke

def isNuke(file):
    check = file.split(".")[-1]
    if check == "nk":
        return True
    else:
        return False

def mylistdir(directory):
    filelist = sorted(os.listdir(directory))
    return [x for x in filelist if not (x.startswith('.'))]

def fileType(file):
    return file.split(".")[-1]

#DIRECTORY LISTING
def directory():
 
  root = '/data/ice/PROJECTS/'
  if os.path.isdir(root) == False:
        root = '/Volumes/share/data/diablo2/PROJECTS/'
  mainMenu = nuke.menu('Nuke')       
  encore= mainMenu.addMenu('ICE')
  encore.addCommand("Refresh","directory("+'"'+root+'"'+")","#^r")
  encore.addSeparator()
  topDirs = mylistdir(root)
  for dirs in topDirs:
        topDirsPathed = os.path.join(root,dirs)
        #print dirs
        topMenu = encore.addMenu(dirs)
        subDirs = mylistdir(topDirsPathed)

        for dirs in subDirs:
            subDirsPathed = os.path.join(topDirsPathed,dirs)
            #print "    "+dirs
            subMenu = topMenu.addMenu(dirs)
            nukeContent = subDirsPathed + "/03_projectfiles/nuk"
            nukeSubFolders = []
           
            if os.path.isdir(nukeContent) == True:
                nukeDirs = nukeContent
                nukeSubFolders = mylistdir(nukeDirs)
               
            for dirs in nukeSubFolders:             
                nukeSubFoldersPathed = os.path.join(nukeDirs,dirs)
                if os.path.isdir(nukeSubFoldersPathed):
                    nukeFiles = mylistdir(nukeSubFoldersPathed)
                   
                for files in nukeFiles:
                    if isNuke(files):
                        #print "            "+files
                        filesPathed = os.path.join(nukeSubFoldersPathed,files)
                        fileList = subMenu.addCommand(str(files), 'nuke.scriptOpen('+'"'+filesPathed+'"'+')')


very very basic question

hi all

i’m an after effects user for many years and i’m trying to learn node base editing like nuke .
my question is how can i manage to view 2 clips in the same timeline with one viewer ?
i try switch but the 2 clips are playing at the same time , my goal is when one clip ends the second clip starts .

thanks

How to import FBX or OBJ into Nuke

I am learning how to import FBX or OBJ files created in 3ds max (FBX ver 2009, binary). When I export FBX embedded with its textures, Nuke does not read the textures. There is an img pipe from the ReadGeo node but that only allows me to get one image as texture.

However, if I’m importing something like a house or an architectural model with various textures, how do I go about doing this? I recall watching a Youtube video of Nuke on the Transformers movie. Surely they didn’t reapply the textures one by one back again on to the robot?

I couldn’t find any info in the manual on how to work with textures either. Any help will be greatly appreciated. Thanks.

Stereo Compositing accountable for vfx?

Hi,
i’ve started off as a stereo compositor for films couple of months back. Now, in the long run, i’d really like to work on vfx compositing for films.

My question is, will the time i spend as a stereo compositor, be taken into consideration for all future compositing job prospects(for vfx)?

how easy is it to switch to vfx comping after some years of stereo comping?

P.S. wasn’t really sure about the forum. This one made the most sense.

ROI to Crop

Hey!
I am trying to get the ROI square values and convert them to Crop values.
The funny thing is that ROI values ar from -1 to 1, so you have to multiply them with the width and height of the frame and taking into account the pixel aspect …
It sounds reaaaaally easy, but got allwas wrong results ….
I attach here the code I have so far, any help would be welcomed!!!

Code:

n= nuke.ViewerWindow.node(nuke.activeViewer()).input(nuke.ViewerWindow.activeInput(nuke.activeViewer()))
viewedNode = [n, n['xpos'].value(), n['ypos'].value(), n.width(), n.height(), int(nuke.value(n.name()+".actual_format.pixel_aspect"))]

#get roi
viewer = nuke.ViewerWindow.node(nuke.activeViewer())
roi = viewer['roi'].value()

crop = [((roi[0]+1)/2)*viewedNode[3],    \
(((roi[1]+1)/2*viewedNode[5])*viewedNode[4])-(viewedNode[4]/2*(viewedNode[5]-1))  ,    \
((roi[2]+1)/2)*viewedNode[3],    \
(((roi[3]+1)/2*viewedNode[5])*viewedNode[4])-(viewedNode[4]/2*(viewedNode[5]-1))  ]
#Create nodes and render
##Crop node
cropNode = nuke.createNode('Crop', 'name cropROI', inpanel = False)
cropNode['box'].setValue([crop[0], crop[1], crop[2], crop[3]])