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, RnDTools | Tagged , , , , | 2 Comments

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

Nukescripts python panel – Setting default value and new line

I was writing an update to my setProjDir script, which is available on nukepedia at the moment of writing this. It is a function 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 […]

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 Manjaro Linux. Mounting NTFS file system after a fresh installation. About mounting and fstab A complete […]

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

Small improvement to Pr_Suite for Nuke

One of the most tool I use constantly in Nuke is Pr_Suite_v1.1, created by Parimal VFX. What is included in the suite can be found on the linked website so I will not go into details. What this is about is some small improvement I made over the time I use it. OpenFolder.py located in […]

Posted in blog, Compositing, NukeTools, 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

Python panel to manage read nodes

This is me getting too lazy to deal with one read node at a time. Currently this tool only includes two scripts: selectRead: Click, and it’ll select all your read nodes! setLocalization: A simple pop up for you to set localization policy, for read nodes only or everything (like readGeo2) Note: ‘Convert file path to […]

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 Compositing, NukeTools, RnDTools | Tagged , , , | 1 Comment

Nuke TCL/Python Snippets

Helpful documentation Nuke Python Developer’s GuideNuke Python APIKnob TypesSome Flags TCL: Get input node name: Set a variable in expression with TCL: To use this variable later needs to type it as: TCL String Operation that returns the 5th character from top input node name: Use TCL string operation to converts to uppercase or lowercase: […]

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