Premium
Synthesizing Large‐Scale Fluid Simulations with Surface and Wave Foams via Sharp Wave Pattern and Cloudy Foam
Author(s) -
Kim JongHyun,
Lee Jung
Publication year - 2020
Publication title -
computer animation and virtual worlds
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.225
H-Index - 49
eISSN - 1546-427X
pISSN - 1546-4261
DOI - 10.1002/cav.1984
Subject(s) - smoothed particle hydrodynamics , materials science , curvature , kernel (algebra) , particle (ecology) , solver , computer science , porosity , mechanics , physics , composite material , geology , mathematics , geometry , oceanography , combinatorics , programming language
This paper presents a unified framework to simulate surface and wave foams efficiently and realistically. The framework is designed first to project thee‐dimensional (3D) water particles from an underlying water solver onto two‐dimensional screen space to reduce the computational complexity of determining where foam particles should be generated. Because foam effects are often created primarily in fast and complicated water flows, we analyze the acceleration and curvature values to identify the areas exhibiting such flow patterns. Foam particles are emitted from the identified areas in 3D space, and each foam particle is advected according to its type, which is classified on the basis of velocity, thereby capturing the essential characteristics of foam wave motions. We improve the realism of the resulting foam by classifying it into two types: surface foam and wave foam. Wave foam is characterized by the sharp wave patterns of torrential flows, and surface foam is characterized by a cloudy foam shape, even in water with reduced motion. Based on these features, we propose a technique to correct the velocity and position of a foam particle. In addition, we propose a kernel technique using the screen space density to reduce redundant foam particles efficiently, resulting in improved overall memory efficiency without loss of visual detail in terms of foam effects. Experiments convincingly demonstrate that the proposed approach is efficient and easy to use while delivering high‐quality results.