Blog

houdini, scripts, useful, vex

VEX: Point Pitch, Yaw, Roll


No Comments

matrix3 m = maketransform(@N,@up);@orient = quaternion(m); vector4 pitch = quaternion({1,0,0}ch(‘pitch’)); vector4 yaw = quaternion({0,1,0}ch(‘yaw’));vector4 roll = quaternion({0,0,1}*ch(‘roll’)); @orient = qmultiply(@orient, pitch);@orient = qmultiply(@orient, yaw);@orient = qmultiply(@orient, roll);

Read More

houdini, python, scripts

Python: Phyllotaxis


No Comments

node = hou.pwd() geo = node.geometry() # Add code to modify contents of geo. # Use drop down menu to select examples. from math import radians, sqrt, sin, cos numpoints = 200 angle = 137.508 cval = 0.2 for i in range(numpoints): theta = radians (i * angle) x = cval * sqrt(i) * cos(theta)

Read More

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.

Read More