Jul 29, 2011
Python in the new RV player!
Best news in this month so far!
Jul 11, 2011
Blocky - mosaic effect in nuke
If someone needed a mosaic filter in nuke, no need to turn to 3rd party plugins, or doing resizes, it's right there. Just have to load it, because it's hidden by default. It's called blocky. You can load it in your custom menu.py, by adding these lines, for example:
nuke.load('Blocky')
menubar = nuke.menu("Nuke")
m = menubar.addMenu("Custom")
m.addCommand("Blocky", "nuke.createNode(\"Blocky\")", "",)
nuke.load('Blocky')
menubar = nuke.menu("Nuke")
m = menubar.addMenu("Custom")
m.addCommand("Blocky", "nuke.createNode(\"Blocky\")", "",)
Labels:
nuke
Jun 9, 2011
Autobackdrop update
Hi, a quick help for compers frequently using the autobackdrop pythonscript. Getting bright, saturated colors every time? Now here is a little modified version, that uses pastel colors only! Enjoy!
Of course thanks for creators of original versions: Frank Rueter and Michael (at yawpitchroll, sorry don't now the last name)
Gabor
Of course thanks for creators of original versions: Frank Rueter and Michael (at yawpitchroll, sorry don't now the last name)
Gabor
May 15, 2011
simple converter gui
I finally had the time to finish the first version of a program, that converts image sequences from one format to another. This is the first program I did with pyqt and designer, and it's still very very beta. The best thing in this is that I think I started to get the grasp of the designer-qt-python code-exe pipeline. If you want to try, you need to have nuke installed, because this program calls nuke for conversion, in command line mode. You have to set a path to a directory that contains the sequences to convert. It processes the sequences, but not the subdirectories recursively, it will be in the next release :) And you have to set the path to nuke and to the "glt_batchconvertFromCmdline2.py" file in the gui. As usual I can't guarantee anything. You can download it from here
Apr 29, 2011
A vfx forum...
can be found here: vfxnation. Good one.
Apr 22, 2011
last weeks...
... of our current job production. It's quite a big one, (in size, and prestige) and of course I can't tell anything in detail until it comes out. What I can tell is that it will be one of the hardest deadline, and definitely the best quality in 3d we ever did. I wish I could show some pictures... but I can't :(
What's good news, I think I can share 2 new tools I developed during this production. Come back in 2 weeks!
What's good news, I think I can share 2 new tools I developed during this production. Come back in 2 weeks!
Apr 1, 2011
Quick tip - Nuke metadata (e.g.: jpeg exif ) in label
I had an experiment that involved taking a lot of photos with different aperture, focal etc. settings. I got tired of looking up camera settings in xnview, so I did a little trick. Jpeg exif information exists in nuke as metadata, and quite easy to get that. I just created a noop node, and pasted a little tcl/python expression in it's label, or directly in the read node's label.
For example to get the focal length:
Focal: [lindex [split [python {nuke.thisNode().metadata()['input/focal_length']}] / ] 0]
A little explanation:
[python {nuke.thisNode().metadata()['input/focal_length']}] - this gets the actual value for the input/focal length key. Metadata stored as key-value pairs, you want to pass the key ('input/focal_length'), and get the value (70/1, for example). The outer part of the expression, (split and lindex) just separates the 70/1 by splitting with "/" and taking the first part only, that is the needed value 70. I don't really know what is "/1", but it's not needed. If you want other parameters, best to view exact key string of the needed metadata with a "viewmetadata" node, and putting that into the expression on the noop/read or other node, and modify if needed. For example if you want to shutter speed value, no reason to cut the second part after "/", beacause it's stored like 1/50.
One last hint: if you have a noop with expression like this, and connect to other read node, it doesn't updates automatically! On other nodes I used to just press disable/enable, and label get's updated, but noops don't have disable. It's easier to put the whole thing directly to read node's label.
For example to get the focal length:
Focal: [lindex [split [python {nuke.thisNode().metadata()['input/focal_length']}] / ] 0]
A little explanation:
[python {nuke.thisNode().metadata()['input/focal_length']}] - this gets the actual value for the input/focal length key. Metadata stored as key-value pairs, you want to pass the key ('input/focal_length'), and get the value (70/1, for example). The outer part of the expression, (split and lindex) just separates the 70/1 by splitting with "/" and taking the first part only, that is the needed value 70. I don't really know what is "/1", but it's not needed. If you want other parameters, best to view exact key string of the needed metadata with a "viewmetadata" node, and putting that into the expression on the noop/read or other node, and modify if needed. For example if you want to shutter speed value, no reason to cut the second part after "/", beacause it's stored like 1/50.
One last hint: if you have a noop with expression like this, and connect to other read node, it doesn't updates automatically! On other nodes I used to just press disable/enable, and label get's updated, but noops don't have disable. It's easier to put the whole thing directly to read node's label.
Subscribe to:
Posts (Atom)
