ABSTRACT
We present a novel fluid control method that is capable of driving particle-based fluid simulation to match a rapidly changing target while keeping natural fluid-like motion. To achieve the desired behavior, we first generate control particles by sampling the target shape and then apply a non-linear constraint to each control particle, with its neighboring fluid particles keeping a constant fluid density within its influence region. This density constraint is highly in line with the incompressible nature of the fluid, which can drive the fluid to match the target shape in a natural way. In addition, to match a fast moving or deforming target, we add an adaptive spring for each fluid particle in the control region, connecting with its nearest control particle. The spring constraint takes effect only when the fluid particle is far from its corresponding control particle to avoid introducing artificial viscosity. Therefore, the fluid particles are well controlled even if the target shape changes rapidly. Furthermore, we integrate a velocity constraint to adjust the stiffness of the controlled fluid. All these three constraints are solved under position-based framework which enables our simulation fast, robust and well-suitable for interactive applications. We demonstrate the efficiency and effectiveness of our method in various scenarios in real time.
Supplemental Material
- Adams, B., Pauly, M., Keiser, R., and Guibas, L. J. 2007. Adaptively sampled particle fluids. In ACM Transactions on Graphics (TOG), vol. 26, ACM, 48. Google ScholarDigital Library
- Becker, M., and Teschner, M. 2007. Weakly compressible sph for free surface flows. In Proceedings of the 2007 ACM SIGGRAPH/Eurographics symposium on Computer animation, Eurographics Association, 209--217. Google ScholarDigital Library
- Dionne, O., and de Lasa, M. 2013. Geodesic voxel binding for production character meshes. In Proceedings of the 12th ACM SIGGRAPH/Eurographics Symposium on Computer Animation, ACM, 173--180. Google ScholarDigital Library
- Dong, Z., Chen, W., Bao, H., Zhang, H., and Peng, Q. 2004. Real-time voxelization for complex polygonal models. In Computer Graphics and Applications, 2004. PG 2004. Proceedings. 12th Pacific Conference on, IEEE, 43--50. Google ScholarDigital Library
- Fattal, R., and Lischinski, D. 2004. Target-driven smoke animation. In ACM Transactions on Graphics (TOG), vol. 23, ACM, 441--448. Google ScholarDigital Library
- Foster, N., and Fedkiw, R. 2001. Practical animation of liquids. In Proceedings of the 28th annual conference on Computer graphics and interactive techniques, ACM, 23--30. Google ScholarDigital Library
- Foster, N., and Metaxas, D. 1997. Controlling fluid animation. In Computer Graphics International, 1997. Proceedings, IEEE, 178--188. Google ScholarDigital Library
- Green, S. 2008. Cuda particles. nVidia Whitepaper 2, 3.2, 1.Google Scholar
- Hong, W., House, D. H., and Keyser, J. 2008. Adaptive particles for incompressible fluid simulation. The Visual Computer 24, 7-9, 535--543. Google ScholarDigital Library
- Huang, R., Melek, Z., and Keyser, J. 2011. Preview-based sampling for controlling gaseous simulations. In Proceedings of the 2011 ACM SIGGRAPH/Eurographics Symposium on Computer Animation, ACM, 177--186. Google ScholarDigital Library
- Jakob, W., 2010. Mitsuba renderer. http://www.mitsubarenderer.org.Google Scholar
- Kruger, J., and Westermann, R. 2003. Acceleration techniques for gpu-based volume rendering. In Proceedings of the 14th IEEE Visualization 2003 (VIS'03), IEEE Computer Society, 38. Google ScholarDigital Library
- Kry, P. G., James, D. L., and Pai, D. K. 2002. Eigenskin: real time large deformation character skinning in hardware. In Proceedings of the 2002 ACM SIGGRAPH/Eurographics symposium on Computer animation, ACM, 153--159. Google ScholarDigital Library
- Lewis, J. P., Cordner, M., and Fong, N. 2000. Pose space deformation: a unified approach to shape interpolation and skeleton-driven deformation. In Proceedings of the 27th annual conference on Computer graphics and interactive techniques, ACM Press/Addison-Wesley Publishing Co., 165--172. Google ScholarDigital Library
- Macklin, M., and Müller, M. 2013. Position based fluids. ACM Transactions on Graphics (TOG) 32, 4, 104. Google ScholarDigital Library
- Macklin, M., Müller, M., Chentanez, N., and Kim, T.-Y. 2014. Unified particle physics for real-time applications. ACM Transactions on Graphics (TOG) 33, 4, 153. Google ScholarDigital Library
- McNamara, A., Treuille, A., Popović, Z., and Stam, J. 2004. Fluid control using the adjoint method. In ACM Transactions On Graphics (TOG), vol. 23, ACM, 449--456. Google ScholarDigital Library
- Monaghan, J. J. 1992. Smoothed particle hydrodynamics. Annual review of astronomy and astrophysics 30, 543--574.Google Scholar
- Müller, M., Charypar, D., and Gross, M. 2003. Particle-based fluid simulation for interactive applications. In Proceedings of the 2003 ACM SIGGRAPH/Eurographics symposium on Computer animation, Eurographics Association, 154--159. Google ScholarDigital Library
- Müller, M., Heidelberger, B., Teschner, M., and Gross, M. 2005. Meshless deformations based on shape matching. In ACM Transactions on Graphics (TOG), vol. 24, ACM, 471--478. Google ScholarDigital Library
- Müller, M., Heidelberger, B., Hennix, M., and Ratcliff, J. 2007. Position based dynamics. Journal of Visual Communication and Image Representation 18, 2, 109--118. Google ScholarDigital Library
- Nielsen, M. B., and Christensen, B. B. 2010. Improved variational guiding of smoke animations. In Computer Graphics Forum, vol. 29, Wiley Online Library, 705--712.Google Scholar
- Nielsen, M. B., Christensen, B. B., Zafar, N. B., Roble, D., and Museth, K. 2009. Guiding of smoke animations through variational coupling of simulations at different resolutions. In Proceedings of the 2009 ACM SIGGRAPH/Eurographics Symposium on Computer Animation, ACM, 217--226. Google ScholarDigital Library
- Orthmann, J., and Kolb, A. 2012. Temporal blending for adaptive sph. In Computer Graphics Forum, vol. 31, Wiley Online Library, 2436--2449. Google ScholarDigital Library
- Pan, Z., Huang, J., Tong, Y., Zheng, C., and Bao, H. 2013. Interactive localized liquid motion editing. ACM Transactions on Graphics (TOG) 32, 6, 184. Google ScholarDigital Library
- Pighin, F., Cohen, J. M., and Shah, M. 2004. Modeling and editing flows using advected radial basis functions. In Proceedings of the 2004 ACM SIGGRAPH/Eurographics symposium on Computer animation, Eurographics Association, 223--232. Google ScholarDigital Library
- Rasmussen, N., Enright, D., Nguyen, D., Marino, S., Sumner, N., Geiger, W., Hoon, S., and Fedkiw, R. 2004. Directable photorealistic liquids. In Proceedings of the 2004 ACM SIGGRAPH/Eurographics symposium on Computer animation, Eurographics Association, 193--202. Google ScholarDigital Library
- Raveendran, K., Thuerey, N., Wojtan, C., and Turk, G. 2012. Controlling liquids using meshes. In Proceedings of the ACM SIGGRAPH/Eurographics Symposium on Computer Animation, Eurographics Association, 255--264. Google ScholarDigital Library
- Schwarz, M., and Seidel, H.-P. 2010. Fast parallel surface and solid voxelization on gpus. ACM Transactions on Graphics (TOG) 29, 6, 179. Google ScholarDigital Library
- Shi, L., and Yu, Y. 2005. Taming liquids for rapidly changing targets. In Proceedings of the 2005 ACM SIGGRAPH/Eurographics symposium on Computer animation, ACM, 229--236. Google ScholarDigital Library
- Solenthaler, B., and Pajarola, R. 2009. Predictive-corrective incompressible sph. In ACM transactions on graphics (TOG), vol. 28, ACM, 40. Google ScholarDigital Library
- Thürey, N., Keiser, R., Pauly, M., and Rüde, U. 2009. Detail-preserving fluid control. Graphical Models 71, 6, 221--228. Google ScholarDigital Library
- Treuille, A., McNamara, A., Popović, Z., and Stam, J. 2003. Keyframe control of smoke simulations. In ACM Transactions on Graphics (TOG), vol. 22, ACM, 716--723. Google ScholarDigital Library
Index Terms
- Position-based fluid control
Recommendations
Accelerated Viscous Fluid Simulation Using Position-Based Constraints
CADGRAPHICS '13: Proceedings of the 2013 International Conference on Computer-Aided Design and Computer GraphicsThe most prevalent approach to simulating viscous fluids is based on the Navier-Stokes equations, and has extensively been adopted in computer graphics for the past two decades. When employing an explicit viscosity integration, however, time step size ...
Simulation of fluid mixing with interface control
SCA '15: Proceedings of the 14th ACM SIGGRAPH / Eurographics Symposium on Computer AnimationThe simulation of fluid mixing under the Eulerian framework often suffers from numerical dissipation issues. In this paper, we present a mass-preserving convection scheme that offers direct control on the shape of the interface. The key component of ...
SPH fluid control with self-adaptive turbulent details
Smoothed particle hydrodynamics SPH-based fluid control is often involved in fluid animation. Because most of the existing SPH fluid control methods employ the strategy of control force to control fluid particles, the artificial viscosity introduced by ...
Comments