RnD/Tools

Developing Crowd Simulation with Nuke

I was tasked with development of crowd simulation during our third year film production, As You Command. The scene that requires a CG crowd takes place in a huge hockey rink with action in the foreground. Director James Cunningham gathered every students and lecturers in the class and shot almost 100 green screen plate for […]

Posted in blog, RnD | Tagged , , , | Leave a comment

3D Topographical Map in After Effects! (soon)

It’s been a while since I touch after effects, being crazy in Nuke and all. But I just decided to pick up an old project and perhaps make a template/breakdown out of it. Looking into how complicated this project was, I must say, I miss the good old days in After Effects! Basically it is […]

Posted in Motion Design, RnD | Tagged , , , , | Leave a comment

More nukescripts python panel tricks

I was writing an update to my setProjDir script, which is available on nukepedia at the moment of writing this. It is afunction requested from a user, for the script to affect selected nodes only. I’ve decided to go a step further and include options like exclude selected nodes or readgeo nodes. To do that, […]

Posted in RnD | Tagged , , | Leave a comment

Nuke CSP error in Linux

Ever since I started using Linux for nuke and houdini projects, I noticed a significant different start up speed in all the programs I used! Of course it might be because my Windows simply has too much things, but that’s a topic for another day. I decided to do one of my projects I have […]

Posted in blog, linux, RnD | Tagged , , , | Leave a comment

Installing DroidCam on CentOS 7

Basically what DroidCam does is it allows me to turn my android phone into a webcam and use it on Skype, Google+, or even as a surveillance device if I wish. And I chose this program over other webcam apps for android simply because its desktop client work on both Windows and Linux. What I […]

Posted in blog, linux, RnD | Tagged , , , | Leave a comment

Nuke 11 Frame Server setup

Recently I was working on a short film called “June”, directed by actor/director Dwayne Cameron. Unfortunately, the render farm software in the facility is under maintenance. Fortunately, it opened up an opportunity for me to look into Frame Server in Nuke 11 to learn how to utilize the whole room of computers around me! Basically, […]

Posted in blog, RnD | Tagged , , | Leave a comment

Nuke EnumerationPulldown

I was trying to create a simple panel with a dropdown menu, and had some trouble with nuke panel.addEnumerationPulldown. Here’s the code I was typing: opts = (‘on’, ‘from auto-localize path’, ‘off’) p = nuke.Panel(‘Change read localization’) p.addEnumerationPulldown(‘Set localization policy’, opts) I expected the panel to give me a dropdown list of on, from auto-localize […]

Posted in RnD | Tagged , | 1 Comment

Linux Snippets

I’ve interested in Linux for a while now but it’s only until recently I actually installed Linux to dual boot with my Windows 10. At first I installed Ubuntu because of it’s popularity, but on the same day I found out the production programs I work with (Nuke, Maya) doesn’t work that well with Ubuntu. […]

Posted in blog, linux, RnD | Tagged , , , | Leave a comment

Write node auto versioning

n = nuke.thisNode() oValue = n[‘file’].evaluate() if os.path.isfile(oValue): (prefix, v) = nukescripts.version_get(oValue, ‘v’) v = int(v) n[‘file’].setValue(nukescripts.version_set(n[‘file’].value(), prefix, v, v + 1)) A few lines of python code I wrote to put in the beforeRender knob in Write node Python tab for auto versioning. That is if the file name matches the format of “_v##” […]

Posted in RnD, RnDTools | Tagged , , | Leave a comment

TCL/Python Snippets

Get input node name: [python nuke.thisNode().input(0).name()] [python nuke.thisNode().input(1).name()] [value this.input0.name] [value this.input1.name] Set a variable in expression with TCL: [set VARIABLENAME VALUE; return] To use this variable later needs to type it as: $VARIABLENAME Get the last letter/section from node name, separated by “_”: nuke.thisNode().name().rsplit(“_”).__getitem__(2) TCL String Operation that returns the 5th character from top […]

Posted in NukeTools, RnD | Tagged , , , | Leave a comment

FFmpeg output from nuke

Recently I discovered that nuke in Linux doesn’t have H.264 in its codec list, unlike in Windows. Asking around nuke user forum reveals that it is because of quicktime only default on Windows and Mac, and there’s codec licensing issue. But to sum it up, Nuke in Linux cannot output H.264 directly, so I’m looking […]

Posted in blog, linux, NukeTools, RnDTools | Tagged , , , , , , | Leave a comment

Writing tools for read nodes!

This is me getting too lazy to deal with one read node at a time. Often I found myself keep repeating the process of selecting all the read nodes that I actually remember the python script that does it, and keep typing it up in the script editor. Finally I saved it down and became […]

Posted in NukeTools, RnDTools | Tagged , , , , , | 1 Comment

Project Directory in Nuke

It is only after joining trollbridge I realize how using project directory can make things easy in nuke, especially in a big script with lots of files. It makes transporting the folder significantly easier as you only need to change one path as you move the folder. If using relative file path in project directory […]

Posted in NukeTools, RnDTools | Tagged , , , | 1 Comment

Nuke Execute with Command Prompt

This is a little side project I worked on during my second year in Media Design School. My lecturer, Ryan Mullany mentioned that Nuke can potentially render faster without its graphic interface running, thus the idea of sending the execution command to another terminal. So I worked with him to write a python script that […]

Posted in NukeTools | Tagged , , , | Leave a comment

Cropping Contact Sheet

I had the pleasure of in charge of a crowd simulation development for my university third year production “As You Command”. It was a crowd for a huge hockey arena, and we got almost 30 people from the whole class to shoot green screen plate of us cheering. This left me with about 97 green […]

Posted in NukeTools, RnDTools | Tagged , , , | 1 Comment

TCL/Python Snippets

Get input node name: [python nuke.thisNode().input(0).name()] [python nuke.thisNode().input(1).name()] [value this.input0.name] [value this.input1.name] Set a variable in expression with TCL: [set VARIABLENAME VALUE; return] To use this variable later needs to type it as: $VARIABLENAME Get the last letter/section from node name, separated by “_”: nuke.thisNode().name().rsplit(“_”).__getitem__(2) TCL String Operation that returns the 5th character from top […]

Posted in NukeTools, RnD | Tagged , , , | Leave a comment