Blog

Uncategorized

HScript: Copy Loops


Scripts: Simple fit01(rand(detail(“../foreach_begin1_metadata1”, iteration, 0)),0,2) Automatic number of inputs (fixed) fit01(rand(detail(“../foreach_begin1_metadata1”, iteration, 0)),0,(opninputs(“.”)-1))

Read More

learning, useful

CG Cinematography


This awesome book by Chris Brejon is a great resource for Lighting and Cinematography techniques and fundamentals. https://chrisbrejon.com/cg-cinematography/

Read More

houdini, python, scripts

Python: Split Into Groups


No Comments

This little script for Houdini is one I’ve had knocking about and thought might be useful to throw out onto t’interweb. Select the node at which you want to split out the groups and it will create a bunch of blasts and OUT nodes to separate out per group. import hou selectedNodes = hou.selectedNodes() for

Read More

houdini, scripts, Uncategorized, vex

VEX: Bend Wrangle


No Comments

Taken from https://tosinakinwoye.com/2017/01/23/houdini-vex-snippets/ //Input is a line //Resample SOP on line for more points //Activate curveu attrib in resample SOP //Remap curveu to shape of bend @curveu=chramp(“ramp”,@curveu); float bamt = chf(“bend_amt”); //bend amount vector benddir = chv(“bend_dir”); //bend direction @P+= benddir * bamt * @curveu;

Read More

houdini, python, scripts

Houdini Python: Find/Replace Parameter Expression


No Comments

A little script to find/replace strings in selected nodes’, parameter expressions: import hou sel = hou.selectedNodes() dialog = hou.ui.readMultiInput(‘Find/Replace In Expression’, input_labels=[‘Find: ‘, ‘Replace: ‘,], buttons=("Find/Replace", "Cancel"), severity=hou.severityType.ImportantMessage, title=’Find/Replace’, close_choice=1) find = dialog[1][0] replace = dialog[1][1] if dialog[0] == 0: for n in sel: for parms in n.parms(): try: newString = str(parms.eval()).replace(find, replace) parms.set(newString) except:

Read More