Skip to main content
All projects

Stochastic Volume Rendering of Multi‐Phase SPH Data

We render large, unstructured SPH simulations directly, without first converting the particle data into a volume. Particle sampling guided by the view and local data complexity makes ray marching faster, allowing the method to scale from interactive previews to more accurate renderings with multi-phase and single-scattering effects.

Three renderings of a turbine flow showing surface shading, particle sampling, and single scattering
We visualize an SPH dataset of fluid rotating a turbine using volume rendering with surface shading (left). The dataset contains 86 million particles that are evaluated on the fly without significant preprocessing. Stochastic particle sampling substantially improves render times (center), allowing us to include single scattering during volume rendering (right).

This project started with Max Piochowiak’s master’s thesis, which I supervised.

Max Piochowiak, Tobias Rapp, Carsten Dachsbacher

Published in Computer Graphics Forum, 2020.

Paper (Open Access) | Video | Code

Abstract

In this paper, we present a novel method for the direct volume rendering of large smoothed-particle hydrodynamics (SPH) simulation data without transforming the unstructured data to an intermediate representation. By directly visualizing the unstructured particle data, we avoid long preprocessing times and large storage requirements. This enables the visualization of large, time-dependent, and multivariate data both as a post-process and in situ. To address the computational complexity, we introduce stochastic volume rendering that considers only a subset of particles at each step during ray marching. The sample probabilities for selecting this subset at each step are thereby determined both in a view-dependent manner and based on the spatial complexity of the data. Our stochastic volume rendering enables us to scale continuously from a fast, interactive preview to a more accurate volume rendering at higher cost. Lastly, we discuss the visualization of free-surface and multi-phase flows by including a multi-material model with volumetric and surface shading into the stochastic volume rendering.