Skip to main content

Recently Updated Pages

Example On Node Buttons

Houdini FX Python

  This is how a button on a non-adminned node needs to be laid out: import hou ; do something ;...

Updated 9 months ago by Anthony

Set Frame Range without Script

Houdini FX Python

  import hou; anode = hou.pwd(); start = anode.parm("framemin").eval(); end = anode.parm("framem...

Updated 9 months ago by Anthony

ROP

Houdini FX Python

PostRender open MPLAY: import os; img_path = "`chs("picture")`".replace("$F", "\*"); os.system("...

Updated 9 months ago by Anthony

Pull version from hipname

Houdini FX Python

Can be used in a parameter. Returns a integer. import hou, re version = re.findall('_v\d+', hou...

Updated 9 months ago by Anthony

Install Ubuntu in distrobox

Linux & CLI Commands DistroBox

Install Docker first: # Add Docker's official GPG key: sudo apt-get update sudo apt-get instal...

Updated 11 months ago by Anthony

Raw to JPG

Linux & CLI Commands Images and PDFs

ufraw-batch --out-type jpeg *

Updated 11 months ago by Anthony

Convert PNG to Icon

Linux & CLI Commands Images and PDFs

first convert to 256 convert input.png -resize 256x256 output.png last convert to icns png2icn...

Updated 11 months ago by Anthony

PDF to one image

Linux & CLI Commands Images and PDFs

convert in.pdf +append out%d.png sudo apt install imagemagick If convert is broken, update po...

Updated 11 months ago by Anthony

Retime track in nuke

Nuke Commands, Python, TCL

Retiming a curve There are many retiming options in Nuke but how do you retime tracking data or ...

Updated 11 months ago by Anthony

Hardware encoding

Linux & CLI Commands FFMPEG Commands

Intel example command: ffmpeg -hwaccel vaapi -hwaccel_output_format vaapi -vaapi_device /dev/dri...

Updated 1 year ago by Anthony

Transforms and Junk

Houdini FX VEX

1. transforms to attribute matrix: p@orient = quaternion(3@transform); v@scale = cracktransform...

Updated 1 year ago by Anthony

Points

Houdini FX VEX

divide points into 3 equal parts: i@part = floor(fit(rand(@ptnum+.258), 0, 1, 0, 2.9));   poin...

Updated 1 year ago by Anthony

Convert entire folder

Linux & CLI Commands FFMPEG Commands

for i in *.mov; do name=`echo "$i" | cut -d'.' -f1` echo "$name" ffmpeg -i "$i" "${name}...

Updated 1 year ago by Anthony

If then statements

Houdini FX VEX

If the pscale is greater than .4 then set it to .2, if not set it to its current pscale @pscale ...

Updated 1 year ago by Anthony

Top Node AutoWrite

Nuke Commands, Python, TCL

if you need your output file named exactly like your input file then use a little TCL expression ...

Updated 1 year ago by Anthony

Camera Stuff

Houdini FX VEX

auto focus, get distance from object and camera: vlength(vtorigin(“/obj/geo1”, “/obj/cam1”))

Updated 1 year ago by Anthony

Cropping

Linux & CLI Commands FFMPEG Commands

Center Crop for Instagram: ffmpeg -i ParticleSensor.mp4 -vf "scale=(iw*sar)*max(1080/(iw*sar)\,1...

Updated 1 year ago by Anthony

Random Python

Nuke Commands, Python, TCL

Get the file path from selected nodes: sel=nuke.selectedNodes() for x in sel: print(x.knob("f...

Updated 1 year ago by Anthony

Python - import all image sequences under folder

Nuke Commands, Python, TCL

"""Finds and creates nodes for file sequences in an entire directory tree""" # This has the user...

Updated 1 year ago by Anthony

TCL Commands

Nuke Commands, Python, TCL

GETTING A KNOB’S VALUE OF A SPECIFIC NODE: #First frame of current read/write: [value Read1.f...

Updated 3 years ago by Anthony