Winchenbach, R.Kolb, A.Benes, Bedrich and Hauser, Helwig2020-10-062020-10-0620201467-8659https://doi.org/10.1111/cgf.14090https://diglib.eg.org:443/handle/10.1111/cgf14090In this paper, we present a novel hash map‐based sparse data structure for Smoothed Particle Hydrodynamics, which allows for efficient neighbourhood queries in spatially adaptive simulations as well as direct ray tracing of fluid surfaces. Neighbourhood queries for adaptive simulations are improved by using multiple independent data structures utilizing the same underlying self‐similar particle ordering, to significantly reduce non‐neighbourhood particle accesses. Direct ray tracing is performed using an auxiliary data structure, with constant memory consumption, which allows for efficient traversal of the hash map‐based data structure as well as efficient intersection tests. Overall, our proposed method significantly improves the performance of spatially adaptive fluid simulations and allows for direct ray tracing of the fluid surface with little memory overhead.fluid modellinganimationsurface reconstructionmodellingray tracingrenderingMulti‐Level Memory Structures for Simulating and Rendering Smoothed Particle Hydrodynamics10.1111/cgf.14090527-541