Grass swaying simulation with respect to wind force plays an important role in the outdoor scene design of video games and animations. However, the complex and dynamic interactions between grass and wind largely hinder the existing approaches from generating physically plausible simulation in real-time performance. Therefore, common approaches compromise by either rendering still meadow or simply adopting a procedural method for simulating the grass motion. In this work, we present a simple yet effective grass model that enables the real-time simulation of grass swaying mimicking real-world grass motions under dynamic wind force. We characterize each individual grass using a simple polyline model with four vertices derived from the control knots of a cubic Bezier curve describing the real grass shape. The grass dynamics is modeled by applying a combination of swinging, bending and twisting motions to the polyline model in response to the input wind force. The deformed grass model is then passed to the shader pipeline to synthesize grass blades for the rendering. Experimental results show that our system not only achieves real-time performance in simulation and rendering, but also scales well to large grass field such as a meadow.
This is a preview of subscription content, log in to check access.
Buy single article
Instant unlimited access to the full article PDF.
Price includes VAT for USA
Subscribe to journal
Immediate online access to all issues from 2019. Subscription will auto renew annually.
This is the net price. Taxes to be calculated in checkout.
Akagi, Y., Kitajima, K.: A study on the animations of swaying and breaking trees based on a particle-based simulation. J. WSCG 20(1), 21–28 (2012)
Bakay, B., Lalonde, P., Heidrich, W.: Real-time animated grass. In: Eurographics 2002. Eurographics (2002)
Belyaev, S., Laevsky, I., Chukanov, V.: Real-time animation, collision and rendering of grassland. In: Proceedings of GraphiCon2011, pp. 1–4 (2011)
Bergou, M., Wardetzky, M., Robinson, S., Audoly, B., Grinspun, E.: Discrete elastic rods. ACM Trans. Graph. (TOG) 27(3), 63:1–63:12 (2008)
Bertails, F.: Linear time super-helices. Comput. Graph. Forum 28(2), 417–426 (2009)
Bridson, R.: Fluid Simulation for Computer Graphics. CRC Press, Boca Raton (2008)
Fan, Z., Li, H., Hillesland, K., Sheng, B.: Simulation and rendering for millions of grass blades. In: Proceedings of the 19th symposium on interactive 3D graphics and games, pp. 55–60. ACM (2015)
Foster, N., Metaxas, D.: Realistic animation of liquids. Graph. Models Image Process. 58(5), 471–483 (1996)
Gingold, R.A., Monaghan, J.J.: Smoothed particle hydrodynamics: theory and application to non-spherical stars. Mon. Not. R. Astron. Soc. 181(3), 375–389 (1977)
Harlow, F.H., Welch, J.E., et al.: Numerical calculation of time-dependent viscous incompressible flow of fluid with free surface. Phys. Fluids 8(12), 2182–2189 (1965)
Harris, M.: Fast fluid dynamics simulation on the gpu. GPU Gems 1, 637–665 (2004)
Jens, O., Salama, C.R., Kolb, A.: Gpu-based responsive grass. J. WSCG 17(1–3), 65–72 (2009)
Lu, S., Guo, X., Zhao, C., Li, C.: Physical model for interactive deformation of 3d plant. Int. J. Virtual Real. 10(2), 33–38 (2011)
Lucy, L.B.: A numerical approach to the testing of the fission hypothesis. Astron. J. 82, 1013–1024 (1977)
Pelzer, K.: Rendering countless blades of waving grass. GPU Gems 1, 107–121 (2004)
Perbet, F., Cani, M.P.: Animating prairies in real-time. In: Proceedings of the 2001 symposium on Interactive 3D graphics, pp. 103–110. ACM (2001)
Pirk, S., Niese, T., Hädrich, T., Benes, B., Deussen, O.: Windy trees: computing stress response for developmental tree models. ACM Trans. Graph. 33(6), 204:1–204:11 (2014)
Pirk, S., Stava, O., Kratt, J., Massih Said, M.A., Neubert, B., Mech, R., Benes, B., Deussen, O.: Plastic trees: interactive self-adapting botanical tree models. ACM Trans. Graph. 31(4), 50:1–50:10 (2012)
Qiu, H., Chen, L., Chen, J.X., Liu, Y.: Dynamic simulation of grass field swaying in wind. J. Softw. 7(2), 431–439 (2012)
Qiu, H., Chen, L.T., Qiu, G.P.: A novel approach to simulate the interaction between grass and dynamic objects. WSEAS Trans. Comput. 12(7), 277–287 (2013)
Reeves, W.T., Blau, R.: Approximate and probabilistic algorithms for shading and rendering structured particle systems. ACM Siggraph Comput. Graph. 19(3), 313–322 (1985)
Selino, A., Jones, M.: Large and small eddies matter: animating trees in wind using coarse fluid simulation and synthetic turbulence. Comput. Graph. Forum 32(1), 75–84 (2013)
Stam, J.: Stochastic dynamics: Simulating the effects of turbulence on flexible structures. Comput. Graph. Forum 16(s3), C159–C164 (1997)
Stam, J.: Stable fluids. In: Proceedings of the 26th annual conference on computer graphics and interactive techniques, pp. 121–128. ACM Press (1999)
Stam, J.: Real-time fluid dynamics for games. In: Proceedings of the game developer conference, vol. 4, pp. 76–92. UBM Tech (2003)
Wang, C., Wang, Z., Zhou, Q., Song, C., Guan, Y., Peng, Q.: Dynamic modeling and rendering of grass wagging in wind. Comput. Anim. Virtual Worlds 16(3–4), 377–389 (2005)
Ward, K., Bertails, F., Kim, T.Y., Marschner, S.R., Cani, M.P., Lin, M.C.: A survey on hair modeling: styling, simulation, and rendering. IEEE Trans. Visualiz. Comput. Graph. 13(2), 213–234 (2007)
Wilkinson, J.H.: The algebraic eigenvalue problem, vol. 87. Clarendon Press, Oxford (1965)
Zhao, X., Li, F., Zhan, S.: Real-time animating and rendering of large scale grass scenery on gpu. In: International conference on information technology and computer science, ITCS 2009, vol. 1, pp. 601–604. IEEE (2009)
Zhao, Y., Barbič, J.: Interactive authoring of simulation-ready plants. ACM Trans. Graph. (TOG) 32(4), 84:1–84:12 (2013)
We are grateful to the anonymous reviewers for their comments, suggestions, and additional references. The project was supported in part by the Ministry of Science and Technology (MOST-102-2221-E-007-055-MY3 and MOST-103-2221-E-007-065-MY3) and the Ministry of Economic Affairs (MOEA-105-EC-17-A-24-1177), Taiwan.
About this article
Cite this article
Lee, R., Lo, Y., Chu, H. et al. A simulation on grass swaying with dynamic wind force. Vis Comput 32, 891–900 (2016). https://doi.org/10.1007/s00371-016-1263-7
- Grass swaying
- Real time
- Grid-based fluid dynamics