← BACK TO NOTES
2026-10-14 |
HDK HOUDINI

Six Things the HDK Did Well

Since January 2026, I have written 230 nodes with the HDK.
Looking back over the 16 articles so far, here are six things I can say went well. The next two articles are about the limits, so first I want to put the good side on record with numbers.

1. It is fast

When I built the same job as an HDA and as an HDK node, the HDK node ran 2.2 to 17 times faster (article 1).
Spread across threads, a calculation over a million points went from about 3.8 s to about 0.5 to 0.7 s (article 5). Speed was my main reason for choosing the HDK, and it still is.

2. I decide everything inside the cook

I choose which work is parallel, what to remember and which path to keep light.
For the riverbank node, recomputing after a curve change took 519.89 ms and a cache hit took 1.86 ms (article 7). The stone tower runs in about 27 to 31 ms while dragging because heavy finishing is out of the drag path (article 13).

3. The GPU is directly available from a node

Nodes written in OpenCL got about 5 to 10 times faster than the CPU or more when I changed settings (article 8).
The very first cook can actually be slower, but for the "touch it many times while tuning" workflow the difference is large.

4. It holds together as the count grows

The 230 nodes share the same four layers, the same base class and the same builder (articles 3 and 4).
The 107 terrain nodes work on the same heightfield, the same application area and the same parameter home (article 11). Even as the count grows, the next node is written the same way as the first.

5. You can operate nodes in the viewport

Viewer states let you build nodes you move by clicking and dragging (article 16).
The repo has 92 state files. Deciding positions and areas this way is much faster than typing numbers.

6. Verification and records sit next to the code

Tests look at the shape of the output itself, and I can write down the conditions I measured and what I did not (article 13).
The tree's speed-up missed its 50 times goal and reached 2 to 4, and that is on record too (article 12). With the numbers kept, I know where to start the next time I fix it.

Summary

What the HDK buys is speed and fine control.
It is not free. In the next two articles I will write about the price, the limits.

Next: the first limit, waiting for compiles.

Related articles

2026-10-10

Nodes You Can Touch in the Viewport: Python States

How to give an HDK node controls you operate directly in the viewport. The split between C++ and Python, connecting them by name, what you can actually do, a shared handle kit, and what I learned and banned.

2026-10-23

HDK Limit 2: Hard to Fix, and Houdini's Rules

The other price of the HDK is how hard it is to fix things, and having to follow Houdini's rules. Static parameters, traps that break silently, operations that crash, and thread rules, with real examples.

2026-10-05

Rigs and Motion as C++ Nodes

How my animation nodes (prefix ANIM, 13 of them) are built. An external process that makes motion from text, a solver that fixes motion with guides, retargeting, building rigs from meshes, and the KineFX rules that tripped me up.

Comments