Where Fluid Dynamics Meets Visual Rendering

fluid dynamics visual rendering scientific visualization

Fluid simulation and visual rendering appear to be separate disciplines. One is physics. One is art. At the primitive level they share fundamental operations — understanding this reveals what both are really doing.

Shared Primitives

Scalar Field To Color

Fluidmapping pressure or vorticity values to a display color
Renderingmapping material properties or light intensity to pixel color

Insight: both are transfer functions — a number becomes a color

Volume Rendering

Fluidrendering 3D smoke, fire, or fluid density as a visible volume
Renderingrendering clouds, fog, subsurface scattering

Insight: same ray-marching algorithm, same opacity accumulation math

Gaussian Blur

Fluidsmoothing velocity fields to reduce numerical noise
Renderingdepth of field, bloom, atmospheric haze

Insight: same convolution, different physical meaning

The Connection

A fluid simulation produces numbers at every point in space. A renderer turns numbers at every point in space into visible color. They are consecutive stages of the same pipeline.

Example

A vorticity field from a propeller simulation produces a 3D scalar field. Map that field through a photograph used as a color palette. Wrap the result around a 3D surface. Render it in IMAX resolution. The physics, the photograph, and the cinema format are independent. They share only the data contract.

Glossary Terms

scalar field transfer function volume rendering vorticity