Skip to main content
Log in

Adaptive particle shape setting and normal calculation methods in fluid rendering

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

In this paper, we present an adaptive particle shape setting method in Lagrangian-approach based screen space splatting algorithm in real-time fluid rendering. The particle radius will be adjusted according to its Weber number and local density in the rendering process so that a large radius of peaceful fluid particle can help to eliminate a bumpy surface artifact, and a small radius can prevent the obviously spherical shape of particles in splash. The shape of fluid particle will be controlled adaptively on the basis of Weber number too, so that fast moving particles could have an ellipsoidal appearance which describes the splash particle shape in turbulent flow persuasively. We also propose an adaptive normal calculation method to avoid the numerical calculation errors in the normal computation process. The sampling interval will be set in accordance with the viewing distance from camera to the fluid so that fuzzy edges or double image effect in a fixed sampling interval normal computation process could be prevented. Both of the two approaches introduced in this paper take only small amount of computing time and will have little impact on the time consuming property of a real-time fluid rendering application.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7

Similar content being viewed by others

References

  1. Bagar F, Scherzer D, Wimmer M (2010) A layered particle-based fluid model for real-time rendering of water. Comput Graph Forum 29(4):1383–1389

    Article  Google Scholar 

  2. Bridson R (2008) Fluid simulation for computer graphics. A K Peters

  3. Cords H, Staadt O (2008) Instant liquids. In: Poster proceedings of ACM Siggraph/Eurographics symposium on computer animation

  4. Cristini V, Guido S, Alfani A, Bławzdziewicz J, Loewenberg M (2003) Drop breakup and fragment size distribution in shear flow. J Rheol 47(5):1283–1298

    Article  Google Scholar 

  5. Desbrun M, Gascuel M-P (1996) Smoothed particles: a new paradigm for animating highly deformable bodies. In: Boulic R, Hegron G, (eds) Eurographics Workshop on Computer Animation and Simulation (EGCAS). Springer, pp 61–76

  6. Elia B, Van Puyvelde P, Moldenaers P (2010) Single droplet break-up in controlled mixed flows. ACS Appl Mater Interf 2(7):2140–2146

    Article  Google Scholar 

  7. Mihalef V, Metaxas D, Sussman M (2009) Simulation of two-phase flow with sub-scale droplet and bubble effects. Comput Graph Forum 28(2):229–238

    Article  Google Scholar 

  8. Müller M, Charypar D, Gross M (2003) Particle-based fluid simulation for interactive applications. In: SCA ’03: proceedings of the 2003 ACM SIGGRAPH/Eurographics symposium on computer animation. New York, NY, USA, pp 154–159

  9. Müller M, Schirm S, Duthaler S (2008) Screen space meshes. In: SCA ’07: proceedings of the 2007 ACM SIGGRAPH/Eurographics symposium on computer animation, 2007. Eurographics Association, pp 9–15

  10. Rosado G, Rainbow Studios (2007) Motion blur as a post-processing effect. GPU Gems 3, Chapter 27, pp 575–581

  11. Van Der Laan WJ, Green S, Sainz M 2009 Screen space fluid rendering with curvature flow. In: Proceedings of I3D 2009: the 2009 ACM SIGGRAPH symposium on interactive 3D graphics and games. Boston, MA, USA, pp 91–98

  12. Weast R, Lide D, Astle M, Beyerl W (1990) CRC handbook of chemistry and physics, 70th edn. CRC Press

  13. Williams BW (2008) Fluid surface reconstruction from particles. Master’s thesis, The University Of British Columbia

  14. Xu T-C, Wu E-H, Chen M, Xie M (2011) Real-time motion effect enhancement based on fluid dynamics in figure animation. In: Proceedings of VRCAI 2011: ACM SIGGRAPH conference on virtual-reality continuum and its applications to industry, pp 307–314

  15. Zhang Y, Solenthaler B, Pajarola R (2008) Adaptive sampling and rendering of fluids on the gpu. In: Proc. of symposium on point-based graphics, pp 137–146

Download references

Acknowledgements

This research is supported by NSFC (No. 60825203, U0935004, 61170104) and Beijing Municipal Natural Science Foundation (4112008).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Pengcheng Wang.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Wang, P., Kong, D., Zhang, Y. et al. Adaptive particle shape setting and normal calculation methods in fluid rendering. Multimed Tools Appl 71, 517–532 (2014). https://doi.org/10.1007/s11042-013-1525-6

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-013-1525-6

Keywords

Navigation