The application and algorithm of fabric simulation in game industry
Abstract
fabric simulation has emerged as a crucial aspect of computer graphics, particularly in applications such as film production, video games, and design. This paper provides a comprehensive review of fabric simulation methodologies, implementation techniques, and its diverse applications within the game industry. The fabric simulation algorithms are broken down into Fabric Modeling, Dynamic Simulation, and Collision Handling. The three common modeling strategies of Elasticity-Based Models, Particle-Based Models, and Mass-Spring Damper Models, are discussed in detail. Additionally, dynamic simulation strategies such as Position-Based Dynamics (PBD) and Extended Position-Based Dynamics (XPBD) are explored for their role in real-time simulations, particularly in the game industry. The paper also delves into collision handling algorithms, exploring the strategies for accurate collision detection and response. The application of fabric simulation in the game industry is highlighted, showcasing how it enhances realism and immersion by simulating fabric movement and interactions with the environment. The paper introduced various fabric simulation tools and systems within popular game engines like Unity 3D and Unreal Engine 5. Furthermore, optimization strategies, such as view-dependent adaptive simulation, are discussed to improve performance providing insight for future work.
References
- Stuyck, Tuur. Cloth Simulation for Computer Graphics. Switzerland, Springer International Publishing, 2022.
- Wallner, Guenter. “Simulating, animating and rendering clothes.” ACM Transactions on Graphics 26.2 : 1-23, 2007
- Breen, David E., et al. "A physically-based particle model of woven cloth." Computer Graphics , 26.2 : 365-372,1992.
- Müller, Matthias, et al. "Position Based Dynamics." Proceedings of the 2006 ACM Eurographics Symposium on Computer Animation. Eurographics Association, 2006.
- Wang, Meiliang, et al. “Study on Improving Three-Dimensional Dynamic Simulation Model and Equation of Flexible Fabric.” Advances in Mechanical Engineering (Print), vol. 11, no. 6, SAGE Publishing, June 2019, p. 168781401985284..
- Tomas Akenine-Moller, et al. Real-Time Rendering, Fourth Edition. CRC Press, 2018.
- Bender, Jan, et al. Position-Based Simulation Methods in Computer Graphics. Jan. 2015, https://doi.org/10.2312/egt.20151045. Accessed 2 Apr. 2024.
- Macklin, Miles, et al. "XPBD: Position-Based Simulation of Compliant Constrained Dynamics." ACM Transactions on Graphics, https://doi.org/10.1145/2994258.2994272.
- Zhang D. 2001. Efficient algorithms for cloth simulation. Ph.D. Dissertation. Hong Kong University of Science and Technology (People's Republic of China). Advisor(s) Matthew M. Yuen. Order Number: AAI3018351.
- Va, Hongly, et al. “Real-Time Cloth Simulation Using Compute Shader in Unity3D for AR/vr Contents.” Applied Sciences, vol. 11, no. 17, p. 8255, Sept. 2021.
- Koh, W., et al. View-Dependent Adaptive Cloth Simulation. , pp. 159–66,July 2015.
- Bender, Jan, et al. “Position-Based Simulation of Continuous Materials.” Computers & Graphics, vol. 44, pp. 1–10, Nov. 2014.
- Bridson, R., et al. “Simulation of Clothing with Folds and Wrinkles.” ACM SIGGRAPH 2005.
- Bridson, Robert, et al. “Robust Treatment of Collisions, Contact and Friction for Cloth Animation.” ACM Transactions on Graphics, vol. 21, no. 3, pp. 594–603, July 2002.
- Min Sang Kim, et al. Real-Time Collision Response between Cloth and Sphere Object in Unity. no. 6, pp. 53–62, Jan. 2018.
- Kim, Minsang, et al. “Parallel Cloth Simulation with Effective Collision Detection for Interactive AR Application.” Multimedia Tools and Applications, vol. 78, no. 4, Springer Science+Business Media, pp. 4851–68, May 2018.
- Li, Cheng, et al. “P-Cloth: Interactive Complex Cloth Simulation on Multi-GPU Systems Using Dynamic Matrix Assembly and Pipelined Implicit Integrators.” ACM Transactions on Graphics, vol. 39, no. 6, Association for Computing Machinery, pp. 1–15, Nov. 2020.
- Liu, Tiantian, et al. “Fast Simulation of Mass-Spring Systems.” ACM Transactions on Graphics, vol. 32, no. 6, pp. 1–7, Nov. 2013.
- Tang, Min, et al. “A GPU-Based Streaming Algorithm for High-Resolution Cloth Simulation.” Computer Graphics Forum, vol. 32, no. 7, pp. 21–30, Oct. 2013.
- Fei, Yun (Raymond), et al. “A Multi-Scale Model for Simulating Liquid-Fabric Interactions.” ACM Transactions on Graphics, vol. 37, no. 4, pp. 1–16, Aug. 2018.