Metaballs

Version 18 of 21

Stash 4D fractal blob.

TBL, The Party 1997 · 1997

This version

Our interpretation: a quaternion Julia set (4D fractal) as a 3D slice, with a slowly drifting parameter so the shape pulses and melts. Grey metallic, with a mostly neutral environment map and Phong highlight.

How this version works

This interpretation uses up to ten quaternion Julia iterations to estimate a fractal distance, with both its parameter and fourth-dimensional slice changing over time. A trigonometric cutting field removes additional regions from the fractal. At render scale 0.6, an orbiting camera raymarches the result and shades it with a near-neutral procedural environment, a bright reflection band, a specular highlight and a Fresnel term.

The trick in this version

Quaternion arithmetic supplies a four-dimensional fractal while the shader renders only a three-dimensional slice. The metallic environment is calculated from the reflected ray direction rather than obtained through scene reflection tracing.

Historical context · GPU

  1. 2002–07 · GPU vendors · GPU Gems 3

    Programmable GPU

    Pixel shaders evaluate the field per pixel. GPU Gems 3 (2007) shows marching cubes in geometry shaders and point-based metaballs on the GPU.

  2. ~2008 · Iñigo Quilez

    SDF & smooth minimum

    Iñigo Quilez popularises raymarching signed distance fields and smin(): metaball-like blending in a single line of code.

  3. 2011 · CNCD & Fairlight

    Numb Res

    CNCD & Fairlight release Numb Res at The Gathering 2011 (2nd place). A realtime SPH fluid of half a million particles on the GPU: blobs that flow, splash and are viscous, in grainy black and white.

Platform
TBL, The Party 1997
Era
GPU
Rendered on
GPU
Tags
4D · fractal · tribute
Sources
SDF & smooth minimum (~2008)Numb Res (2011)