In this article, an entirely parallel pipeline for creating realistic visualization of particle‐based fluid is presented, which significantly improves surface reconstruction and foam generation performance. Firstly, we develop a spatial hashing grid‐based strategy. Based on this strategy, a novel narrow band surface reconstruction method is presented, which could even discard the detection of surface particles methods to achieve the effect of accurate identification of surface vertices. And a novel narrow band like diffuse particle classification method is proposed, which ensures less memory access and less computation. Furthermore, in order to obtain a best performance, we put forward several parallel schemes to avoid potential race conditions and invalid threads. Experiments are conducted to verify that our developed method and code efficiently improve the particle‐based visualization.
scite is a Brooklyn-based organization that helps researchers better discover and understand research articles through Smart Citations –citations that display the context of the citation and describe whether the article provides supporting or contrasting evidence. scite is used by students and researchers from around the world and is funded in part by the National Science Foundation and the National Institute on Drug Abuse of the National Institutes of Health.