Skip to main content

Recently Updated Pages

Links

Houdini FX VEX

Big resource: https://lex.ikoon.cz/vex-snippets/

Updated 1 month ago by Anthony

Spiral

Houdini FX VEX

#include "math.h" #include "voplib.h" float easeOutCirc ( float t ) { return sqrt ( 1 -...

Updated 1 month ago by Anthony

Expressions

Houdini FX

Switch by Normal: if(point("../resample3", 0, "N", 2)<0, 0, 1)  

Updated 2 months ago by Anthony

Fun Shelf Scripts

Houdini FX Python

Version up sops that have a "version" parm - I use this to version up a lot of exports in tops or...

Updated 2 months ago by Anthony

Web Convert

Linux & CLI Commands FFMPEG Commands

OGV: in_old = "path_to_vid.mp4" new = ${in_old%.*}.ogv ffmpeg -i $in_old -codec:v libtheora -q...

Updated 4 months ago by Anthony

Send to Tops

Houdini FX Python

import hou nodes = hou.selectedNodes() topnet = hou.node("/obj/topnet1") if not topnet: ...

Updated 4 months ago by Anthony

TOPs - symlink output file of parent

Houdini FX Python

  exportFile = str(work_item.expectedInputFiles[0]) dir = os.path.dirname(exportFile) newFile ...

Updated 6 months ago by Anthony

Send nodes to new alembic export

Houdini FX Python

import hou nodes = hou.selectedNodes() destnode = hou.node("/obj/EXPORT") if not destnode: ...

Updated 6 months ago by Anthony

Send selected nodes to new object (fancy way to create object merges)

Houdini FX Python

import hou nodes = hou.selectedNodes() destnode = hou.node(hou.ui.selectNode(title="select dest...

Updated 7 months ago by Anthony

Create Agent from built in mocap rig - Simple

Houdini FX Python

This will take a test mocap rig 3 built in to houdini, create an agent, add agent clips from the ...

Updated 8 months ago by Anthony

Get Frame Size of Image File

Houdini FX Python

node= hou.pwd(); bg=node.parm("image").eval(); res=hou.imageResolution(bg); node.parm("framesizex...

Updated 8 months ago by Anthony

Orientation

Houdini FX VEX

Get transform and orientation from camera: string camera = "/obj/alembicarchive1/Camera2/CameraS...

Updated 8 months ago by Anthony

OnCreated scripts

Houdini FX Python

OnCreated Script to set name, color, shape of node: cachename = hou.ui.readInput("Enter cache na...

Updated 9 months ago by Anthony

PythonModule Scripts

Houdini FX Python

Get houdini version: hver = hou.applicationVersionString().rpartition('.')[0]

Updated 9 months ago by Anthony

POPs

Houdini FX

Random Spin: // The following makes it random: axis = rand(@id) - set(0.5, 0.5, 0.5); spinspee...

Updated 9 months ago by Anthony

Move Files

Houdini FX Python

import os,hou, shutil selected = hou.selectedNodes() for x in selected: if x.parm("env_map...

Updated 9 months ago by Anthony

Update frame range from file

Houdini FX Python

def grabFrames(self): import os plate = self.parm("backplate").eval() if not plate...

Updated 9 months ago by Anthony

split by group

Houdini FX Python

import hou selected = hou.selectedNodes()[0] groups = [g.name() for g in selected.geometry().pr...

Updated 9 months ago by Anthony

Bake Camera from Alembic

Houdini FX Python

import hou obj = hou.node("/obj") ocam = hou.node(hou.ui.selectNode(node_type_filter=hou.no...

Updated 9 months ago by Anthony

Get frame range from alembic

Houdini FX Python

import _alembic_hom_extensions as ahe; import hou; anode = hou.pwd(); cam = anode.parm("camera")....

Updated 9 months ago by Anthony