Showing posts with label Nuke. Show all posts
Showing posts with label Nuke. Show all posts

Nuke MasterClass

Its here...wait is finally over Stereoscopy.
http://www.youtube.com/watch?v=ACqB7...feature=digest
http://www.youtube.com/user/TheFoundryChannel#p/p

Nuke old Bezier tool

So if u want to get old bezier in nuke instead to the the new rotopaint:
heres hw u do it. Press x and in the dialog box enter Bezier enter..
annd u ll get the old bezier... make sure you first letter is a capital one.

Heres another of my small scripts.in continuation of the earlier one i poseted,though havent synced them exactly..but just to get the idea...
This one takes your inputs of your project structure(you must know it,and it must exist) and add a shortcut to it in the file open panel so that you can directly go into it.
(wht still i haven't figured out, how will do this over network cos rite now i want my drive to be mapped on my system to access it,still figuring it out,in this cript i hve presumed my project to be in my local d drive)

def ProjectFile():

myPanel = nuke.Panel("My Project")
myPanel.addSingleLineInput("PROJECT: ","My Project")

myPanel.addSingleLineInput("SEQUENCE: ","01")
myPanel.addSingleLineInput("SHOT: ", "")


if myPanel.show():


curShow=myPanel.value("PROJECT: ")
curSeq=myPanel.value("SEQUENCE: ")
curShot=myPanel.value("SHOT: ")
myLabel=curShow + "-" + curSeq + "-" + curShot
myPath="d:/" + curShow + "/" + curSeq + "/" + curShot + "/"
dir=os.path.dirname(myPath)
if os.path.isdir(dir):
nuke.addFavoriteDir(myLabel,myPath,nuke.SCRIPT | nuke.IMAGE)
nuke.scriptOpen()
else: raise Exception('The File Path Doest Exsits')

First Nuke Comp


Hey,everyone just finished my first comp in nuke...did for an add film
Nothing to fa fancy...green screen comp and cg compositing....but a great learning expr.

Boujou Import In Nuke

Export Your boujou setup as a txt file..
cm into nuke pres x n in the pop up make sure tcl is selected and put import_boujou
enter........

Nuke Scripts

Well his a script i made and am using in production.
This basically helps you define your new project according to your needs ie set up the folder structure ..
so u dont have to manually create them this dialog box takes care of that...

def ProjectSet():

myPanel = nuke.Panel("SET PROJECT DIRECTORY")
myPanel.addSingleLineInput("SYSTEM ","Z")
myPanel.addSingleLineInput("PROJECT: ","")

myPanel.addSingleLineInput("SEQUENCE: ","")
myPanel.addSingleLineInput("SHOT: ", "")
myPanel.addNotepad("Note","z is the default directory.")




if myPanel.show()==1:


curShow=myPanel.value("PROJECT: ")
curSeq=myPanel.value("SEQUENCE: ")
curShot=myPanel.value("SHOT: ")
curSys=myPanel.value("SYSTEM: ")
myLabel=curShow + "-" + curSeq + "-" + curShot
myPath="z:/" + curShow + "/" + curSeq + "/" + curShot + "/"
dir=os.path.dirname(myPath)
askDir=nuke.ask('create Directory/n%s')
if askDir==1:
os.makedirs(dir)
else:
raise Exception('directory not created')

nuke.addFavoriteDir(myLabel,dir,nuke.SCRIPT | nuke.IMAGE)
nuke.scriptSave()
else:
raise Exception('PROJECT DIRECTORY NOT SET')


nuke.menu("Nuke").addCommand("Set Project","ProjectSet()")


You very well edit and modify it as per your production needs..

Nuke Scripts n Gizmos

Hey ,
have been trying my hand at scripting,Python to b exact.Liking it every bit,and have even managed to come up with little scripts n gizmos of my known.Will be posting them shortly....