Skip to content
3D & VFX Artist Eline Kouijzer
E-Line Vision 3D & VFX Artist Eline Kouijzer

The rock snake

Personal project · Houdini, Octane and VEX

3D render of a rock snake with a glowing blue eye and dramatic rim lighting against a dark background, made in Houdini and rendered in Octane. Rock snake render.

Project · personal project, for the game Sojourn
My role · the creature, built procedurally in Houdini and VEX, plus lighting and grading
Software · Houdini, VEX, Cinema 4D and Octane
Output · film and images

The rock snake is a creature made of thousands of loose stones, built with Houdini, VEX, Cinema 4D and Octane. It will appear in the game Sojourn, where it is one of the bosses, the big enemies you have to fight. The snake is my creature, and in the game I also did the lighting, the look and the grading (colour correction). It’s a personal portfolio project in which I dived deep into the technical side of Houdini, to explore how you can build a complex, organic creature procedurally.

Render from the game Sojourn: the Houdini rock snake as one of the bosses in a stone arena at sunset, with a glowing blue eye, bats in the sky and an iron fence in the foreground. Rock snake render.
In the arena at sunset: here it is one of the bosses
Render from the game Sojourn: the rock snake, built procedurally in Houdini, coiled up between red rocks and lava, with a glowing blue eye under a starry sky. Rock snake render.
It has grown bigger since: coiled up between the red rocks and the lava
Render from the game Sojourn: the rock snake, built procedurally in Houdini, in a desert landscape, with a small figure in the foreground that shows how big the snake is. Rock snake render.
In Sojourn: the small figure in front shows how big it is

Thousands of stones, one snake

I wanted to show how you can use Houdini and VEX to build a robust snake out of countless loose stones and rock fragments. The standout feature is its glowing blue eyes. It’s all about procedural generation and detail, for games and VFX.

How it started

The snake started out as a head with a hood, like a cobra’s. It didn’t have a tail yet. Below you can see the first model, next to a human for scale. The first renders didn’t have any loose rocks on them either: the skin was a grainy layer, but the blue eye was already glowing.

From Cinema 4D to Houdini

I started in Cinema 4D. There I first tested the stones on a doughnut. The idea: the stones have to hold the shape of the doughnut, and later follow the shape of the snake as well. After that, I had particles move over the snake, using Flock and Surface Attract among others, and used a Cloner with different stones.

Switching to Houdini was the turning point of this project. There, I got the collisions between the stones under better control. They are simulated with two separate systems: an RBD simulation, and a system I wrote myself in VEX, in the pre-solver of the RBD solver. That way, the stones react to each other as they move.

In Houdini, I set up the rig and the geometry of the snake. I then scattered the rocks over it procedurally with my own VEX code. In the end, I lit the snake in Houdini and rendered it with Octane. I had already rendered the first phase in Cinema 4D with Octane as well.

Wireframe of the rock snake in Houdini, with the node network that imports and merges the model. Rock snake render.

A tail, and a pose like Kaa

At first the snake had no tail at all. But I wanted it to lie coiled up, like Kaa in Disney’s classic The Jungle Book. I loved that pose. So it got a tail. After that, I mainly worked on the animation, to get it just right. For the close-ups, I placed a whole set of cameras around the head.

In the video, the snake also breathes fire and smoke. I first tested that fire with a Pyro Emitter in Cinema 4D.

Test in Cinema 4D: a stream of fire from the mouth of the grey snake model, with the Pyro Emitter settings next to it. Rock snake render.
A test with a Pyro Emitter in Cinema 4D: fire from the mouth
A jet of white smoke from a Pyro simulation in Houdini, in the viewport with a grid: test for the rock snake’s fire. Rock snake render.
Pyro in Houdini: the first test with smoke
Grey smoke rising as a column, Pyro simulation in Houdini in the viewport with a grid: test for the rock snake. Rock snake render.
The smoke rises as a column
An orange fireball with a trail of smoke, Pyro simulation in Houdini in the viewport with a grid: test for the fire the rock snake breathes. Rock snake render.
From smoke to fire, in the Houdini viewport
The rock snake breathes fire, with glowing blue eyes. The first frame of an animation in Cinema 4D, rendered with Octane. Rock snake render.

An ecosystem on its skin

Beneath the rocks, its skin is built up like an ecosystem: a layer of moss, with the stones on top.

Overview of the rock snake with a moss skin: front, side, back, from above, from below and the UV islands of all tiles, made in Houdini. Rock snake render.
The moss skin from every side, with the UV islands of all tiles at the bottom right.

The biggest challenge

Distributing all those thousands of stones so that the shape of the snake stays smooth. And giving the lighting in the dark exactly that menacing, cinematic edge.

To keep the snake’s shape smooth despite all those thousands of loose stones, I built the base from a clean underlying curve rig and smooth geometry in Houdini. The VEX code does the clever calculations behind the scenes: with it, I very precisely control the distribution, rotation (orientation) and scale of each individual stone relative to the surface normals. Thanks to these custom VEX functions, all those thousands of stones fall neatly into the curves of the body, so the snake keeps its organic, flowing line.

Next project: The glowing stag →

E-Line Vision
Bringing vision to light.