Free Path Sampling in High Resolution Inhomogeneous Participating Media

László Szirmay-Kalos, Balázs Tóth, Milán Magdics
Department of Control Engineering and Information Technology, Technical University of Budapest,
Budapest, Magyar tudósok krt. 2, H-1117, HUNGARY;
szirmay@iit.bme.hu

Abstract:

This paper presents efficient algorithms for free path sampling in heterogeneous participating media defined either by high-resolution voxel arrays or generated procedurally. The method is based on the concept of mixing ``virtual'' material or particles to the medium, augmenting the extinction coefficient to a function for which the free path can be sampled in a straightforward way. The virtual material is selected such that it modifies the volume density but does not alter the radiance. We define the total extinction coefficient of the real and virtual particles by a low-resolution grid of super-voxels that are much larger than the real voxels defining the medium. The computational complexity of the proposed method depends just on the resolution of the super-voxel grid, and does not grow with the resolution above the scale of super-voxels. The method is particularly efficient to render large, low-density, heterogeneous volumes, which should otherwise be defined by enormously high resolution voxel grids, and where the average free path length would cross many voxels.

Keywords:

Participating media, free path sampling, Woodcock tracking, Monte Carlo method, Volumetric global illumination, GPU, CUDA.