journal article·2024-01-08Open access

CWD-Sim: Real-Time Simulation on Grass Swaying with Controllable Wind Dynamics

Namil Choi, Mankyu Sung

Applied Sciences· Volume 14· Issue 2

Abstract

In this paper, we propose algorithms for the real-time simulation of grass deformation and wind flow in complex scenes based on the Navier–Stokes fluid. Grasses play an important role in natural scenes. However, accurately simulating their deformation due to external forces such as the wind can be computationally challenging. We propose algorithms that minimize computational cost while producing visually appealing results. We do this by grouping the grass blades and then applying the same force to the group to reduce the computation time. We also use a quadratic equation to deform the blades affected by the wind force rather than using a complicated spline technique. Wind force is fully modeled by the Navier–Stokes fluid equation, and the blades react to this force as if they were being swept by the wind. We also propose the AGC interface (Arrow-Guided wind flow Control), which allows the direction and intensity of the wind to be manipulated using an arrow-shaped interface. Through this interface, users can have grass sway in response to user-defined wind forces in a real-time rate. We verified that the proposed algorithms can simulate 900% more grass blades than the compared paper’s algorithms.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Computer Graphics and Visualization Techniques · 3D Shape Modeling and Analysis · Human Motion and Animation

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computer Engineering, Keimyung University, Daegu 42601, Republic of Korea

Funding

National Research Foundation of Korea (NRF) grant funded by the Korea government (MSIT) · Cultural Heritage Administration, National Research Institute of Cultural Heritage

References (20)

Show source-provided references
1. Stam, J. (1999, January 8–13). Stable fluids. Proceedings of the 26th Annual Conference on Computer Graphics and Interactive Techniques, Los Angeles, CA, USA.10.1145/311535.311548 ↗
2. Harris, M.J. (2023, April 12). Fast Fluid Dynamics Simulation on the GPU. GPU Gems. Available online: https://developer.nvidia.com/sites/all/modules/custom/gpugems/books/GPUGems/gpugems_ch38.html.
3. Dobryakov, P. (2023, April 12). WebGL Fluid Simulation. Available online: https://github.com/PavelDoGreat/WebGL-Fluid-Simulation.
4. haxiomic (2023, April 12). Cross-Platform GPU Fluid Simulation. Available online: https://github.com/haxiomic/GPU-Fluid-Experiments.
5. angeluriot (2023, April 12). 2D Fluid Simulation. Available online: https://github.com/angeluriot/2D_fluid_simulation.
6. Lo, Y., Chu, H.K., Lee, R.R., and Chang, C.F. (2016, January 27–28). A simulation on grass swaying with dynamic wind force. Proceedings of the 20th ACM SIGGRAPH Symposium on Interactive 3D Graphics and Games, Redmond, DC, USA.10.1145/2856400.2876008 ↗
7. Rendering Grass in Real Time with Dynamic Lighting10.1109/MCG.2009.14 ↗
8. Deussen, O., Hanrahan, P., Lintermann, B., Měch, R., Pharr, M., and Prusinkiewicz, P. (1998, January 19–24). Realistic modeling and rendering of plant ecosystems. Proceedings of the 25th Annual Conference on Computer Graphics and Interactive Techniques, Orlando, FL, USA.10.1145/280814.280898 ↗
9. Habel, R. (2010). Real-Time Rendering and Animation of Vegetation. [Ph.D. Thesis, Technischen Universität Wien].
10. Chen, K., and Johan, H. (March, January 27). Animating 3D vegetation in real-time using a 2D approach. Proceedings of the 19th Symposium on Interactive 3D Graphics and Games, San Francisco, CA, USA.
11. Qiu, H., and Chen, L. (2009, January 11–13). Rendering System for Large-Scale Grass. Proceedings of the 2009 International Conference on Computational Intelligence and Software Engineering, Wuhan, China.10.1109/CISE.2009.5364447 ↗
12. Rendering grass blowing in the wind with global illumination10.1016/S1007-0214(10)70042-0 ↗
13. Fan, Z., Li, H., Hillesland, K., and Sheng, B. (March, January 27). Simulation and Rendering for Millions of Grass Blades. Proceedings of the 19th Symposium on Interactive 3D Graphics and Games, i3D ’15, San Francisco, CA, USA.
14. Wang, S., Ali, S.G., Lu, P., Li, Z., Yang, P., Sheng, B., and Mao, L. (2020, January 20–23). GPU-based Grass Simulation with Accurate Blade Reconstruction. Proceedings of the Advances in Computer Graphics: 37th Computer Graphics International Conference, CGI 2020, Geneva, Switzerland.10.1007/978-3-030-61864-3_25 ↗
15. Jahrmann, K., and Wimmer, M. (2013). WSCG 2013 Full Paper Proceedings, TU Wien.
16. Bakay, B., Lalonde, P., and Heidrich, W. (2002). Eurographics (Short Presentations), TU Wien.
17. GPU-based responsive grass
18. Belyaev, S.Y., Laevsky, I., and Chukanov, V.V. (2011, January 26–30). Real-Time Animation, Collision and Rendering of Grassland. Proceedings of the GraphiCon2011, Moscow, Russia.
19. JoeyDeVries (2023, April 12). LearnOpenGL-Instancing. Available online: https://github.com/JoeyDeVries/LearnOpenGL/tree/master/src/4.advanced_opengl/10.1.instancing_quads.
20. Dobryakov, P. (2023, April 12). NURBS Demo-Evaluator for Non Uniform Rational B-Splines. Available online: http://nurbscalculator.in.