RnD/Tools

Launch terminal via Python in different linux distros

I’ve recently switched to KDE Neon for different experience, and realize that my python scripts for executing commands via launching terminal stopped working. And it hits me that specifying “gnome-terminal” would limit the scripts to only work on distros that comes with “gnome-terminal”, and KDE Neon doesn’t have it. As I looked into if there’s […]

Posted in blog, linux, RnD | Tagged , , , , | 1 Comment

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, Compositing, 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

Encounter this problem when I decided to work on a project Troll Bridge, which I started in Windows. This nuke script requires a LUT, CSP file and it is erroring in Linux only. Same Nuke version 11.1v2, same .nuke folder loaded, just the difference in OS. The real head-scratcher is this error message here: Couldn’t […]

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

This is a collection of linux tips/commands I found useful during my linux journey. I try out different linux distro every now and then so this post contains a mix of different distro as well. Currently I am running KDE Neon. Mounting NTFS file system after a fresh installation. yum –enablerepo=extras install epel-release yum install […]

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

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) From the above, can be modified to acquire file extension […]

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